Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(tools): remove delegate_graph tool definition

Steven Enamakel525333bd9943
diff --git a/app/src/features/conversations/tools/__fixtures__/coreToolNames.json b/app/src/features/conversations/tools/__fixtures__/coreToolNames.json
index 86391ed3d7..6b3aeec10a 100644
--- a/app/src/features/conversations/tools/__fixtures__/coreToolNames.json
+++ b/app/src/features/conversations/tools/__fixtures__/coreToolNames.json
@@ -34,7 +34,6 @@
"daemon_host_prefs_get",
"daemon_host_prefs_set",
"dashboard_model_health",
- "delegate_graph",
"delete_artifact",
"describe_workflow",
"desktop_continue_goal",
diff --git a/app/src/features/conversations/tools/toolSpecs.ts b/app/src/features/conversations/tools/toolSpecs.ts
index c8a5678c26..e3229746d3 100644
--- a/app/src/features/conversations/tools/toolSpecs.ts
+++ b/app/src/features/conversations/tools/toolSpecs.ts
@@ -299,7 +299,6 @@ export const EXACT_TOOL_SPECS: Record<string, ToolSpec> = {
// ── Agents and delegation ──────────────────────────────────────────────
spawn_subagent: spec('delegateTask', BotIcon, 'agent', { chip: chip.text('agent_id') }),
spawn_async_subagent: spec('delegateTask', BotIcon, 'agent', { chip: chip.text('agent_id') }),
- delegate_graph: spec('delegateTask', BotIcon, 'agent', { chip: chip.text('agent_id') }),
delegate: spec('delegateTask', BotIcon, 'agent', { chip: chip.text('agent') }),
delegate_to: spec('delegateTask', BotIcon, 'agent', { chip: chip.text('agent', 'agent_id') }),
continue_subagent: spec('messageAgent', MessageSquareReplyIcon, 'agent', {
diff --git a/crates/openhuman-core/src/profiles/capabilities_tests.rs b/crates/openhuman-core/src/profiles/capabilities_tests.rs
index a92d99130f..528d1a5dde 100644
--- a/crates/openhuman-core/src/profiles/capabilities_tests.rs
+++ b/crates/openhuman-core/src/profiles/capabilities_tests.rs
@@ -7,7 +7,7 @@ fn profile_capabilities_deny_the_registered_spawn_tool() {
for name in tinyagents_definition::SPAWN_TOOL_NAMES
.iter()
.copied()
- .chain(["delegate", "delegate_graph", "continue_subagent"])
+ .chain(["continue_subagent"])
{
assert!(
!capabilities.admits_capability(name),
diff --git a/crates/openhuman-core/src/profiles/provider_settings_tests.rs b/crates/openhuman-core/src/profiles/provider_settings_tests.rs
index 27c8b4eb8b..386084cdc5 100644
--- a/crates/openhuman-core/src/profiles/provider_settings_tests.rs
+++ b/crates/openhuman-core/src/profiles/provider_settings_tests.rs
@@ -82,8 +82,6 @@ fn rejects_collisions_duplicates_unsafe_identifiers_and_alias_chains() {
"shell",
"spawn_subagent",
"spawn_async_subagent",
- "delegate",
- "delegate_graph",
"continue_subagent",
"memory",
"show_page",
diff --git a/crates/openhuman-core/src/profiles/tools.rs b/crates/openhuman-core/src/profiles/tools.rs
index 721994c33e..84d2d6dff0 100644
--- a/crates/openhuman-core/src/profiles/tools.rs
+++ b/crates/openhuman-core/src/profiles/tools.rs
@@ -106,7 +106,6 @@ pub const HARD_DENIED: &[&str] = &[
"uninstall_workflow",
"create_skill",
"git_operations",
- "delegate",
"curl",
"pushover",
];
diff --git a/crates/openhuman-core/src/tools/ops_tool_groups.rs b/crates/openhuman-core/src/tools/ops_tool_groups.rs
index b6e8d43113..3256a6bbda 100644
--- a/crates/openhuman-core/src/tools/ops_tool_groups.rs
+++ b/crates/openhuman-core/src/tools/ops_tool_groups.rs
@@ -140,8 +140,6 @@ pub(crate) fn tool_group(name: &str) -> crate::core::all::DomainGroup {
|| matches!(
name,
"ask_user_clarification"
- | "delegate"
- | "delegate_graph"
| "delegate_to_personality"
| "todo"
| "wait"