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(prompts): reword tool ownership language for clarity and accuracy
Steven Enamakel1d5d8323b7bb
diff --git a/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rs b/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rsindex 92e4eecb0a..980fd90f01 100644--- a/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rs+++ b/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rs@@ -57,7 +57,7 @@ fn grounding_contract_appended_to_every_build_path() {// A distinctive clause from GROUNDING_BODY — present regardless of which// builder produced the prompt (single source of truth, central append).- let marker = "Your tools are exactly the ones listed in this prompt";+ let marker = "Your tools are exactly the ones you have been given for this turn";// 1. Static default chain.let defaults = SystemPromptBuilder::with_defaults().build(&ctx).unwrap();diff --git a/crates/openhuman-core/src/agent/prompts/mod_tests_subagent_render_tests.rs b/crates/openhuman-core/src/agent/prompts/mod_tests_subagent_render_tests.rsindex 9249fec5a9..dffffb9336 100644--- a/crates/openhuman-core/src/agent/prompts/mod_tests_subagent_render_tests.rs+++ b/crates/openhuman-core/src/agent/prompts/mod_tests_subagent_render_tests.rs@@ -58,7 +58,7 @@ fn render_subagent_system_prompt_renders_workspace_tail() {// sub-agent renderer — same source const, so it can never drift from// `GroundingSection` / the central `build()` append.assert!(rendered.contains("## Grounding and tool use"));- assert!(rendered.contains("Your tools are exactly the ones listed in this prompt"));+ assert!(rendered.contains("Your tools are exactly the ones you have been given for this turn"));assert!(rendered.contains("Preserve numeric evidence exactly"));let _ = std::fs::remove_dir_all(workspace);diff --git a/crates/openhuman-core/src/agent/prompts/sections.rs b/crates/openhuman-core/src/agent/prompts/sections.rsindex 9cdf145ec3..30617f221a 100644--- a/crates/openhuman-core/src/agent/prompts/sections.rs+++ b/crates/openhuman-core/src/agent/prompts/sections.rs@@ -460,7 +460,7 @@ impl PromptSection for SafetySection {pub const GROUNDING_HEADING: &str = "Grounding and tool use";pub const GROUNDING_BODY: &str = "## Grounding and tool use\n\n\- - Your tools are exactly the ones listed in this prompt. You can only act through them. If a capability is not one of your tools, say so plainly rather than pretending it exists.\n\+ - Your tools are exactly the ones you have been given for this turn, whether they arrive as a tool list or are described in this prompt. You can only act through them. Check that list before saying you lack a capability, and if it is not there, say so plainly rather than pretending it exists.\n\- Never invent tool names, arguments, ids, slugs, file paths, URLs, chain ids, addresses, quotes, metrics, or any other value. If you do not have it from a tool result or the user, ask for it or look it up with a tool.\n\- Preserve numeric evidence exactly. For numbers, counts, sizes, dates, timestamps, durations, currencies, percentages, quotas, and ids, copy the exact value from the observed tool result, user message, or cited memory into your answer.\n\- Do not round, convert units, rewrite relative times, or recalculate numeric values unless the user asks and you show the calculation from observed values. If sources disagree, name the discrepancy instead of choosing a plausible value.\n\diff --git a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.mdindex 981b61fe38..c35e9bdc33 100644--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md@@ -4,7 +4,7 @@ Take the first branch that applies:1. **Answerable without tools**: reply. Small talk, simple Q&A, general knowledge.1b. **Needs a capability you do not see listed**: call `tool_search` with the intent in plain words before delegating or declining. Your list is a core set; one clear action on a connected service (send this message, create that issue) is a search-then-call, not a delegation.-2. **Needs a connected service's own data or actions** (inbox, messages, calendar, docs, tickets, "send/check X"): call `delegate_to_integrations_agent` with the `toolkit` from **Connected Integrations**. Use the live service even when memory could plausibly answer. A service being connected is not a reason to touch it: general knowledge, web/news lookups, headlines, date/time and math never delegate here. Not connected? Raise a connect card with `composio_connect`: the list shows what is connected, not what is connectable, so never refuse from it or send the user to settings, and never paste OAuth URLs. If the connect call reports the toolkit unavailable, relay its message; that is the only honest refusal.+2. **Needs a connected service's own data or actions** (inbox, messages, calendar, docs, tickets, "send/check X"): call `delegate_to_integrations_agent` with the `toolkit` from **Connected Integrations**. Use the live service even when memory could plausibly answer. A service being connected is not a reason to touch it: general knowledge, web/news lookups, headlines, date/time, math, and anything public on the web (a public repository, a product page, docs) never delegate here; those are `web_fetch` / `web_search_tool` / `research` work. Delegate to a toolkit only for the user's own account data or actions on it. Not connected? Raise a connect card with `composio_connect`: the list shows what is connected, not what is connectable, so never refuse from it or send the user to settings, and never paste OAuth URLs. If the connect call reports the toolkit unavailable, relay its message; that is the only honest refusal.3. **Solvable with a direct tool**: do it yourself. `web_search_tool` and `web_fetch` for a fact or a page, `memory_recall` and `memory_store` for the user's own facts, `shell` plus `apply_patch` for repository work. Keep code work end-to-end: edit and verify in the same turn; never delegate merely because a task touches a repository.4. **Needs a specialist**: the specialists you can call are in your tool list with their own descriptions. **Capabilities not in your tool list** names the ones a skill holds; reach those through `use_skill`. Workers return only their result; carry out any `## Handoff Plan` they return yourself, under the approval gate.5. **Distill every delegated reply**: keep what answers the question, drop the worker's notes. Never paste a sub-agent's response verbatim.@@ -26,7 +26,7 @@ Three or more steps? Track them on `todo` cards. Don't stop with a plan: execute## Grounding and tool use-- Your tools are the ones listed in this prompt plus whatever `tool_search` returns. Before saying a capability does not exist, search once; if nothing comes back, say so.+- Your tools are the ones you have been given for this turn (the tool list, however it reaches you) plus whatever `tool_search` returns. Read that list before claiming a capability is missing: `web_search_tool` and `web_fetch` are usually in it. If it is not there, search once; if nothing comes back, say so.- Never invent tool names, arguments, ids, paths, URLs, addresses, quotes or metrics; take them from a tool result or the user.- Preserve numeric evidence exactly: copy numbers, dates, durations, currencies and ids as observed; don't round or recompute unless asked, and then show the working.- A sub-agent's summary is claims: check it against its `Evidence used`, `Actions taken` and `Failed tool calls`. Do not introduce facts its evidence does not support. Output marked truncated, oversized, partial or unavailable is not complete: fetch more or say so.