Persistence Overview
Persist agent state to resume sessions and maintain context across runs.What Gets Persisted
- Memory: Conversation history and context
- Session State: Current task progress
- Checkpoints: Intermediate results
- Configuration: Agent settings
Quick Start
Persistence Backends
| Backend | Use Case | Setup |
|---|---|---|
| SQLite | Local development | persistence="sqlite" |
| PostgreSQL | Production | persistence="postgresql" |
| Redis | High-performance | persistence="redis" |
| MongoDB | Document storage | persistence="mongodb" |
Related
- Database Setup - Configure backends
- Session Resume - Resume sessions
- Session Module - Full API reference

