Claude Code gateway hint headers for local routers

Parent: Mac local LLMs: Agent clients, context and compaction · Published reference · snapshot 2026-10-05

↓ Facts as markdownall context files

`x-claude-code-request-class` is sent on every request and has five values: `main` (a turn of the main conversation), `subagent`, `workflow` (an agent inside a workflow), `compaction`, and `auxiliary` (side requests such as session titles, classifiers and summaries).

These notes link each claim to its source. Some citations identify archived research reports that are no longer hosted on this site. A published reference means the content is available; it does not certify independent review or accuracy.Read the editorial policy and follow the sources before relying on a claim.

Facts

Children

← the whole tree · 3D view· how to read this page