Subject
The discipline that replaced clever prompts once context windows got large: deciding what information goes into the model's input, in what order, how much, and what to leave out. Includes the failure modes of long contexts and the memory patterns production systems use.
For the first few years of working with large language models, the job was prompt engineering: read the task, write the cleverest instruction, ship the model. As context windows grew from 4k to 200k to a million tokens, and as tool use and retrieval became standard, the bottleneck moved. Output quality stopped depending mostly on how you worded the instruction and started depending mostly on what else lived in the window alongside it.
That second job is what people now call context engineering.
Prompt engineering is sentence-level. Context engineering is system-level.
Concretely, context engineering covers:
A prompt engineer asks "what should the instruction say?" A context engineer asks "what should the whole input look like by the time the model sees it?"
Three things converged.
Context windows grew, but using them well stayed hard. Frontier models advertise 200k, 1M, even 10M tokens. Research like Liu et al.'s "Lost in the Middle" showed that the advertised window and the usable window are not the same number. Filling a long context is easy; making the model actually use the middle of it is not. Choosing what to include became more important than how to phrase the include.
Retrieval became standard. Once your application is reading from a knowledge base, the question stops being "what is the best phrasing?" and starts being "which five passages out of 50,000 should the model see?" That is a context problem.
Agents and tool use multiplied the input. Every tool call produces an observation that becomes part of the next turn's context. By turn 10 of a chatty loop, you can be carrying tens of thousands of tokens of intermediate state, and most of the model's output quality depends on what survived from earlier turns. That is a context problem too.
A few practical heuristics that fall out of the discipline:
Each linked article goes deeper on one piece:
Prompt engineering will not go away — the four levers from How to Prompt AI Effectively still matter. They just stopped being the whole job.
A short editorial reading list. Pick whichever fits how you like to learn.