Repository navigation
Setting to limit concurrent sub-agent runs #40929
nodir-malikov
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
T3 Code has no setting to limit how many sub-agents run at the same time. A parent thread can start many sub-agents in parallel. This can overload the machine and exhaust provider rate limits and usage quotas. Related: #18485 (memory growth while many agents run at the same time).
What exists today
orchestrator_capabilitiesreturnsfeatures.maxBatchThreads: 20.src/mcp/OrchestratorMcpService.ts(server 0.1.11).create_threadscall. It does not limit concurrent runs.t3_environment_preferences_updatehas no field for it. The only related field isbackgroundActivity.profile, and its effect on agents is not documented.Idea
Add a user setting, for example
maxConcurrentSubagents:t3_environment_preferences_update.delegate_taskcalls wait in a queue, or return a clear error. Say which one in the docs.Expected result
orchestrator_capabilities.An earlier issue (#40903) was closed as not planned, with a request to discuss feature ideas here.
All reactions