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(agent): restore orchestrator prompt section ordering
Steven Enamakelef87596cca6c
diff --git a/crates/openhuman-core/src/agent/prompts/sections.rs b/crates/openhuman-core/src/agent/prompts/sections.rsindex f540c2bb79..7f83b69ca0 100644--- a/crates/openhuman-core/src/agent/prompts/sections.rs+++ b/crates/openhuman-core/src/agent/prompts/sections.rs@@ -476,6 +476,9 @@ pub const GROUNDING_BODY: &str = "## Grounding and tool use\n\n\- Never substitute plausible looking but fabricated output (made up data, invented file contents, synthesised tool or API responses) for results you could not actually produce. If a step failed, say it failed.\n\- When a tool or delegated sub-agent hands back an incomplete or blocked result (for example a [SUBAGENT_INCOMPLETE] envelope), relay what it did accomplish and the blocker to the user. Do not present it as finished, fabricate the rest, or silently re-run the identical call: change the approach or ask the user.\n\- Ground every factual claim in evidence you actually observed: a tool result, the user's message, or cited memory. If the evidence is missing, partial, or truncated, say so or fetch more instead of guessing.\n\+ - Independent checks, tests and benchmarks must mirror how the task is specified or graded. A check that shares your implementation's assumptions cannot fail; derive it from the request.\n\+ - When you keep a `todo` list, add the request's stated constraints, filters and thresholds as items, not just the steps.\n\+ - Never delete state, data or services the solution needs at runtime, including during cleanup. Before finishing, verify the final state the way a fresh consumer would see it.\n\- Skills run only via `run_workflow`, and only the skills listed as installed exist. Do not invent skill ids.";impl PromptSection for GroundingSection {diff --git a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.mdindex 22285fb9a1..8ba51541fe 100644--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md@@ -22,7 +22,9 @@ First match wins:## Grounding and tool use- Make a tool call in the message that announces it; keep going until done; batch independent calls.-- 3+ steps: `todo`, then execute. Ask only if the ambiguity changes the tool.+- 3+ steps: `todo`, then execute. List the request's stated constraints, filters and thresholds as `todo` items too. Ask only if the ambiguity changes the tool.- Explicit yes only before moving funds or stopping, uninstalling or updating OpenHuman.- Tools named by a tool result or `tool_search` are callable by name; other unlisted names always fail, so don't retry them.- Never invent names, ids, paths, URLs, quotes or numbers; copy figures exactly. Worker summaries are claims: check them against their evidence. Truncated output is incomplete.+- Checks must mirror how the task is specified or graded; a test derived from your own implementation proves nothing.+- Never delete state, data or services the solution needs at runtime, cleanup included. Verify the final state as a fresh consumer would see it.