Block IX · Agents that work on their own · Lesson 49
Memory for agents: so they don't start from scratch
You'll see how to get an agent to remember what matters even when you clear the session: local memory, task lists that agents understand and status notes shared between several agents.
- 11 min
- 9 animated slides
- 4-question quiz
- Narrated in 6 languages
What you'll see in this lesson
- Why your agent forgets everything
An agent only knows what's in its context: if you clear the session, it starts from scratch unless it saved something outside.
- Engram: local memory for coding agents
Engram, by Gentleman Programming, is a single program that gives persistent memory to almost any agent through MCP.
- claude-mem: automatic layered memory
claude-mem records what the agent does without being asked and feeds it back little by little in the next session.
- mem0: memory for your own apps
If you build your own agent or chatbot, mem0 adds per-user memory with two functions: add and search.
- Local or cloud memory
Locally, your data never leaves home; in the cloud, you share it across teams and people without setting anything up.
- Beads: tasks that agents understand
Beads, or bd, is a task manager for agents: it stores each task with its dependencies and tells them what they can do now.
- Backlog.md: the board in markdown files
Backlog.md stores each task as a .md file in your project and gives you a board to review them with your agents.
- Several agents, one memory
When several agents work on the same project, they must all read and write in the same places, without stepping on each other.
- Summary: agents that don't start from zero
Memory outside the context, retrieved on demand, and shared tasks that every agent understands.
Tools and concepts
- Engram
- claude-mem
- Beads
- backlog.md
- mem0
Sign in with your Google account to access this lesson and the whole course.