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): add subagent orchestration tools
Steven Enamakelaefe4fa71e3a
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/continue_subagent.rs b/crates/openhuman-core/src/agent/orchestration/tools/continue_subagent.rsindex fb3fd29a44..76a9341f32 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/continue_subagent.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/continue_subagent.rs@@ -229,7 +229,10 @@ impl Tool for ContinueSubagentTool {self.execute_with_parent_context(args,tool_context,- crate::agent::tinyagents::host::OpenHumanRunContext::new(),+ crate::agent::tinyagents::host::OpenHumanRunContext::new().with_core(+ crate::agent::tinyagents::host::run_context::dispatch_ctx_for_tool(tool_context)+ .into_core(),+ ),).await}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 9d0314553a..1ebba10de6 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@@ -243,7 +243,10 @@ impl Tool for SpawnAsyncSubagentTool {args,options,tool_context,- crate::agent::tinyagents::host::OpenHumanRunContext::new(),+ crate::agent::tinyagents::host::OpenHumanRunContext::new().with_core(+ crate::agent::tinyagents::host::run_context::dispatch_ctx_for_tool(tool_context)+ .into_core(),+ ),None,).awaitdiff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents.rsindex e0dcdd0520..59298d73e9 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents.rs@@ -244,7 +244,10 @@ impl Tool for SpawnParallelAgentsTool {args,tinyagents_harness::CancellationToken::new(),workspace_descriptor,- crate::agent::tinyagents::host::OpenHumanRunContext::new(),+ crate::agent::tinyagents::host::OpenHumanRunContext::new().with_core(+ crate::agent::tinyagents::host::run_context::dispatch_ctx_for_tool(tool_context)+ .into_core(),+ ),None,parent_call_id,)diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rsindex 932f7c0e3a..72f1ee1818 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rs@@ -42,7 +42,10 @@ impl Tool for SpawnSubagentTool {self.execute_with_parent_context(args,tool_context,- crate::agent::tinyagents::host::OpenHumanRunContext::new(),+ crate::agent::tinyagents::host::OpenHumanRunContext::new().with_core(+ crate::agent::tinyagents::host::run_context::dispatch_ctx_for_tool(tool_context)+ .into_core(),+ ),).await}diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_worker_thread.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_worker_thread.rsindex 38ad607322..653b143439 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_worker_thread.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_worker_thread.rs@@ -148,7 +148,10 @@ impl Tool for SpawnWorkerThreadTool {self.execute_with_parent_context(args,tool_context,- crate::agent::tinyagents::host::OpenHumanRunContext::new(),+ crate::agent::tinyagents::host::OpenHumanRunContext::new().with_core(+ crate::agent::tinyagents::host::run_context::dispatch_ctx_for_tool(tool_context)+ .into_core(),+ ),).await}