| name | agent-management |
| description | AI DevKit · Manage running AI agents with ai-devkit agent commands. Use when an agent needs to identify itself, list agents, start workers, inspect agent detail, assign work, group agents, resume sessions, stop agents, or delegate work to other agents. |
Agent Management
Use ai-devkit agent ...; if unavailable, use npx ai-devkit@latest agent ....
Workflow
- List agents:
ai-devkit agent list --json.
- Identify self: compare your current session id to
sessionId from list --json
- Inspect before acting:
ai-devkit agent detail --id <name> --json --tail 20.
- Reuse idle agents when suitable; otherwise start one with
agent start.
- Send self-contained assignments. Track each agent's task and last instruction.
- Verify completed work before reporting it done. Use
$agent-communication for agent-to-agent updates.
Commands
ai-devkit agent list --json
ai-devkit agent detail --id <name> --json --tail 20
ai-devkit agent start --type codex --name <name> --cwd <path>
ai-devkit agent send --id <name> "<single-line instruction>"
ai-devkit agent send --id <name> --wait --timeout 120000 --json "<single-line instruction>"
ai-devkit agent send --group <group> "<single-line instruction>"
ai-devkit agent sessions --cwd <path> --type codex --json -- 20
ai-devkit agent rename <old-name> <new-name>
ai-devkit agent <name>