Overview
Understanding agent memory in SwiftClaw
Memory Overview
SwiftClaw provides persistent memory for agents to maintain context across sessions.
Memory Types
Short-Term Memory
Session-based context that expires after a period:
{
"memory": {
"shortTerm": {
"ttl": "1h",
"scope": "per-session"
}
}
}Long-Term Memory
Persistent storage across sessions:
{
"memory": {
"longTerm": {
"ttl": "30d",
"scope": "per-user"
}
}
}Memory Scopes
- per-user: Separate memory for each user
- per-session: Isolated session memory
- global: Shared across all users
Memory is automatically managed and optimized by SwiftClaw.
Next Steps
- Short-Term Memory - Session context
- Long-Term Memory - Persistent storage
- Memory Search - Semantic search
How is this guide ?
Last updated on