The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs(delegation): list start_chat among the tools subagents cannot call
alt-glitchaf1f277c3180
diff --git a/tools/AGENTS.md b/tools/AGENTS.mdindex 922bb26685b..5ea956f6667 100644--- a/tools/AGENTS.md+++ b/tools/AGENTS.md@@ -130,7 +130,7 @@ completion by default; with `delegation.independent_completions` it is split inttask reports alone as it finishes. Units of one call share ONE pool slot (`slot_key` in`async_delegation._dispatch`) — never count units against capacity; the executor is sized by live UNITSand the stall clock arms when the runner starts, so a queued unit is never judged stalled. Roles: `leaf` (default;-no `delegate_task`, `clarify`, `memory`, `send_message`, `cronjob`; keeps `execute_code`) and+no `delegate_task`, `clarify`, `memory`, `send_message`, `cronjob`, `start_chat`; keeps `execute_code`) and`orchestrator` (keeps `delegate_task`; gated by `delegation.orchestrator_enabled`, bounded by`delegation.max_spawn_depth`, default 2). Config knobs under `delegation:`:`max_concurrent_children, independent_completions, max_spawn_depth, child_timeout_seconds, orchestrator_enabled,diff --git a/tools/delegate_tool_toolsets.py b/tools/delegate_tool_toolsets.pyindex f4ed8e89875..8314d0256f1 100644--- a/tools/delegate_tool_toolsets.py+++ b/tools/delegate_tool_toolsets.py@@ -18,7 +18,7 @@ DELEGATE_BLOCKED_TOOLS = frozenset("memory", # no writes to shared MEMORY.md"send_message", # no cross-platform side effects"cronjob_manage", # no scheduling more work in the parent's name- "start_chat", # no opening chats in the user's name+ "start_chat",])DEFAULT_TOOLSETS = ["terminal", "file", "web"]diff --git a/website/docs/user-guide/features/delegation.md b/website/docs/user-guide/features/delegation.mdindex ccc0bc849a1..b76aeab2740 100644--- a/website/docs/user-guide/features/delegation.md+++ b/website/docs/user-guide/features/delegation.md@@ -574,7 +574,7 @@ For **durable execution** that must survive session closure or process restart,- Each subagent gets its **own terminal session** (separate from the parent)- Subagents inherit the parent's enabled toolsets; the model cannot select or widen them per call- **Nested delegation is opt-in** — only `role="orchestrator"` children can delegate further, and only when `max_spawn_depth` is raised from its default of 1 (flat). Disable globally with `orchestrator_enabled: false`.-- Leaf subagents **cannot** call: `delegate_task`, `clarify`, `memory`, `send_message`, `cronjob`. Orchestrator subagents retain `delegate_task` but keep the other blocks. Both roles retain `execute_code` (programmatic tool calling) so children can batch mechanical work instead of burning reasoning iterations.+- Leaf subagents **cannot** call: `delegate_task`, `clarify`, `memory`, `send_message`, `cronjob`, `start_chat`. Orchestrator subagents retain `delegate_task` but keep the other blocks. Both roles retain `execute_code` (programmatic tool calling) so children can batch mechanical work instead of burning reasoning iterations.- **Cancellation follows ownership** — `/stop` or closing/resetting the owning session ends its background children and the synchronous descendants beneath them; each returns an interrupted completion carrying its partial output- Only the final summary enters the parent's context, keeping token usage efficient- Subagents inherit the parent's **API key, provider configuration, and credential pool** (enabling key rotation on rate limits)