Use AgentOS orchestrator to break down complex tasks:
- Plan:
curl -X POST http://localhost:3111/api/orchestrator/plan -H 'Content-Type: application/json' -d '{"description": "<task>"}' - Execute:
curl -X POST http://localhost:3111/api/orchestrator/execute -H 'Content-Type: application/json' -d '{"planId": "<id>"}' - Status:
curl -X POST http://localhost:3111/api/orchestrator/status -H 'Content-Type: application/json' -d '{"planId": "<id>"}'
The orchestrator decomposes tasks into subtasks with hierarchical IDs, spawns workers for each leaf task, and monitors progress with lifecycle reactions.
Source: iii-experimental/agentos — distributed by TomeVault.