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
refactor(agent): remove delegation tool support
Steven Enamakel34ca827ebd51
diff --git a/crates/openhuman-core/src/agent/orchestration/mod.rs b/crates/openhuman-core/src/agent/orchestration/mod.rsindex 9df00d63dc..4bd2d700fc 100644--- a/crates/openhuman-core/src/agent/orchestration/mod.rs+++ b/crates/openhuman-core/src/agent/orchestration/mod.rs@@ -17,9 +17,7 @@ pub(crate) mod busy_guard;pub(crate) mod completion_notice;pub(crate) mod completion_owners;pub(crate) mod completion_target;-pub(crate) mod delegation;pub(crate) mod delivery_drain;-pub use delegation::open_delegation_checkpointer;pub(crate) mod fleet_tools;#[path = "parent_context/builder.rs"]pub(crate) mod parent_context;diff --git a/crates/openhuman-core/src/agent/orchestration/tools.rs b/crates/openhuman-core/src/agent/orchestration/tools.rsindex 7f4f797fe7..477fbbbd55 100644--- a/crates/openhuman-core/src/agent/orchestration/tools.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools.rs@@ -20,8 +20,6 @@ mod archetype_delegation;pub(crate) mod awaiting_user;#[path = "tools/continue_subagent_host.rs"]mod continue_subagent;-#[path = "tools/delegate_graph.rs"]-mod delegate_graph;#[path = "tools/subagent_dispatch_host.rs"]mod dispatch;#[path = "tools/spawn_async_subagent_surface.rs"]@@ -63,8 +61,6 @@ pub(crate) fn live_parent_run_context(pub use archetype_delegation::{ArchetypeDelegationTool, DelegationTarget};pub(crate) use continue_subagent::ContinueSubagentDispatch;pub use continue_subagent::ContinueSubagentTool;-pub(crate) use delegate_graph::DelegateGraphDispatch;-pub use delegate_graph::DelegateGraphTool;pub(crate) use spawn_async_subagent::SpawnAsyncSubagentDispatch;pub use spawn_async_subagent::{scope_spawn_async_subagent_spec, SpawnAsyncSubagentTool};pub(crate) use spawn_subagent::SpawnSubagentDispatch;diff --git a/crates/openhuman-core/src/agent/registration.rs b/crates/openhuman-core/src/agent/registration.rsindex 45acb45e3a..f09b2a58d0 100644--- a/crates/openhuman-core/src/agent/registration.rs+++ b/crates/openhuman-core/src/agent/registration.rs@@ -1,7 +1,7 @@//! Registration of agent dialogue and delegation tools.use super::orchestration::tools::{- CloseSubagentTool, ContinueSubagentTool, DelegateGraphTool, ListSubagentsTool,+ CloseSubagentTool, ContinueSubagentTool, ListSubagentsTool,SpawnAsyncSubagentTool, SpawnSubagentTool, SteerSubagentTool, WaitSubagentTool,};use super::tools::{PlanExitTool, TodoTool};@@ -44,11 +44,6 @@ pub(crate) fn dialogue_tools(action_dir: &Path, root_config: &Config) -> Vec<BoxBox::new(WaitSubagentTool::new()),Box::new(CloseSubagentTool::new()),Box::new(ContinueSubagentTool::new()),- // Multi-stage durable delegation (issue #4249, Phase 3): runs the chosen- // sub-agent through the tinyagents plan→execute→review→finalize graph,- // checkpointed to the session DB. Heavier than spawn_subagent; for- // sub-tasks that benefit from a self-review/revision loop.- Box::new(DelegateGraphTool::new()),// The session todo list is scoped to the conversation thread.// `plan_exit` hands a completed plan-mode pass to the build-mode pass.Box::new(TodoTool::new(root_config.workspace_dir.clone())),diff --git a/crates/openhuman-core/src/agent/tinyagents/mod.rs b/crates/openhuman-core/src/agent/tinyagents/mod.rsindex 11cc1b9959..e90dc88697 100644--- a/crates/openhuman-core/src/agent/tinyagents/mod.rs+++ b/crates/openhuman-core/src/agent/tinyagents/mod.rs@@ -98,6 +98,3 @@ mod prompt_cache_golden_tests;#[cfg(test)]#[path = "tinyagents_tests.rs"]mod tests;-#[cfg(test)]-#[path = "topology_collision_tests.rs"]-mod topology_collision_tests;diff --git a/crates/openhuman-core/src/agent_runs/mod.rs b/crates/openhuman-core/src/agent_runs/mod.rsindex d5288499cc..ad4cd7d595 100644--- a/crates/openhuman-core/src/agent_runs/mod.rs+++ b/crates/openhuman-core/src/agent_runs/mod.rs@@ -1,15 +1,11 @@//! Product-facing RPC surfaces for agent runs, workflows, replay, and tools.-pub(crate) mod command_center;pub(crate) mod context_breakdown;pub(crate) mod replay;mod schemas;pub(crate) mod subagent_control;mod subagent_finalize;-pub(crate) use command_center::{- all_command_center_controller_schemas, all_command_center_registered_controllers,-};pub(crate) use schemas::all_registered_controllers as all_agent_registered_controllers;pub(crate) use subagent_control::{all_controller_schemas as all_subagent_control_controller_schemas,@@ -25,7 +21,6 @@ pub(crate) fn register_subagent_finalize_subscriber(config: &crate::config::Confpub(crate) fn all_orchestration_registered_controllers() -> Vec<crate::core::all::RegisteredController> {let mut controllers = Vec::new();- controllers.extend(all_command_center_registered_controllers());controllers.extend(all_subagent_control_registered_controllers());controllers}@@ -33,7 +28,6 @@ pub(crate) fn all_orchestration_registered_controllers(/// Returns orchestration schemas in the same order as their registered controllers.pub(crate) fn all_orchestration_controller_schemas() -> Vec<crate::core::ControllerSchema> {let mut schemas = Vec::new();- schemas.extend(all_command_center_controller_schemas());schemas.extend(all_subagent_control_controller_schemas());schemas}diff --git a/crates/openhuman-core/src/tools/mod.rs b/crates/openhuman-core/src/tools/mod.rsindex 2cc837fdd2..9557ba3a9c 100644--- a/crates/openhuman-core/src/tools/mod.rs+++ b/crates/openhuman-core/src/tools/mod.rs@@ -1,4 +1,3 @@-pub(crate) mod delegate;pub mod host_extensions;pub(crate) mod native_ops;mod native_ops_types;