Skip to main content

SETTING_COMPACT_AT

Constant SETTING_COMPACT_AT 

Source
pub const SETTING_COMPACT_AT: &str = "agent:compactat";
Expand description

agent:compactat: the context size, in tokens, at which Claude agents auto-compact. 0 leaves Claude Code’s own point (the window minus 33K, about 967K on a 1M window). docs/specs/SPEC_AGENT_SELF_COMPACTION_2026_10_23.md §3.1.