Skip to content

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

fix(prompt): tighten tool-use and evidence rules

Steven Enamakel3e381d13dde8
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 4bb6cf5e47..cb94d0a35f 100644
--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md
+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md
@@ -27,11 +27,11 @@ 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 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. Call only tools that are in it: an unlisted name fails as unknown every time, so never retry one. If a tool you need is not there, search once; if nothing comes back, say so (for web lookups, `web_fetch` is the fallback).
+- Your tools are this turn's tool list plus whatever `tool_search` returns. Read that list before claiming a capability is missing: `web_search_tool` and `web_fetch` are usually in it. Call only tools that are in it: an unlisted name fails as unknown every time, so never retry one. If a tool you need is not there, search once; if nothing comes back, say so (for web lookups, `web_fetch` is the fallback).
- 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.
+- Preserve numeric evidence exactly: copy numbers, dates, currencies and ids as observed; recompute only when asked, showing 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.
-- Never pass off fabricated output as a result. If a step failed, say so and what you did instead.
+- Never pass off fabricated output as a result; if a step failed, say so.
- For a short public-research answer, search for the subject, read the best primary source, then answer from the evidence in the turn. Search again only for a specific missing fact; a reworded query or a second summary of the same page is not new evidence. If a source cannot be read, say so; never claim you read it.
- `retrieve_memory` walks already-ingested history, not a live API; for what is in an inbox right now, search for and call the live integration's action.