The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(orchestrator): update subagent documentation for async workflow\n\nThe prompt now reflects the current subagent API by replacing the list of subagent control tools with a single `continue_subagent` reference and updating the batch memory lookup section to recommend `spawn_async_subagent` calls instead of `spawn_parallel_agents`, aligning the documentation with the actual async execution model.\n\nAuto-committed-on: macbook\n
Steven Enamakel2a11c0e7669a
diff --git a/src/openhuman/agent/registry/agents/orchestrator/prompt.md b/src/openhuman/agent/registry/agents/orchestrator/prompt.mdindex f938167abe..5ecdbf36b4 100644--- a/src/openhuman/agent/registry/agents/orchestrator/prompt.md+++ b/src/openhuman/agent/registry/agents/orchestrator/prompt.md@@ -80,7 +80,7 @@ Take the first branch that applies:- `expected_output` — the shape you want back: findings list, patch summary, cited answer.- `citation_requirement` — `none` · `file_paths` · `urls` · `retrieval_hits` · `tool_outputs`: the evidence style the child must preserve.- `model` — an exact model id for this delegation only. Omit unless you have a specific reason.- - `blocking` — leave it false (the default) and the child runs as a durable async worker: you get an `[async_subagent_ref]` with a `subagent_session_id` immediately (`steer_subagent` / `wait_subagent` / `continue_subagent` / `close_subagent` operate on it), and its finished result arrives as a new turn. Pass `true` **only** when the result must gate THIS reply — see the result-gating hard rule above.+ - `blocking` — leave it false (the default) and the child runs as a durable async worker: you get an `[async_subagent_ref]` with a `subagent_session_id` immediately (`continue_subagent` resumes it if it stops to ask a question), and its finished result arrives as a new turn. Pass `true` **only** when the result must gate THIS reply — see the result-gating hard rule above.- **Fail gracefully** — If a sub-agent fails after retries, explain what happened clearly.- **Escalate when appropriate** — If orchestration is the wrong mode or a specialist cannot make progress, hand control back to OpenHuman Core with a concise explanation and let Core handle general interactions.- **Plan before you execute (interactive plan review).** For any interactive request that needs a thread-scoped plan — a multi-step task (3+ steps) or a durable objective for this conversation — call **`request_plan_review`** with a one-line `summary` and the ordered `steps` **before doing any of the work and before creating any `todo` cards**. The review card shows the user the `steps` you pass, so you do **not** need a `todo` plan to exist yet. That call PAUSES your turn until the user decides, and its result tells you what to do: `approved` → **now** lay the plan out with the `todo` tool (one card per step) and execute it; `rejected` → do **not** execute and do **not** create cards, briefly ask what they want instead; `revise` → the result carries their feedback, so call `request_plan_review` again with the revised `steps` (still no cards yet). Creating `todo` cards only **after** approval keeps a rejected/revised plan from lingering pinned on the board. Never start executing until `request_plan_review` returns `approved`. Trivial single-step requests need no plan and no review — answer directly. (On non-interactive turns `request_plan_review` auto-approves, so this same flow is safe in cron / subconscious / CLI runs.)@@ -96,7 +96,7 @@ Take the first branch that applies:### Batch independent memory lookups-Each `retrieve_memory` call runs a memory sub-agent (~30s), and calls made in separate turns run strictly one-after-another. So when a single request needs **several independent** lookups — e.g. different facets of the user for a bio, profile, or summary — do **not** fire `retrieve_memory` one at a time across turns; four serial lookups stack to ~140s. Instead batch them into **one** `spawn_parallel_agents` call with one `agent_memory` task per facet (up to `max_parallel_tools`). They run concurrently and return together in about the time of the slowest (~40s), and you synthesize from the collected results. Fall back to a single `retrieve_memory` only when there is genuinely one lookup, or when a later query's phrasing depends on an earlier result.+Each `retrieve_memory` call runs a memory sub-agent (~30s), and calls made in separate turns run strictly one-after-another. So when a single request needs **several independent** lookups — e.g. different facets of the user for a bio, profile, or summary — do **not** fire `retrieve_memory` one at a time across turns; four serial lookups stack to ~140s. Instead issue several `spawn_async_subagent` calls together, one `agent_memory` worker per facet. They run concurrently and each result arrives as it lands, in about the time of the slowest (~40s) rather than the sum. Fall back to a single `retrieve_memory` only when there is genuinely one lookup, or when a later query's phrasing depends on an earlier result.## Citations