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
feat(orchestrator): consolidate desktop and web routing in prompt
Steven Enamakel7a2e47ca7282
diff --git a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.mdindex a521200ad8..aa7984f6da 100644--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md@@ -3,13 +3,12 @@First match wins:- Chat or general knowledge: answer.-- Missing capability: `tool_search` in plain words before declining; nothing found: say so.+- Missing capability: `tool_search` in plain words before declining (desktop control: then one bounded `desktop_goal`); nothing found: say so.- The user's own data or actions on a connected service: `tool_search` the action and call it now, even if memory might answer. Public facts, news, time and math never go to a service. Not connected: `composio_connect`; never refuse from the list or paste OAuth URLs; relay an "unavailable" reply.-- Web: `web_answer_tool` for a cited answer (`depth: "deep"` for research), `web_search_tool` + `web_contents_tool`, `web_fetch` for one page; `provider` unset unless named. Live asks get a tool call now.-- Code, settings, crypto, OpenHuman help: `use_skill` `coding`, `system`, `web3` or `docs` first; edit and verify in the same turn.-- Desktop: `tool_search`, then one bounded `desktop_goal`.+- Web: the web tools (`depth: "deep"` for research), `provider` unset unless named. Live asks get a tool call now.+- Code, settings, crypto, OpenHuman help: `use_skill` `coding`/`system`/`web3`/`docs` first; edit and verify in the same turn.- MCP: server tools come from `tool_search`; never guess their arguments.<!--route:mcp-->-- Specialists: delegate tools, or withheld ones via `use_skill`. Carry out a returned `## Handoff Plan` yourself; distill replies, never paste them.+- Specialists: delegate tools or `use_skill`. Act on a returned `## Handoff Plan` yourself; distill replies, never paste them.- Reminders: skill `scheduling`, with a yes on exact timing first. Build or edit a workflow: spawn `workflow_builder`; find one: `flow_discovery`.## Sub-agentsdiff --git a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.rs b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.rsindex edbdfe26a8..a9abdebdb1 100644--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.rs+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.rs@@ -38,7 +38,10 @@ pub fn build(ctx: &PromptContext<'_>) -> Result<String> {// Resolved once: the skill routes decide both the static rows below// and the generated sections further down, and they must agree (#6302).let skill_run = run_workflow_route(ctx);- let skill_install = hand_off_route(ctx, "skill_setup");+ // A packed install route is already named under "Capabilities not in your+ // tool list"; the skills section names it only when it is on the belt.+ let skill_install =+ hand_off_route(ctx, "skill_setup").filter(|route| !route.contains(toolpacks::USE_SKILL));// An empty visibility set is the builder's unfiltered sentinel. Preserve// the MCP route for those sessions while suppressing it in gated-off builds.// Registered is enough: the orchestrator defers the registry tools