Memory System
Kage uses a two-tier memory system to store and share context between agents.
Two-Tier Architecture
Working Memory
- In-memory, fast access
- Current session context
- Cleared on agent termination
Long-Term Memory
- Persisted to disk (append-only logs)
- Discoveries and learned patterns
- Survives restarts
Memory Types
Kage stores different types of memories:
Memory Scopes
Memories can be scoped to different levels:
agent- Private to one agentnamespace- Shared within namespaceglobal- Available to all agents (opt-in)
Context Injection
Inject context from one agent to another:
Filter by type or topic: