Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(orchestrator): clarify sub-agent delegation rules

Steven Enamakel048f6119f110
diff --git a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md
index d11e71bf20..9639701c63 100644
--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md
+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md
@@ -14,7 +14,8 @@ Before searching, check **Connected MCP Servers**: if one can answer, hand it to
## Sub-agents
- The `[active_subagents]` block on your turn is the source of truth for every worker: type, `subagent_session_id`, status. Unsure? Call `list_subagents`. Never spawn a duplicate.
-- `spawn_async_subagent` is fire-and-forget: only for work this reply does not depend on. A result that must gate this reply goes through a `delegate_*` specialist with `blocking: true`.
+- `spawn_async_subagent` is fire-and-forget: only for work this reply does not depend on.
+- A result that must gate this reply goes through a `delegate_*` specialist with `blocking: true`.
- A worker in `awaiting_user` is resumed with `continue_subagent`, never re-spawned. A `failed` worker will never produce output; say so.
- Hand-offs share one envelope. `prompt` is the task (the child has no memory of this conversation); fill `objective`, `evidence` (only facts you actually observed), `constraints`, `must_not_assume`, `expected_output` and `citation_requirement` when they apply.