Context engineering

Progressive disclosure

Progressive disclosure is revealing detail to the model only when it is needed, via pointers and on-demand loading, instead of putting everything into context up front. It saves window space and attention.

James Phoenix
Understanding Data Updated July 2, 2026

Progressive disclosure means showing the model detail only when it needs it, instead of loading everything into context up front. You give the agent a short overview now and a way to fetch depth on demand.

Why not just include everything

Because context is not free. Every token you load competes for the same context window and spreads the model's attention thinner across everything else in there. A prompt stuffed with material the agent never touches on this task is pure cost: slower, pricier, and easier to get lost in.

In practice progressive disclosure looks like:

  • A skill the agent loads only when the task calls for it.
  • A context pointer (a path or link) it opens if it turns out to be relevant.
  • A one-line summary now, with the full document a single tool call away.

The payoff

The agent works from a lean, relevant context and reaches for detail on its own terms. You get the reach of a large knowledge base without paying to keep all of it resident, and without burying the few facts that matter under the many that do not.

Note
More context is not more help past a point. Curated and on demand beats exhaustive and up front, especially on long tasks where the model's attention is already stretched.

Related terms

Building with AI agents?

This dictionary is part of how I think about agentic engineering. If you want the same thinking applied to your codebase, that is what I do.

See how I can help