Memory across sessions
The idea: Memory lives outside the context window — notes files (like CLAUDE.md), saved facts, and retrieval — that the agent reloads on demand. The window is short-term; these are its long-term notebook.
What you'll be able to do: You can explain how agents persist memory across sessions (notes/files/retrieval) outside the context window.
The problem it solves: Close the session and the context is gone. So how does an agent 'remember' your project?
Builds on: What's in the context window, Managing the context
← Many agents: orchestrator & subagents · Next: An LLM feature in production →
All lessons