Unified Memory
RadarOS provides a single unifiedmemory config that works identically across Agent, VoiceAgent, and BrowserAgent. All memory subsystems share one storage backend.
Quick Start
storage, you get:
- Session persistence — message history saved across runs
- Summaries — overflow messages automatically summarized
Full Configuration
How It Works
Memory operates in a cycle around each agent run:1. Context Assembly (Before Run)
MemoryManager.buildContext() gathers relevant data from all enabled stores and creates a context string injected into the system prompt:
2. Background Extraction (After Run)
After each run completes,MemoryManager.afterRun() fires in the background (non-blocking). It sends the conversation to a cheaper model (memory.model) to extract:
- New user facts and profile updates
- Entity mentions (companies, people, projects)
- Decision records
- Learnings worth remembering
3. Session Overflow
When the session exceedsmaxMessages, the oldest messages are summarized into a single summary entry, then removed from the session. This keeps the active history small while preserving context through summaries.
Works Everywhere
The samememory config works across all agent types:
Simplified API
For quick operations without dealing with individual stores, use the high-levelremember, recall, and forget methods:
Default Feature States
| Feature | Default | Requires |
|---|---|---|
| Sessions | ON | storage |
| Summaries | ON | storage |
| User Facts | OFF | userFacts: true |
| User Profile | OFF | userProfile: true |
| Entities | OFF | entities: true |
| Decisions | OFF | decisions: true |
| Learnings | OFF | learnings: { vectorStore } |
| Graph Memory | OFF | graph: { store } |
| Procedures | OFF | procedures: true |
Accessing Stores Directly
You can access individual stores via theMemoryManager:
Inspecting Memory Context
You can callbuildContext() directly to see what the model receives:
Cross-References
- Memory Stores — Deep dive into each store type
- Graph Memory — Knowledge graph with traversal
- Temporal Awareness — Fact validity and contradiction detection
- Composite Scoring — How memories are ranked
- Procedural Memory — Learning multi-step workflows
- Simplified API — remember/recall/forget convenience methods
- Cross-Agent Sharing — Shared memory in teams
- Context Budget — Token-aware allocation
- Memory Curator — Pruning, dedup, consolidation, and maintenance
- Storage Backends — MongoDB, Postgres, in-memory options