Advanced · Systems
Memory-Native Agents
Visual diagram · (in preparation) · Math · (in preparation) · Worked example · 3 difficulty levels.
TL;DR. Agents architected around persistent, structured memory — episodic, semantic, and procedural — rather than treating memory as a bolt-on retrieval index.
Technical Definition
Agents architected around persistent, structured memory — episodic, semantic, and procedural — rather than treating memory as a bolt-on retrieval index.
How it works
First-generation agents had a context window plus a vector store; memory-native agents are designed from the start around what to remember, forget, and consolidate. They maintain episodic memory (what happened in past sessions), semantic memory (distilled facts and preferences), and procedural memory (learned workflows that worked), with explicit consolidation passes that promote raw episodes into durable knowledge and decay stale beliefs. The payoff is continuity — the agent genuinely improves with use — and the risks are privacy, cross-tenant leakage, and memory poisoning, where an adversary plants a false memory the agent later trusts.
Related Concepts
- Persistent Background Agents — Long-running autonomous agents — such as Meta's Muse Code and Replit's Agent 4 — that build, debug, and ship software over days from a single natural-language instruction.
- Memory Poisoning — An attack that plants false or malicious entries in an agent's persistent memory so they are trusted and acted on in later sessions.
- Agent Memory — Information an agent retains beyond the current context window — episodic history, learned facts, preferences, and task state.
- Persistent Agent Context — Context that survives beyond a single session — durable goals, preferences, project state, and accumulated knowledge.