You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Parallel tool-call cap (20 per turn) is enforced by the harness but omitted from the agent system prompt #191
The Augment VS Code extension / agent harness enforces a hard ceiling of 20 parallel tool calls in a single model turn and cancels calls 21+ with Tool cancelled due to limit.
However, the built-in agent system prompt instructs the model to: Parallelize independent, bounded lookups in a single turn; sequence calls only when an earlier result determines the next input.
without stating that a 20-call per-turn cap exists. Because the model has no visibility into this harness-enforced limit, broad research turns emit >20 parallel tool calls and immediately dump red Tool cancelled due to limit failures in the chat UI on a brand-new session.
What did you expect to happen?
Any hard execution limit enforced by the Augment harness should be cascaded into the agent's built-in system prompt (or tool-calling instructions) automatically so the hosted LLM knows not to emit more than 20 parallel tool calls per turn, or excess calls should be queued into a second batch by the host instead of failing loudly.
Steps to reproduce
Start a new Augment Agent session in VS Code.
Give the agent a broad research prompt (for example, identifying multiple unfamiliar tools/components from an attached screenshot) where >20 independent lookups are plausible.
Observe the model follow the system prompt's parallelization instruction and emit >20 tool calls in one turn.
Calls 1-20 run; calls 21+ fail immediately in the UI with Tool cancelled due to limit.
Activity