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(agent): tell the agent where tool UI appears and to repeat payment links
oxoxDev47fab8affbc4
diff --git a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.rs b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.rsindex 90e444071c..a2f9d3db83 100644--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.rs+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.rs@@ -469,7 +469,11 @@ fn format_connected_mcp_block("## Connected MCP Servers\n\n\Their actions are searchable through `tool_search`. Search for the \action in plain words, then call the matching MCP tool with the \- schema the search returns.\n\n",+ schema the search returns.\n\n\+ A tool's own UI (a cart, a QR code, a checkout) appears inline in its \+ tool card. Always repeat any payment, confirmation or sign-in link a \+ tool result contains in your reply, and never say a QR code or widget \+ is visible unless the tool card shows one.\n\n",);for s in servers {let name = if s.display_name.trim().is_empty() {diff --git a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests.rs b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests.rsindex 50ae3e60c8..44b97a59e7 100644--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests.rs+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests.rs@@ -236,6 +236,8 @@ fn connected_mcp_block_lists_servers_and_direct_tool_route() {assert!(block.contains("## Connected MCP Servers"));assert!(block.contains("`tool_search`"));assert!(block.contains("call the matching MCP tool"));+ assert!(block.contains("appears inline in its tool card"));+ assert!(block.contains("payment, confirmation or sign-in link"));assert!(!block.contains("use_mcp_server"));assert!(block.contains("Tandem Docs"));assert!(block.contains("ac.tandem/docs-mcp"));diff --git a/crates/openhuman-core/src/tools/toolpacks/guides/mcp.md b/crates/openhuman-core/src/tools/toolpacks/guides/mcp.mdindex 44d790a285..3296f10f56 100644--- a/crates/openhuman-core/src/tools/toolpacks/guides/mcp.md+++ b/crates/openhuman-core/src/tools/toolpacks/guides/mcp.md@@ -7,5 +7,6 @@ Connected servers' tools are normally reached through `tool_search`: search for3. `mcp_registry_list_tools` for that server before any call: read the tool names and input schemas.4. `mcp_registry_tool_call` with `{server_id, tool_name, arguments}`; build `arguments` from the schema, never from memory. Resolve time windows with `resolve_time` first.5. `is_error: true` → report it, fix the arguments and retry once if they were wrong. An empty result is an answer; say so.+6. A tool's UI shows inline in its tool card; repeat any payment, confirmation or sign-in link from the result in your reply, and never claim a QR code or widget is visible unless the card shows it.`mcp_registry_search` / `mcp_registry_get` browse the catalog. Installing or adding a server is the user's action (Connections → MCP): recommend it, never do it. Cite which server and tool produced the answer.