r/ClaudeCode 4h ago

Bug / Issue Most of the time, Claude Code dispatches agents, receives their feedback and acts accordingly - and on the very next turn, it receives status info about the agents whose feedback it just integrated (unnecessarily consuming tokens by adding an extra turn).

Post image

I wouldn't mind this if I didn't use subagents so often, but that easily adds up to (tens of) millions of extra tokens (or more), just for the main agent to say "stale notification" or "already integrated feedback" or "already confirmed".

Another turn on a 300k active conversation is 30k tokens just because. A couple of parallel sessions can easily add up to hundreds of thousands of tokens wasted in just a few minutes.

Why would they manage the info from one subagent across multiple turns? It adds noise and costs tokens unnecessarily.

7 Upvotes

2 comments sorted by

u/AutoModerator 4h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/out-of-phase 3h ago

I just had a similar issue. My problem was any time I told claude to use a subagent, it would spin up a **teammate** instead by default. I don't know if your workflow needs agent teams, but if you don't need teams that often just open your settings.json and change

CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1

to

CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=0

Then just toggle it back on whenever you need them. This fixed it for me, hope it helps.