Why Memory?
Without memory, every session starts fresh. Your agents forget everything. With memory:- Continuity — Pick up where you left off
- Learning — Build on previous work
- Coordination — Share context between agents
Memory Structure
Querying Memory
Memory in Action
When an agent runs:Writing Good Memory
Memory files are markdown. Keep them structured:Memory Types
Agent Memory
Private to each agent:- Task history
- Learned preferences
- Work in progress
Squad Memory
Shared across agents in a squad:- Domain knowledge
- Coordination state
- Team decisions
Best Practices
Update memory after work
Update memory after work
Run
squads memory update <squad> after significant work.Keep it current
Keep it current
Stale memory is worse than no memory. Prune outdated info.
Structure consistently
Structure consistently
Use the same sections across agents for predictability.
Focus on context, not logs
Focus on context, not logs
Memory isn’t a log file. Store insights, not events.