Context Engineering Is the Job Now, Not Prompt Engineering
Prompt engineering optimized a sentence. Context engineering architects everything the model sees — memory, tools, retrieval, state. That shift happened in under a year, and most teams haven't caught up.
Two years ago the highest-leverage skill in AI development was writing a better sentence. You'd tweak a system prompt, add "think step by step," swap in a few-shot example, and watch accuracy jump five points. That was prompt engineering, and for a while it was genuinely the bottleneck — models were capable enough that the limiting factor was how you asked.
That bottleneck is gone. Not because prompting stopped mattering, but because it stopped being the hard part. The hard part now is everything around the prompt: what memory the agent can see, which tools it has access to on this particular call, what got retrieved from the knowledge base, what state survived from three turns ago, and what got silently dropped because the window filled up. The discipline that governs all of that — deliberately architecting an agent's entire information environment, not just the words in its instructions — is context engineering, and it's now the actual job.
The sentence stopped being the constraint
Prompt engineering treats the model as a black box you talk to correctly. It assumes the hard problem is phrasing: the right verb, the right example, the right chain-of-thought nudge. That was a reasonable assumption when agents were single-shot — one prompt in, one completion out, no memory, no tools, no state to manage.
Agents don't work that way anymore. A production agent today is running a loop: it reads a task, decides whether to call a tool, reads the tool's output, decides what to do with that output, maybe calls another tool, maybe writes to memory, maybe hands off to a sub-agent, and eventually produces an answer. At every one of those steps, something is being assembled into the model's context window before it ever generates a token. The prompt is one input among many. Get the tool descriptions wrong, or the retrieved documents wrong, or the memory summary wrong, and no amount of clever prompt phrasing recovers it.
That's the actual shift: the unit of engineering work moved from "the string I send" to "the system that decides what string gets sent." Prompt engineering is now a subroutine inside context engineering, not the other way around.
Why this happened so fast
This transition compressed into roughly a year — 2025 into 2026 — which is fast even by AI's standards. Two things forced it.
First, agents got genuinely agentic. As soon as a model is deciding, turn over turn, what to look up and what to do next, someone has to design the environment those decisions happen in. You can't prompt-engineer your way out of an agent that doesn't have the right document in front of it. The information either got assembled correctly or it didn't.
Second, teams started shipping agents into production and watching them fail in ways that had nothing to do with model quality. The same underlying model — GPT, Claude, Gemini, whatever — would perform beautifully in a scoped demo and then degrade badly once it was carrying a real conversation history, a real toolset, and real retrieved context. The failure mode wasn't "the model is dumb." It was "the model is drowning in the wrong information, and starving for the right information, at the same time." Most agent failures in 2026 are context failures, not model failures — and once teams internalized that, the org chart started to reflect it.
What context engineering actually covers
It's a wider job than the name suggests. Context engineering spans:
- Memory — what the agent remembers across turns and sessions, and in what form (raw transcript, summary, structured facts)
- Retrieval — what gets pulled from external knowledge sources and inserted into context for this specific call
- Tools — which functions the agent can call, how they're described, and how many are exposed at once
- State — what's tracked about the task itself (progress, decisions made, constraints established) separate from conversation history
None of these are prompt-writing problems. They're systems-design problems with their own failure modes: retrieval that surfaces the wrong chunk, memory that compresses away the one fact that mattered, a toolset so large the model can't tell which function actually applies. A prompt engineer optimizing wording on top of a badly designed memory system is polishing the wrong layer.
The budget problem underneath all of it
The reason context engineering is hard rather than merely additive work is that context is finite and every piece of it competes for the model's attention. This is the throughline for the rest of this series — the context window behaves like a budget, not a buffer — but it's worth stating plainly here: adding more context is not free. Every tool description, every retrieved paragraph, every turn of history you keep around is a cost, not just a potential benefit. Precision degrades as the window fills. The model starts missing things it would have caught with a leaner context.
That inverts the instinct most engineers bring from traditional software, where more available information is usually harmless. In context engineering, information you don't need is actively hostile to the information you do need.
What the role looks like in practice
Concretely, the people doing this work in 2026 are making decisions that look nothing like prompt tuning. They're deciding whether a capability should be a always-loaded tool or a document the agent retrieves on demand. They're deciding what belongs in a compact system prompt versus what belongs in a skill file the agent loads only when relevant — the same discipline behind Anthropic's SKILL.md pattern, where instructions are progressively disclosed rather than crammed into every call. They're auditing toolsets for overlap and pruning aggressively, because past a certain count, more tools measurably make agents worse at picking the right one. They're deciding what a sub-agent should investigate in isolation so the parent agent's window doesn't fill with intermediate noise. They're building memory systems that store structured, retrievable facts instead of betting that next year's larger context window will make the problem go away on its own.
None of that is captured by "write a better system prompt." It's infrastructure work wearing the same "talking to an LLM" clothes that prompt engineering used to wear, which is exactly why the transition has been so easy to miss from the outside.
What doesn't change
None of this makes prompt craft irrelevant — it's worth being precise about what actually moved. A well-written system prompt is still better than a badly written one at the same job. The instructions for how a sub-agent should format its report, the description that decides whether a skill gets loaded, the wording that tells the model how to weigh two conflicting retrieved passages — all of that is still, literally, prompt writing, and doing it well still matters. What changed is where that writing sits in the overall system. It used to be the whole job. Now it's one component embedded inside a much larger set of decisions about what surrounds it — and a beautifully worded instruction sitting inside a badly designed context system will still lose to a plainly worded instruction sitting inside a well-designed one.
The title lagged the work
Job postings are still catching up. Plenty of roles labeled "prompt engineer" in 2026 are, in practice, context engineers — the person is spending their days on retrieval pipelines, memory schemas, and tool taxonomies, and only occasionally touching the literal wording of a system prompt. The title just hasn't caught up to what the work actually became.
That gap is worth naming because it changes how you hire, how you evaluate agent performance, and where you look when an agent starts failing. If your instinct when an agent underperforms is still "let's rewrite the prompt," you're diagnosing a 2024 problem with a 2024 tool. The better first question in 2026 is: what did this agent actually see when it made that decision — and was that the right thing for it to see?
Part of the "Context Engineering" series on aiskill.market.