Skip to content Skip to footer

Memory, Context, and What Comes After Prompt Engineering

Somewhere in the last year, the craft of prompt engineering quietly stopped being the most valuable AI skill on a team. The prompts still matter — but they’re a smaller and smaller fraction of what makes an AI system work well. What matters now is what surrounds the prompt: the memory, the retrieved context, the user profile, the task state, the provenance trail. The discipline is moving from writing good instructions to architecting good context.

This isn’t a rebranding. The skill underneath is genuinely different. A good prompt engineer learned to coax specific behaviours out of a model with clever wording. A good context architect decides what the model should know about this user, this session, this task — and what it shouldn’t — and builds the systems that assemble that context reliably. The first is a craft you practise on your own; the second is infrastructure you build with a team.

An abstract long-term memory visualisation — a dense lattice of interconnected light points with persistent pathways between them, suggesting episodic
Five shifts defining the new discipline of context architecture:
  1. Memory is a product decision, not a technical detail. How much does your system remember about a user, for how long, for what purpose? These are not questions for an engineer to answer alone. Product, legal and security all have strong opinions, and the architecture has to reflect every one of them. The systems we see working best have this decided explicitly in week one, not patched in later.
  2. Context budget is the new token budget. Long context windows created the illusion that you can just throw everything in. In practice, relevance matters more than inclusion — a focused 8K-token context beats a bloated 128K one on most real tasks, measurably. Deciding what not to include is the core craft.
  3. Retrieval is now multi-stage, multi-source. The RAG pipeline from 2023 — a vector store, a similarity search, a stuffed prompt — looks primitive next to what teams are actually running. Hybrid retrieval, cross-encoder reranking, agentic query decomposition, and domain-specific retrievers per source are all table stakes now.
  4. Provenance is a first-class citizen of the context. Every piece of context that reaches the model needs a source, a timestamp and a confidence marker. When a downstream decision goes sideways, being able to reconstruct which facts the model saw and where they came from is the difference between a quick fix and a several-week investigation.
  5. User consent and PII controls are part of the architecture. What a system is allowed to remember about a user varies by jurisdiction, by consent state, by data class. Teams treating this as an afterthought are building compliance debt. Teams treating it as a first-class architectural concern are the ones shipping in regulated environments without drama.
A calm context-assembly composition — distinct streams of information converging with precision into a single focused beam, suggesting contextual cura

Prompt engineering isn’t dead — good prompts still matter, and teams writing sloppy ones still pay for it. But the leverage has moved upstream, to the context that surrounds the prompt. The most interesting AI engineering problem of the next two years is not “how do I ask the model a better question.” It’s “how do I build a system that gives the model exactly the right amount of the right information, at the right time, with the right provenance trail.” That problem is infrastructural, and the teams treating it as such are the ones getting ahead.

Leave a comment

0.0/5