Skip to content

Feature Request: Runtime Toggle to Disable Automatic Subagent Spawning#1639

Open
moaedy wants to merge 1 commit into
agent0ai:mainfrom
moaedy:fix/feature-request-runtime-toggle-to-disabl-1638
Open

Feature Request: Runtime Toggle to Disable Automatic Subagent Spawning#1639
moaedy wants to merge 1 commit into
agent0ai:mainfrom
moaedy:fix/feature-request-runtime-toggle-to-disabl-1638

Conversation

@moaedy
Copy link
Copy Markdown

@moaedy moaedy commented May 14, 2026

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 #1638

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Runtime Toggle to Disable Automatic Subagent Spawning

1 participant