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
test(agent): add loader tests for builtin registration, orchestrator tier, and specialist agents
Steven Enamakeldc872b5b9b16
diff --git a/crates/openhuman-core/src/agent/registry/agents/loader_tests_builtin_registration_tests.rs b/crates/openhuman-core/src/agent/registry/agents/loader_tests_builtin_registration_tests.rsindex 12be5376a3..97a95929d2 100644--- a/crates/openhuman-core/src/agent/registry/agents/loader_tests_builtin_registration_tests.rs+++ b/crates/openhuman-core/src/agent/registry/agents/loader_tests_builtin_registration_tests.rs@@ -280,7 +280,6 @@ fn vision_agent_loads_on_its_pinned_multimodal_model() {#[test]fn low_context_workers_use_burst_hint() {for id in [- "researcher","context_scout",// NOTE: `flow_memory_agent` is intentionally NOT listed here. It is// a `#[cfg(feature = "flows")]` agent, and an array literal can'tdiff --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 99a29cf537..b4ddf0631b 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@@ -115,7 +115,6 @@ fn crypto_agent_has_narrow_wallet_market_tools_and_safety_on() {// Synthesised delegation tools use the unprefixed// `delegate_name` overrides — forbid those names too."run_code",- "research","plan",] {assert!(@@ -462,8 +461,8 @@ fn rejects_reasoning_to_reasoning_delegation() {#[test]fn rejects_worker_with_subagents() {let mut defs = load_builtins().unwrap();- let researcher = defs.iter_mut().find(|d| d.id == "researcher").unwrap();- researcher+ let worker = defs.iter_mut().find(|d| d.id == "code_executor").unwrap();+ worker.subagents.push(SubagentEntry::AgentId("critic".into()));diff --git a/crates/openhuman-core/src/agent/registry/agents/loader_tests_specialist_agents_tests.rs b/crates/openhuman-core/src/agent/registry/agents/loader_tests_specialist_agents_tests.rsindex 3b6b3fb528..cab7b54d74 100644--- a/crates/openhuman-core/src/agent/registry/agents/loader_tests_specialist_agents_tests.rs+++ b/crates/openhuman-core/src/agent/registry/agents/loader_tests_specialist_agents_tests.rs@@ -486,39 +486,6 @@ fn chatty_sub_agents_have_bounded_output() {);}-#[test]-fn researcher_is_bounded_to_search_and_fetch() {- let def = find("researcher");- assert_eq!(- def.max_iterations, 10,- "researcher keeps enough turns to recover from bad search results without broadening its tool surface"- );- assert_eq!(- def.max_turn_output_tokens,- Some(4096),- "researcher must cap each model turn so verbose research loops cannot flood context"- );- assert!(- def.extra_tools.is_empty(),- "researcher must not widen its tool surface via extra_tools"- );- match &def.tools {- ToolScope::Named(tools) => {- assert_eq!(- tools,- &vec![- "web_search_tool".to_string(),- "web_answer_tool".to_string(),- "web_contents_tool".to_string(),- "web_fetch".to_string()- ],- "researcher must stay limited to the web read tools so simple lookups do not fan out into deep research loops"- );- }- ToolScope::Wildcard => panic!("researcher must have Named tool scope"),- }-}-#[test]fn code_executor_has_curl_for_artifact_downloads() {let def = find("code_executor");