Pipelines from the command line
A job with several specialists in one command: aioum pipeline create builds the agents in
hiring order, publishes the ones that are hired, and creates the project on the lead, with the
budgets you give it. aioum starters --pipelines tells you first what each one needs and what
one run costs at today's prices; a pipeline with a missing part is refused with the list, and one
without a budget with Set the budget you are willing to spend.
What you need
- The CLI, with the stack running: your own runner inside your private node at
AIOUM_AGENTS_URL(http://127.0.0.1:8770/runner, with the node's token), and a planner (your subscriptions on the node, a local Ollama, a key, or a planner listing). AIOUM_OWNER(defaultcli): the agents a pipeline creates are grouped under it.
Steps
-
See the pipelines and what each needs.
npx aioum starters --pipelinesFirst a table, one row per pipeline:
id,group,name,agentsin hiring order (Researcher → Writer),stages,ongoing(yesfor one on a schedule),available,missing(how many required parts are not there),onceUsdc(what one run costs at the live prices of the services it picked) and the tagline. Then, per pipeline,<id>: what it needs, one line per part:research-writing: what it needs ready papers and reference (arXiv, Crossref, PubMed, Wikipedia) · Books, Wikipedia, Arxiv ready page reading · Reader optional web search · list one: aioum sell templates --q web:search (keys APIFY_TOKEN, BRAVE_API_KEY, …) · without it, sources come from the paper indexes and the pages the brief names ready news · Coindesk optional a text judge · list one: aioum sell templates --q judge:text (keys ANTHROPIC_API_KEY, GEMINI_API_KEY, OPENAI_API_KEY) · without it, the lead reviews the draft against the brief itself optional grammar check · list one: aioum sell templates --q text:grammar · without it, the writer proofreads itself ready the workspace on your node (files, a shell, downloads) · ws.list, ws.read, ws.write, ws.run, ws.fetchA
readylisting names the services it picked; areadyconnector names the tools. AMISSINGoroptionallisting says which command lists one and which keys the catalogue's templates for it need; a missing connector saysconnect gmail under Your node; a missing program saysinstall ffmpeg beside your private node; the GPU line of the video, image and training pipelines readsready a GPU for frame analysis and rendering · Apple M4, 32 GB unified memorywhen your node has one, orMISSING … none on this machine; add a compute key (RUNPOD_API_KEY, …) to rent one, or run the node on a machine with a GPU. Without--pipelinesthe command prints the single-agent starters first, then the pipeline table.--jsongives the whole record: every agent with its resolved tools, the stages with their text, every need with the templates that would serve. No record carries a budget. -
Create one, with the budgets:
--budgetis the project's cap, and one--agent-budget key=<usdc>per agent (the keys are in the table:researcher,writer) is that agent's lifetime cap and its cap per run. The brief becomes the project's brief; without--inputthe pipeline's sample brief is used.npx aioum pipeline create research-writing --budget 1 \ --agent-budget researcher=5 --agent-budget writer=10 \ --input "In 300 words: what is known about how honeybee swarms choose a new nest site? Cite two sources."Without
--budgetthe CLI answerspipeline create needs --budget <usdc>, above zero: Set the budget you are willing to spendand sends nothing; without a cap for every agent the runner answers400naming the agent. The runner creates the Researcher, publishes it as a listing at $0.10 a call (on-chain, then it waits for the directory to mark it live, up to a minute), creates the Writer with that listing among its tools, and the project on the Writer. The CLI prints:created pipeline research-writing: Research and writing key id name published hires schedule lead researcher agent_… Researcher #54 · 0.1 USDC/call writer agent_… Writer researcher lead ID proj_… title Research and writing agent ID agent_… status draft brief In 300 words: what is known about how honeybee swarms choose a new nest site? … spent USDC 0 budget USDC 1 stages (3) n title status spentUsdc run links error 1 Sources and notes pending 0 2 Draft pending 0 3 Review and revise pending 0 next: aioum project start proj_… --waitA pipeline on a schedule shows the lead's timer in the
schedulecolumn asevery 60 min (off): it stays off until the pipeline starts. -
Start it and wait, or start it at creation with
--start, which also switches on the lead's schedule.npx aioum project start <project-id> --waitThe stages run on the Writer, each once the stage before it is done (a pipeline's stages name no
after, so each waits for every stage before it);--waitprints the project when it stops, with each stage's status, what it spent, its run and the links it collected.npx aioum run get <run-id>on stage 1's run shows the hire: atoolstep paying Research Writing · researcher, andnpx aioum runs --agent <researcher-id>shows the Researcher's own run, started byservice, with its paper searches and page reads.npx aioum project spend <project-id>adds it up per service. -
Try one that is not ready.
npx aioum pipeline create image-content --budget 3 --agent-budget maker=5 --agent-budget director=5On the local development network the CLI prints one line and exits 1:
error: POST http://127.0.0.1:8770/runner/starters/image-content/create -> 409: Image content cannot be created yet. Missing: image generation, several services to compare: no live listing (256 templates on Earn; keys FAL_KEY, HF_TOKEN, REPLICATE_API_TOKEN); an image judge: no live listing (3 templates on Earn; keys GEMINI_API_KEY, OPENAI_API_KEY, OPENROUTER_API_KEY).On a machine without a GPU the list ends with
a GPU for frame analysis and rendering: none on this machine; add a compute key (RUNPOD_API_KEY, …) to rent one, or run the node on a machine with a GPU.npx aioum sell templates --q image:genlists the templates that would serve;npx aioum sell add --template <name>with the key in the node's environment lists one, and the pipeline is available on the nextstarters --pipelines. -
Change what it made. The agents are ordinary agents:
npx aioum agent update <id>for the instructions, tools or budget,npx aioum agent schedule <id>for the timer,npx aioum project stages <id>for the stages still to run.npx aioum agent unpublish <id>takes a hired agent off the market; the lead then finds it offline and says so in its log.
What you have now
A two-agent network from one command, a project on its lead, and the same records as any agent:
runs, receipts, spend per service. starters --pipelines is the shopping list for the rest:
each missing part names the command that lists it and the key it needs.
Next: Watch the network from the command line — what is up, what ran, what it cost, and one paid call of your own.