How Markus Agents Remember Everything — The Tulving Memory Architecture
By Markus Engineering Team — Tue May 12 2026 00:00:00 GMT+0000 (Coordinated Universal Time)
How Markus Agents Remember Everything — The Tulving Memory Architecture TL;DR: Most AI agents suffer from "goldfish memory" — every conversation starts from scratch, every task execution erases the last. Markus solved this by implementing Endel Tulving's three-layer memory classification as a production-grade agent memory system: procedural memory (identity), semantic memory (knowledge), and episodic memory (history). This is the only open-source AI agent platform with a complete three-layer cognitive memory architecture. 1. The Goldfish Memory Problem Every developer who has worked with LLM-based agents has faced the same frustration: the agent doesn't remember what it did five minutes ago. You close a chat, open a new one, and it's like you're talking to a stranger. The agent can't recall the specific config you asked it to set up yesterday, the coding conventions it adopted last week, or the project context it painstakingly assembled in the previous session. This isn't a flaw in the LLM — it's a product of the fundamental design of how agents are built. Most agent frameworks treat every interaction as an isolated episode. The LLM's context window is the only memory, and when that window closes (session ends, task completes, browser tab closes), everything vanishes. In cognitive psychology, Endel Tulving (1972, 1985) established that human memory is not a single monolithic store but three distinct, interacting systems: Memory System Human Analogy What It Stores Durability Procedural Muscle memory, skills How to do things — identity, behavior, rules Most stable, changes slowly Semantic Facts, concepts, knowledge What you know — organized information Learns, consolidates Episodic Personal experiences, timeline What happened — indexed life events Grow continuously, searchable Most AI agent platforms implement at best one of these — usually a crude approximation of episodic memory (chat logs). None implement all three as a coherent, production-grade system. Markus is the first open-source AI agent platform to implement all three Tulving memory layers as a fully integrated, agent-managed, persistently stored architecture. This is not a research prototype — it's the production memory backbone running every agent in the Markus digital workforce platform. 2. Procedural Memory — "How the Agent Operates" The Identity Store In Markus, procedural memory is the Identity Store — a file at ~/.markus/agents/{id}/role/ROLE.md that defines every aspect of how an agent behaves. It contains the agent's persona, expertise domain, behavioral rules, and operational patterns. This is the most stable layer of the memory system, and it shapes all cognitive preparation the agent performs. Source: ARCHITECTURE.md §3.4 — Identity store "Who the agent is. Shapes all cognitive preparation." The Identity store includes: ROLE.md — The agent's role definition and system prompt. Loaded first and always pre…