Technique
Context engineering
Deciding what information, tools and instructions an agent sees at each step, and keeping that context small and relevant.
What is Context engineering?
For people building agents and assistants who find that results depend less on the wording of one instruction than on what the model can see at each step.
- Use it when
- An agent works over many steps, and its results get worse as old messages, long files and tool results pile up.
- Watch out for
- More context is not better. Past a point, extra material distracts the model and raises cost; the skill is choosing what to leave out.
Written by our editors, last reviewed on .
How to start
- List what the model must know for the step in front of it, and nothing else.
- Keep long material in files or a store it can search, instead of in the conversation.
- Summarise or drop older steps as the work goes on.
Signals. What has been measured, and where.
Insufficient data
No trend history or community ratings have been measured for this entry. When they are, they will appear here with their sources.
Questions and answers. Context engineering, in short.
What is Context engineering?
Deciding what information, tools and instructions an agent sees at each step, and keeping that context small and relevant. For people building agents and assistants who find that results depend less on the wording of one instruction than on what the model can see at each step.
How do I start with Context engineering?
List what the model must know for the step in front of it, and nothing else. Keep long material in files or a store it can search, instead of in the conversation. Summarise or drop older steps as the work goes on.
When should I use Context engineering?
An agent works over many steps, and its results get worse as old messages, long files and tool results pile up.
What should I watch out for with Context engineering?
More context is not better. Past a point, extra material distracts the model and raises cost; the skill is choosing what to leave out.
- TechniquePrompt engineeringrelated to
More in AI agents. The highest heat this month first.
- AgentQwen Code
- SkillAgent Skills
- IntegrationAgent2Agent
- AgentGoogle Antigravity
- FrameworkPydantic AI
- IntegrationModel Context Protocol
Do you make Context engineering? Show its heat on your site
A small picture with this month’s heat, which updates by itself and links to this page. Paste one of these where you want it.
For a web page
<a href="https://aitrendsradar.com/topics/context-engineering"><img src="https://aitrendsradar.com/badge/context-engineering.svg" alt="Context engineering on AI Trends Radar" height="28"></a>For a README (Markdown)
[](https://aitrendsradar.com/topics/context-engineering)