Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.165 Home All releases olderv2.1.163 v2.1.166newer

Subagent Sessions Identified in Billing Attribution Header

The x-anthropic-billing-header sent with every API request now includes cc_is_subagent=true; when the request originates from a subagent session rather than the top-level interactive session. The main CLI session is tagged isMainSession: true internally; any agent that lacks that flag gets the subagent marker appended.

This is an internal attribution change with no user-visible behavior. It helps Anthropic distinguish API usage generated directly by the user from usage generated by orchestrated subagents, which improves billing analytics and usage reporting.

Evidence

Attribution header builder now appends cc_is_subagent=true; for non-main-session callers (search for "cc_is_subagent=true;" in the source); main session agent config now sets isMainSession: !0.

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.165 →