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(test): remove references to removed mcp_setup agent
Steven Enamakeldf447cd48433
diff --git a/crates/openhuman-core/src/agent/registry/agents/loader_tests_orchestrator_tier_tests.rs b/crates/openhuman-core/src/agent/registry/agents/loader_tests_orchestrator_tier_tests.rsindex 91483e68bc..97031c47d9 100644--- a/crates/openhuman-core/src/agent/registry/agents/loader_tests_orchestrator_tier_tests.rs+++ b/crates/openhuman-core/src/agent/registry/agents/loader_tests_orchestrator_tier_tests.rs@@ -162,9 +162,8 @@ fn orchestrator_subagents_include_crypto_agent() {/// Routing: the orchestrator must list `mcp_agent` in its `subagents`/// so a `delegate_use_mcp_server` tool is synthesised at agent-build-/// time. Without this entry the orchestrator can only *set up* MCP-/// servers (via `mcp_setup`) and has no route to actually *use* an-/// already-connected server's tools from chat (issue #3495).+/// time. Without this entry the orchestrator has no route to actually *use*+/// an already-connected server's tools from chat (issue #3495).#[test]fn orchestrator_subagents_include_mcp_agent() {use crate::agent::harness::definition::SubagentEntry;@@ -268,7 +267,7 @@ fn orchestrator_reaches_mcp_and_skills_through_hand_offs_not_registry_tools() {}ToolScope::Wildcard => panic!("orchestrator must have a Named tool scope"),}- for specialist in ["mcp_setup", "mcp_agent", "skill_setup", "skill_executor"] {+ for specialist in ["mcp_agent", "skill_setup", "skill_executor"] {assert!(def.subagents.iter()@@ -280,8 +279,9 @@ fn orchestrator_reaches_mcp_and_skills_through_hand_offs_not_registry_tools() {/// `mcp_agent` is the connected-server execution specialist: it must hold/// the discover + call surface and a stable `use_mcp_server` delegate name,-/// but must NOT hold the secret-handling install/uninstall tools (those are-/// `mcp_setup`'s) or any shell/file/network capability.+/// but must NOT hold the uninstall tool or any shell/file/network+/// capability. There is no install tool at all: servers are declared by the+/// user in mcp.json.////// Gated: `find` panics on a missing id, and the `mcp` feature drops/// `mcp_agent` from [`BUILTINS`] entirely.@@ -319,7 +319,7 @@ fn mcp_agent_drives_connected_servers_without_install_or_shell() {assert!(!tools.iter().any(|t| t == forbidden),"mcp_agent must NOT have `{forbidden}` — it only relays through \- already-connected servers; install/secrets belong to mcp_setup"+ already-connected servers; servers are declared in mcp.json");}}diff --git a/crates/openhuman-core/src/agent/registry/agents/mcp_agent/prompt_tests.rs b/crates/openhuman-core/src/agent/registry/agents/mcp_agent/prompt_tests.rsindex 475b7652f0..80b7ea5e6b 100644--- a/crates/openhuman-core/src/agent/registry/agents/mcp_agent/prompt_tests.rs+++ b/crates/openhuman-core/src/agent/registry/agents/mcp_agent/prompt_tests.rs@@ -36,10 +36,12 @@ fn build_returns_nonempty_body() {#[test]fn archetype_documents_connected_only_invariant() {let body = build(&empty_ctx()).unwrap();- // Must steer away from install (that's mcp_setup's job) and toward- // the discover → list → call flow over already-connected servers.+ // Must steer away from install (the user declares servers in mcp.json)+ // and toward the discover → list → call flow over already-connected+ // servers.assert!(body.contains("already connected") || body.contains("already-connected"));- assert!(body.contains("setup_mcp_server"));+ assert!(body.contains("mcp.json"));+ assert!(!body.contains("setup_mcp_server"));}#[test]diff --git a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests_session_routing_tests.rs b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests_session_routing_tests.rsindex d1349bb4b2..3e5db7fbc3 100644--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests_session_routing_tests.rs+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests_session_routing_tests.rs@@ -200,12 +200,7 @@ fn skill_and_mcp_sections_name_the_hand_off_this_session_can_call() {// The generated withheld block no longer lists the unpacked hand-offs.let block = render_withheld_specialists(&ctx);- for handoff in [- "setup_skills",- "run_skill",- "use_mcp_server",- "setup_mcp_server",- ] {+ for handoff in ["setup_skills", "run_skill", "use_mcp_server"] {assert!(!block.contains(handoff),"`{handoff}` is a direct tool and must not be listed as withheld:\n{block}"