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
Evaluate Code Mode to batch independent tool calls #1987
Tool-heavy research turns can involve many serial tool calls, each requiring another model round trip and adding latency, cost, and repeated context processing. Independent provider/API lookups may be batchable, and filtering or joining results before returning them could also keep bulky intermediate data out of conversation history.
Proposal
Evaluate a Code Mode–style capability that lets the model compose one bounded execution to run independent tool/API calls, filter and join results, and return a compact result.
Scope and caveats
Start with independent MCP/provider lookups; establish which workflows are actually bundleable before implementing broadly.
This will not automatically solve sequential shell workflows or polling. Polling may need a wait/subscription mechanism, and any in-execution waits must be bounded.
This does not address unrelated context compaction, model routing, cache behavior, or backend latency.
Preserve existing authorization and credential boundaries for calls made within an execution.
Activity
feat(tools): Mark spawnAgent and messageAgent as modelOnly
feat(tools): Add codemode exposure and give modelOnly its meaning (#2529
feat(guardian): Review tool actions as a batch (#2530)
feat(codemode): Ship QuickJS files in Nitro Function output (#2531)
feat(codemode): Define Code Mode telemetry names (#2528)
sentry-junior commentedon Nov 9, 2026
Fixed on main: Code Mode shipped (#2528–#2531, #2539;
chat/codemode/).Closed during a tracker cleanup. Reopen if something here is still missing.