agent-zero icon indicating copy to clipboard operation
agent-zero copied to clipboard

Feature Request: Runtime Toggle to Disable Automatic Subagent Spawning

Open moaedy opened this issue 6 months ago • 0 comments

Summary

Root cause: tools/call_subordinate.py always spawned a subordinate when invoked, with no way to keep a manually designed multi-agent setup frozen at runtime.

Change: Added a subagent_spawn_locked boolean setting in helpers/settings.py (default False), gated Delegation.execute in tools/call_subordinate.py to short-circuit with a clear refusal Response when the setting is on, and exposed the toggle in the Advanced section of webui/components/settings/agent/agent.html.

Closes https://github.com/agent0ai/agent-zero/issues/1638

moaedy avatar May 14 '26 15:05 moaedy