From 16f49ccd7f72b158eebe18b641005b038e7f2df2 Mon Sep 17 00:00:00 2001 From: surajs-oai Date: Thu, 17 Sep 2026 17:26:50 +0000 Subject: [PATCH] Relax delegation guidance in the v2 `spawn_agent` description (#46264) Remove the default description's instruction to spawn agents only for concrete, bounded subtasks that can run independently alongside useful local work. GitOrigin-RevId: cbceed13c738b0f84fb90c053fa9285f541d578b --- codex-rs/core/src/tools/handlers/multi_agents_spec.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/codex-rs/core/src/tools/handlers/multi_agents_spec.rs b/codex-rs/core/src/tools/handlers/multi_agents_spec.rs index 0507b28336..52c24f8f06 100644 --- a/codex-rs/core/src/tools/handlers/multi_agents_spec.rs +++ b/codex-rs/core/src/tools/handlers/multi_agents_spec.rs @@ -762,7 +762,6 @@ fn spawn_agent_tool_description_v2( You are then able to refer to this agent as `task_3` or `/root/task1/task_3` interchangeably. However an agent `/root/task2/task_3` would only be able to communicate with this agent via its canonical name `/root/task1/task_3`. The spawned agent will have the same tools as you and the ability to spawn its own subagents. {inherited_model_guidance} -Only call this tool for a concrete, bounded subtask that can run independently alongside useful local work; otherwise continue locally. It will be able to send you and other running agents messages, and its final answer will be provided to you when it finishes. The new agent's canonical task name will be provided to it along with the message.