Context Engineering
Context Engineering vs Prompting
Context engineering is the discipline of designing everything a model sees, not just the user-facing prompt: it encompasses system instructions, conversation history, retrieved documents, tool definitions, few-shot examples, and tool results that together shape model behavior. Prompt engineering focuses narrowly on crafting individual instructions, but in agentic systems the user's prompt is a small fraction of the total context; the majority arrives dynamically from tool results, retrieved data, and conversation state. Mastering context engineering means architecting the entire information environment the agent operates within, which sets the ceiling of what the agent can accomplish regardless of the quality of the underlying model.
resources
Context Engineeringsimonwillison.netSimon Willison's influential framing of context engineering as a discipline distinct from prompt engineering (simonwillison.net)Prompt Engineering Guidepromptingguide.aiComprehensive resource covering prompting techniques that form the foundation of context engineering (promptingguide.ai)Anthropic Prompt Engineering Guidedocs.anthropic.comAnthropic's official guide to designing effective prompts and context for Claude (docs.anthropic.com)OpenAI Prompt Engineeringplatform.openai.comOpenAI's best practices for getting better results through context design (platform.openai.com)