Open Agent School · Public worked example

Effective Context: meaning and example

Welcome! Take one idea with you today.

Context capacity is the amount of tokenized material a model can accept for a request under its limits. Effective context is the information it can actually use reliably for the task. Capacity is a limit; useful recall is empirical behavior that depends on the model, information placement, distractions and the question.

Picture it: A synthetic museum guide has an 8,000-token window, with 2,000 reserved for instructions, tools and output. Six useful exhibit cards and four irrelevant cards each cost 500 tokens. In the deliberately poor packing order, irrelevant cards go first. You must keep essential evidence available without pretending this demonstrates model understanding.

What is easy to mix up?

Fitting is not reliable use. Long-context research demonstrates position-sensitive failures for evaluated models and tasks, but does not establish one universal failure curve for all current models. Test your own questions and positions.

Teaching example by Open Agent School. Source: Liu et al. - Lost in the Middle: How Language Models Use Long Contexts.