← Back to glossary
+Suggest a term
Concept·Agents & Automation·Added 15 days ago

Agent amnesia

Also known as: AI agent amnesia, coding agent amnesia, stateless context problem, agent forgetting

The tendency of AI coding agents to start each session with no knowledge of past decisions, fixes, or architectural context. The agent that helped you yesterday has forgotten everything by this morning.

Every AI coding session starts cold. The agent has no memory of the architecture decisions made last week, the bug that was just fixed, the patterns the team has agreed to follow, or the reasons a particular approach was rejected. This is not a failure of intelligence; it's a structural consequence of how most agents work. Each session gets a fresh context window and nothing else.

The problem compounds in multi-developer teams. Each engineer runs a private agent in sessions nobody else can see. The agent lacks the team-level insight that lives in Slack threads, PRDs, and senior engineers' heads. It may reintroduce architectural anti-patterns that were diagnosed and fixed weeks earlier simply because it has no access to that history.

Agent amnesia entered builder vocabulary as a named problem category in 2026, as coding agents went from novelty to daily-driver tools. The practical responses include memory middleware layers like claude-mem, structured context files like CLAUDE.md that persist project knowledge, and agent memory infrastructure that stores and retrieves session observations across days and sessions. The term neatly captures why scaling agentic coding isn't just about better models; it's about building memory infrastructure around them.

This definition is AI-generated and refreshed weekly. It may contain inaccuracies. Use your own judgment, especially for production decisions.
Related terms
Agent memoryMemory LayerContext compactionContext rotclaude-mem