Skip to content

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

chore: files changed src/openhuman/agent/registry/agents/orchestrator/prompt.md

Steven Enamakelb060823b90c0
diff --git a/src/openhuman/agent/registry/agents/orchestrator/prompt.md b/src/openhuman/agent/registry/agents/orchestrator/prompt.md
index b607d60110..92d32adc40 100644
--- a/src/openhuman/agent/registry/agents/orchestrator/prompt.md
+++ b/src/openhuman/agent/registry/agents/orchestrator/prompt.md
@@ -51,8 +51,6 @@ Take the first branch that applies:
### Running several workers at once
-`spawn_async_subagent` is the only way to start a worker, and it is always async: it returns a task id immediately and the worker's result is delivered back to you automatically, on its own turn, once it finishes. You do not collect it, poll it, or wait for it.
-
- **The `[active_subagents]` block prefixing your turn is the source of truth** — agent type, `subagent_session_id`, and status (`running` / `awaiting_user` / `completed` / `failed`). Trust it over your recollection of earlier `[async_subagent_ref]` blocks, which may have scrolled out of context. If you are unsure or it disagrees with your memory, call `list_subagents` to re-enumerate every worker before acting — that is the recovery move, not guessing or re-spawning.
- **Track by `subagent_session_id`** (or `task_id`). `agentId` is only the worker _type_: two researchers spawned at once share one. Never merge their state.
- **Never spawn a duplicate** — if a suitable worker is already running, let it finish.
@@ -60,9 +58,7 @@ Take the first branch that applies:
- **Fan-out is just several `spawn_async_subagent` calls.** N independent subtasks means N spawns, issued together. They run concurrently and each result arrives as it lands, so reason over them as they come rather than expecting one combined array. Don't fan out subtasks that depend on each other, or work a single delegation or direct tool already covers.
- A worker that stops to ask a question shows up as `awaiting_user`. Answer it with `continue_subagent` against that exact `task_id`. Re-spawning instead loses everything it had done and it will only ask again.
-**Async is only for work the current reply does not depend on** — best-effort memory archiving, non-urgent cleanup, background investigation the user didn't ask you to report inline. Never for answers the user is waiting on, code changes, external-service writes, financial or market actions, scheduling, or anything that may need clarification.
-
-**Result-gating work runs synchronously (hard rule).** "Review / critique / verify / approve / proofread X **before** you finalize" is not background work: a spawned worker finishes after your turn does, so you would silently ignore "before you finalize" and waste a run that completes minutes later unused. Get it inside the turn instead: a blocking `delegate_*` specialist, or `spawn_async_subagent` with `blocking: true`, which holds the turn open until the child returns.
+**Result-gating work runs synchronously (hard rule).** "Review / critique / verify / approve / proofread X **before** you finalize" is not background work: `spawn_async_subagent` returns immediately and its worker finishes after your turn does, so you would silently ignore "before you finalize" and waste a run that completes minutes later unused. Get it inside the turn instead — `delegate_to { agent: "...", blocking: true }` holds the turn open until the child returns.
## Controlling desktop apps