Definition
What is Context Drift?
Last updated
The gradual loss of task-relevant information as an AI agent's context window fills with accumulated history.
Context drift occurs when new tool outputs, observations, and messages push critical information like the original task goal or early decisions out of the model's effective attention range. Unlike hitting a token limit, drift degrades performance silently. Studies attribute 65% of enterprise agent failures to context drift during multi-step reasoning rather than raw context exhaustion.
Further reading
Articles about Context Drift
AI agent reliability is a context problem
AI agent reliability fails because the same task assembles different context every run. Non-determinism is a context engineering problem, not a model flaw.
How prompt caching cuts AI agent costs by 90%
Prompt caching reduces AI agent API costs by up to 90% and latency by 31%. Here's how it works, where it breaks, and how to implement it right.
All terms
View full glossaryPut context into practice
Create your first context container and connect it to your AI tools in minutes.
Create Your First Container