Context and limits
An agent remembers a conversation only up to its context window. When the window is full, the agent compacts the conversation: it keeps a summary and drops the rest. Your subscription also has limits on how much you use in five hours and in a week. Allems shows both under the agent's name.
The context bar
The bar shows how full the agent's context is. Its ticks mark every 5%, its lines each quarter, and the window's size is at its right end, 1M or 200k.
What is in the context
Click the bar to see what the agent's context is made of and how it grew:
- What it is made of now, one bar: what is always there (the agent's own instructions and tools, your instructions, its tool servers and skills) and the conversation (the last summary, command output, the agent's thinking, its words). Point at a part to see what it is and how much.
- Your messages, a column each: how big the context was when the agent finished it. A gap is a compaction.
- The message you point at: its first words, its steps, what it added, and what it took Of the week's limit.
- The heaviest: the three messages that added the most.
- Compact: tells the agent to compact now, and says what it would leave.
All of it is for Claude Code; Codex has the columns and Compact. The shares of your limit are worked out from what this computer's agents spent, so another computer's use is not in them.
The limits
The row under the context shows how much of your subscription's limits is used.