The original is one click away. Open original ↗
The Hidden Power Behind Every ‘Smart’ AI Tool
Executive overview
Most AI tools fail not because of bad prompts, but because the AI lacks the right information. Context engineering is the practice of determining what data the AI has access to, how much of it, and when to inject it — built on top of prompt engineering, not replacing it.
Prompt engineering shapes how the AI responds (roughly 1% of the data it sees). Context engineering determines what it works with (the other 99%). The analogy: a random assistant knows nothing about you; a long-tenured one with all your documentation knows exactly what to do.
The core insight: in complex AI applications, the prompt is just the tip of the iceberg — controlling the surrounding context is what separates mediocre tools from ones people can't stop using.
What context engineering is
- Context engineering is an evolution of prompt engineering, not a replacement — prompting is table stakes; context builds on top.
- Prompt engineering shapes how the AI responds; context engineering determines what it has to work with.
- Sources of context include corporate data, user memories, past conversations, tool outputs, external data, and domain-specific datasets.
- The skill is knowing exactly which data to inject, how much, and at which moment given the user's prompt.
- Two layers exist: deterministic context (what you control — prompts, uploaded docs) and probabilistic context (what the AI pulls dynamically, e.g. 280+ sources in deep research).
- Designing layer one effectively to guide layer two is the core architectural goal.
When to use it
- For most users (~80%), standard prompting with minor context additions is sufficient.
- Full context engineering is relevant for ~5% of users building agentic or robust automated applications.
- Diagnostic question: is the problem ignorance (missing data) or instructions (bad prompts)? Fix instructions first — it's the easier win.
- Simple tasks with known information = prompt engineering plus a little context.
- Complex tasks with unknown or dynamic information = heavy context engineering.
- Agentic applications are almost always context-heavy by necessity.
- Guiding principle: build with prompts, scale with context — and always attach an eval before adding a new data source.
The spectrum in practice
- Left end: a one-off factual question with no files, no prior context — pure prompting.
- Middle: uploading a document to Claude or using a GPT project with a knowledge base — light context.
- Right end: an agentic system pulling calendar data, emails, files, and memories, taking autonomous actions — full context engineering.
- Most users sit near the middle without realising it.
Real-world examples
- Coding tools (Cursor, Windsurf, Claude Code): pull in codebase lines, terminal output, documentation, and editor rules alongside every prompt — heavy context engineering.
- Deep research (ChatGPT, Claude, Perplexity): the user's prompt is a tiny fraction of the 280+ sources the AI synthesises — probabilistic context at scale.
- Email agent example: a basic prompt produces a generic formal reply; a context-engineered agent checks calendar availability, reads email history for tone, reviews meeting notes, sends a calendar invite, then drafts a casual personalised reply — all before responding.
How to get started
- Audit your current AI use case: are you context-limited (ignorance) or prompt-limited (instructions)?
- If context-limited, start with one single data source (calendar, emails, docs).
- Define a measurable success metric for that source before adding it.
- Track accuracy improvement over time.
- Add additional sources one at a time, each with its own eval, only after the previous source is validated.
- Never add complexity for its own sake — complexity without evals creates unmeasurable debt.
The future of context engineering
- Auto context engineering: the AI autonomously selects and manipulates its own context based on the situation, reducing the need for a human context engineer.
- Context-aware ambient agents: always-on agents (e.g. a home Jarvis) that continuously consume environmental data, synthesise it into memory, and inject relevant context for any task or question — without explicit user instruction.
More like this — when you're ready for early access.
Join the waitlist for a personal account and content recommendations based on what you're working on.
No spam. Unsubscribe at any time.
You're on the list. We'll be in touch before launch.