Section 2 — Sessions, Context Windows & Turns

    Context window

    Matt Pocock
    Matt Pocock

    Everything the model sees on each model provider request. Finite, model-specific, and the only surface through which the model perceives anything.

    Avoid: "memory" — the context window is working state and doesn't persist across sessions. Memory is a separate concept layered on top.

    Usage:

    "Can I just paste the whole monorepo into the prompt?"

    "The context window's 200k tokens — that's maybe a fifth of the repo. Pick the files the task touches, leave the rest behind a tool call."

    Want more than vocabulary?

    Join AI Hero for practical skills, thinking on AI engineering, and resources that keep you ahead of the curve.

    I respect your privacy. Unsubscribe at any time.

    Share