Orchestrator Commands (Beta)
This page documents orchestration-related CLI commands.
Environment Variables
HOARD_SERVER_SECRETis required to start the write-enabled server.HOARD_TOKENis required for most CLI calls (scoped token).HOARD_REGISTRATION_TOKENis required forhoard agent registerif not stored in config.
hoard orchestrate init
Initialize orchestration settings and generate a registration token.
hoard orchestrate initPrompts for artifact storage path and retention days.
hoard agent
Register and manage agents.
hoard agent register <name> --type worker --scopes search,get,task.claim --capabilities summarizehoard agent listhoard agent deregister <agent_id>Options:
--typedefaults toworker--scopescomma-separated list--capabilitiescomma-separated list
hoard task
Create and manage tasks.
hoard task create "Write summary" --description "Summarize docs" --capability summarize --priority 3hoard task list --status queuedhoard task poll --limit 5hoard task claim tsk-1234hoard task complete tsk-1234 --summary "Summary complete"hoard artifact
Attach and retrieve artifacts for tasks.
hoard artifact put tsk-1234 output.md --type text --content "Hello"hoard artifact get art-1234 --include-contenthoard artifact list --task tsk-1234hoard artifact list --workflow wf-1234hoard event
Publish and poll orchestration events.
hoard event publish task.note --payload '{"message": "hello"}'hoard event poll --limit 50hoard cost
Read cost summaries and budgets.
hoard cost summary --period todayhoard cost budget --agent <agent_id> --period todayhoard cost budget --workflow wf-1234 --period todayhoard workflow
Create and manage workflows.
hoard workflow list --status runninghoard workflow create "Demo" --definition workflow.jsonhoard workflow start wf-1234hoard workflow status wf-1234MCP-Only Tools
These tools exist in MCP but are not exposed via CLI yet:
task.start,task.fail,task.cancel,task.delegate,task.getworkflow.pause,workflow.resume,workflow.cancel,workflow.getcost.report
Use the MCP endpoint if you need these.