| name | agent-orchestrator |
| description | Manage the full agent lifecycle, workflows, approvals, tool policies, and runtime configuration through the orchestrator service. |
Agent Orchestrator
Skill for interacting with the agentd orchestrator service — the central coordinator for AI agents and autonomous workflows.
Agent Lifecycle
Creating Agents
agent orchestrator create-agent \
--name my-agent \
--working-dir /path/to/project \
--model claude-sonnet-4-6
agent orchestrator create-agent \
--name my-agent \
--working-dir . \
--model opus \
--prompt "Review the latest PR"
agent orchestrator create-agent \
--name my-agent \
--working-dir . \
--model sonnet \
--system-prompt "You are a code review agent. Focus on security issues."
agent orchestrator create-agent \
--name my-agent \
--working-dir . \
--worktree \
--model sonnet
agent orchestrator create-agent \
--name my-agent \
--working-dir . \
--model sonnet \
--env GITHUB_TOKEN=xxx \
--env RUST_LOG=debug
agent orchestrator create-agent \
--name my-agent \
--working-dir . \
--model sonnet \
--docker-image agentd-runner:latest \
--cpu-limit 2.0 \
--memory-limit 4096
echo "Fix the failing tests" | agent orchestrator create-agent \
--name fixer \
--working-dir . \
--model sonnet \
--stdin
agent orchestrator create-agent \
--name my-agent \
--working-dir . \
--model sonnet \
--attach
Model aliases: sonnet → claude-sonnet-4-6, opus → claude-opus-4-6, haiku → claude-haiku-4-5-20251001
Listing and Inspecting Agents
agent orchestrator list-agents
agent orchestrator list-agents --status running
agent orchestrator get-agent <agent-id>
agent orchestrator list-agents --json
Interacting with Running Agents
agent orchestrator send-message <agent-id> "Please review this file"
echo "Fix the bug in auth.rs" | agent orchestrator send-message <agent-id> --stdin
agent orchestrator attach <agent-id>
agent orchestrator attach --name my-agent
agent orchestrator stream <agent-id>
agent orchestrator stream <agent-id> --verbose
agent orchestrator stream --all
agent orchestrator logs <agent-id>
agent orchestrator logs <agent-id> --follow
agent orchestrator logs --name my-agent --tail 200
agent orchestrator usage <agent-id>
agent orchestrator usage --name my-agent
agent orchestrator clear-context <agent-id>
agent orchestrator clear-context --name my-agent
Changing Model at Runtime
agent orchestrator set-model <agent-id> --model sonnet
agent orchestrator set-model --name my-agent --model opus
agent orchestrator set-model <agent-id> --model opus --restart
agent orchestrator set-model <agent-id> --clear
Directory Management
agent orchestrator add-dir <agent-id> /path/to/extra/dir
agent orchestrator remove-dir <agent-id> /path/to/extra/dir
Deleting Agents
agent orchestrator delete-agent <agent-id>
agent orchestrator list-agents --status stopped --json | jq -r '.[].id' | xargs -I{} agent orchestrator delete-agent {}
Tool Policies
Control what tools an agent can use.
agent orchestrator get-policy <agent-id>
agent orchestrator set-policy <agent-id> '{"type": "AllowAll"}'
agent orchestrator set-policy <agent-id> '{"type": "DenyAll"}'
agent orchestrator set-policy <agent-id> '{"type": "AllowList", "tools": ["Read", "Grep", "Glob"]}'
agent orchestrator set-policy <agent-id> '{"type": "DenyList", "tools": ["Bash", "Write"]}'
agent orchestrator set-policy <agent-id> '{"type": "RequireApproval"}'
Approvals
When an agent has RequireApproval policy, tool calls queue for human review.
agent orchestrator list-approvals
agent orchestrator list-approvals --agent-id <agent-id>
agent orchestrator list-approvals --status pending
agent orchestrator approve <approval-id>
agent orchestrator deny <approval-id>
Approvals time out after 5 minutes by default.
Workflows
Workflows automate task dispatch to agents from external sources.
Creating Workflows
agent orchestrator create-workflow \
--name issue-worker \
--agent-name worker \
--trigger-type github-issues \
--owner geoffjay \
--repo agentd \
--labels agent \
--state open \
--poll-interval 60 \
--prompt-template 'Work on issue #{{source_id}}: {{title}}\n\n{{body}}'
agent orchestrator create-workflow \
--name pr-reviewer \
--agent-name reviewer \
--trigger-type github-pull-requests \
--owner geoffjay \
--repo agentd \
--labels review \
--state open
agent orchestrator create-workflow \
--name nightly-check \
--agent-name checker \
--trigger-type cron \
--cron-expression "0 2 * * *"
agent orchestrator create-workflow \
--name deploy-hook \
--agent-name deployer \
--trigger-type webhook \
--webhook-secret mysecret
agent orchestrator create-workflow \
--name on-demand \
--agent-name worker \
--trigger-type manual
Template variables: {{source_id}}, {{title}}, {{body}}, {{url}}, {{labels}}
Managing Workflows
agent orchestrator list-workflows
agent orchestrator get-workflow <workflow-id>
agent orchestrator update-workflow <workflow-id> --enabled true
agent orchestrator update-workflow <workflow-id> --enabled false
agent orchestrator update-workflow <workflow-id> --poll-interval 120
agent orchestrator delete-workflow <workflow-id>
Dispatch History and Manual Triggers
agent orchestrator workflow-history <workflow-id>
agent orchestrator trigger-workflow <workflow-id> --title "Manual task" --body "Do this thing"
agent orchestrator validate-template '{{source_id}} - {{title}}: {{body}}'
agent orchestrator validate-template --file template.txt
Health Check
agent orchestrator health