Trend · August 18, 2026
Context engineering is the new prompt engineering
As models got better at following instructions, the hard problem moved: deciding what goes into the context window, in what order, on every call.
- AI
- RAG
- Context
- LLM
Solidslate AI · 7 min read
Prompt engineering as a craft is fading, not because it stopped mattering but because the models got good enough at following clear instructions that clever phrasing buys you very little. The work that actually moves quality now is upstream: what information is in the context window when the model runs, where it came from, and how it is arranged.
This is context engineering, and on real systems it is where most of the effort goes.
The context window is a budget
Even with large context windows, more is not better. Models attend unevenly across long inputs, cost scales with tokens, and irrelevant material measurably degrades answers. Every call is a decision about what earns its place: system instructions, retrieved documents, prior turns, tool results, examples. Treat it like a budget with line items.
Retrieval is a pipeline, not a vector search
- Query rewriting so the search reflects intent, not the raw message
- Hybrid retrieval, keyword plus semantic, because pure vector search misses exact terms
- Reranking to put the few genuinely relevant chunks at the top
- Deduplication and compression so you are not spending tokens on near-copies
- Citations carried through so the answer can be checked
Order and structure matter
The same facts produce different answers depending on placement. Instructions and the most important context near the start and end, clear delimiters between sources, consistent formatting. This is unglamorous and it is worth measuring.
Long context did not kill retrieval
Being able to fit a whole codebase or knowledge base in the window does not mean you should. Retrieval that selects the right 5% is faster, cheaper and usually more accurate than dumping everything in.
Agents make it harder
In an agent loop the context is rebuilt on every step and fills with tool outputs, some of them large and mostly useless after they are read. Teams are adding context management as an explicit component: summarising completed steps, dropping stale tool results, keeping a compact running state. Without it, long-running agents drift and slow down as the window fills.
How to get better at it
- Log the exact context sent on every call, not just the user message
- When an answer is wrong, look at the context first, the model is usually working with bad inputs
- Measure retrieval quality separately from answer quality
- Set a token budget per call and enforce it
Keep reading
Related pieces
Trend · August 25, 2026
Agentic AI is moving to production, and it breaks the old playbook
The industry moved from single-shot prompts to agents that plan, call tools and act over many steps. That shift changes what you build around the model.
ReadTrend · July 15, 2026
Small, specialised models are quietly winning
The reflex is to reach for the biggest frontier model. For many production tasks a smaller open-weight model, fine-tuned, is faster, cheaper and good enough.
ReadGuide · April 22, 2026
Evaluating an AI feature before you ship it
A prototype that looks good in a demo tells you almost nothing about production behaviour. Here is how to build an evaluation that does.
ReadBuilding on top of an LLM?
Tell us what you're working on. We come back within two business days with a point of view and next steps.