AI Weekly Malaysia

Back to items Summaries

Claude Code regularly sends each background agent’s transcript to its model

ID
40693
Status
summarized
Published
29 Oct 2026, 11:33 AM
Fetched
29 Oct 2026, 6:04 PM
Provider
Hacker News
Category
dev-community
Original URL
https://gist.github.com/flamerix-ai/c3905705cc4205e5de3011fa2e74efce
Source URL
https://hnrss.org/best

Summary

Score
8.3
Created
29 Oct 2026, 6:05 PM
Tags
Audience
developersvibe_codersai_agent_users

What happened

A gist by Flamerix AI claims Claude Code sends every background agent's full transcript to that agent's own model (usually Opus) roughly every 30 seconds, just to generate a 3-5 word status line for the agents panel — a query that never feeds back into the conversation. The author puts the cost at ~15-20% of tokens, says there is no setting to disable it, and that it has been on by default since Claude Code 2.1.232 (August 2026); the workaround is a Bun preload script (BUN_OPTIONS=--preload no-agent-summary.js) that flips agent_summary off without patching the binary, tested on Linux against versions 2.1.257-2.1.312. The finding came from grouping claude_code.api_request events by query_source in Claude Code's OpenTelemetry export, and the HN thread drew 349 points and 106 comments.

Why it matters

If you run parallel background agents on Opus, a fifth of your token spend may be going to status-line labels you never read — the gist's fix is a one-line env var (plus `claude daemon stop --any` and a restart), but it's an unsupported preload hook that a version update can silently revert, so re-check after upgrades. Before adopting it, reproduce the claim yourself by grouping claude_code.api_request by query_source in your own OTel export rather than trusting the 15-20% figure, and treat token cost per agent as a line item you measure, not assume.

Discussion angle

The 15-20% number comes from one team's OTel data, not from Anthropic — what does your own claude_code.api_request breakdown by query_source show, and is a preload shim you have to re-verify after every Claude Code release an acceptable workaround or a sign to cap concurrent background agents instead?

Top