Overview
Memory is what separates a personal AI from a stateless chatbot. ArgentOS uses (Memory Unit) as its persistent memory system — a SQLite database with full-text search, significance scoring, and rich metadata that gives your agent long-term recall. Every important fact, preference, event, and relationship your agent learns is stored in MemU and can be recalled across sessions, channels, and time.Architecture
LCM (Within-Session)
DAG-based context compression — every message stored permanently, searchable even after compaction. Never lose context mid-conversation.
MemU (Across Sessions)
Persistent memory — facts, preferences, relationships recalled across sessions, channels, and time.
RAG Library
Uploaded knowledge — what was studied. Chunk, embed, ACL-scoped search.
SIS
Pattern consolidation — what was learned over time.
How Memory Works
Storing
When the agent encounters important information, it uses thememory_store tool to save it:
Recalling
When the agent needs context, it usesmemory_recall to search:
Bootstrap Injection
At session start, ArgentOS also injects relevant memories directly into the system prompt. This gives the agent immediate context without needing to explicitly search.Memory Database
MemU stores memories in a SQLite database at:Key Concepts
| Concept | Description |
|---|---|
| Significance | A 1-10 score indicating how important a memory is (higher = more important) |
| Entities | People, places, and things referenced in the memory |
| Identity fields | Emotional context, relationships, and personal attributes |
| Embeddings | Vector representations for semantic similarity search |
| Auto-capture | The agent automatically stores important information without being asked |
Deep Dives
Lossless Context Management
DAG compression with full recall — grep, describe, expand
MemU Architecture
Database schema, FTS5, embeddings
Semantic Search
How search and ranking work
Identity Fields
Rich metadata for nuanced recall
Architecture Lanes
MemU + RAG + SIS as one runtime system
PG+Redis Migration
PostgreSQL and Redis migration architecture
Profile Collapse
Automated deduplication of operational snapshots
Consciousness Memory
Experimental observation layer for consolidated knowledge
Health Runbook
Daily checks + incident triage
SIS Reliability
Consolidation reliability and observability
