Originally written in French. Translated by AI — the meaning has been preserved, not the prose.
Short definition
Designing the system that decides what a language model needs to know, when, with which tools and within which limits, to carry out a task.
Full definition
The term took hold in contrast to prompt engineering. Prompt engineering is about how a request is worded; context engineering is about everything that accompanies that request in the model's window: durable instructions, conversation history, tool descriptions, skills, memory, retrieved documents.
In the articles on this blog, the term designates design work, not writing: separating durable rules from task-specific information, retrieving the latter only when needed, filtering technical output, monitoring the context budget, choosing the model according to how difficult the work is.
Usage in the field
Used in discussions of the cost and reliability of coding agents, and of the design of agentic systems.
Synonyms and variants
Context design.
Not to be confused with
- prompt engineering — the craft of wording a single request to get the best answer from a model.
- Harness — the tool that orchestrates the model's work and in which context engineering is carried out.
Examples
Loading a project's conventions into the context at every session, but retrieving an API's documentation only when a task touches it.
Ambiguities / debates
The term is sometimes used as a mere refreshed synonym for prompt engineering; here, it designates the move from wording to designing the system.