Every AI session runs out of something. Three limits are worth knowing, because they explain most of the moments when a session suddenly gets worse or stops.

Context window

The context window is how much the AI can hold in mind at once: your conversation so far, plus every file it has read in this session. It’s large, but it isn’t endless.

As it fills, the AI starts losing track of early details, repeating itself, or forgetting a decision you made an hour ago. Long sessions don’t fail all at once; they get vaguer.

Usage limit

Separately, your plan caps how much you can use in a stretch of time. Hit it and the tool says something like “usage limit reached”: you wait for the window to reset, or pay for more. (Buying extra credits mid-session can run out surprisingly fast. $5 doesn’t go far.)

Long contexts and high effort both use up your allowance faster.

Compacting

Compacting is when the AI summarizes the session so far and carries the summary forward, freeing up room in the context window. Claude Code does it with /compact, and most tools also do it automatically as the window fills.

It buys time, but a summary is a summary: details get dropped. Don’t count on compacting to keep something important.

What to do about all three

  • Keep what matters in files, not in the session. Decisions, plans, and notes saved to your folder survive any limit. A chat doesn’t. This is the reason to work in a persistent workspace.
  • Start fresh sessions often. One task, one session. A new session that reads your files starts sharper than an old one dragging three hours of conversation.
  • Arrange your files so a fresh session finds what it needs fast. That’s context engineering.

Covered in Seminar 1.