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(subagent): route async spawn through driver tool
Steven Enamakelc14a6d1ca1a9
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent.rsindex 18ee8bdb23..034c623d44 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent.rs@@ -13,7 +13,7 @@ use crate::agent::orchestration::subagent_sessions::{};use crate::agent::orchestration::tools::dispatch::incomplete_stop;use crate::agent::subagent_host::{- run_subagent_with_parent, SubagentRunOptions, SubagentRunStatus,+ SubagentRunOptions, SubagentRunStatus,};use crate::agent_registry::host_definition::AgentDefinitionRegistry;use crate::core::runtime::DispatchCtx;diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rsindex af0883dfe8..46ab973ab3 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs@@ -417,7 +417,7 @@ impl SpawnAsyncSubagentTool {run_queue: Some(task_queue),};- let result = run_subagent_with_parent(+ let result = crate::agent::subagent_host::run_async_spawn_via_driver_tool(&detached_parent,background_definition,background_prompt,diff --git a/crates/openhuman-core/src/agent/subagent_host/mod.rs b/crates/openhuman-core/src/agent/subagent_host/mod.rsindex 3351d3b055..dc04033aa8 100644--- a/crates/openhuman-core/src/agent/subagent_host/mod.rs+++ b/crates/openhuman-core/src/agent/subagent_host/mod.rs@@ -57,6 +57,7 @@ mod persisted_compat_tests;// Public API — the entry point and the shapes it returns.pub use autonomous::{definition_iter_cap, subagent_iter_cap_with_autonomous_lift};pub(crate) use lifecycle::load_subagent_checkpoint;+pub(crate) use lifecycle::run_async_spawn_via_driver_tool;pub use lifecycle::{continue_subagent, continue_subagent_with_parent, run_subagent, run_subagent_with_parent,OpenHumanSubagentHost,