Knowledge Layer

Memory & State

Clarify one of the most confused areas of agent architecture.

Why This Matters

Teams collapse prompt history, vector memory, and workflow checkpoints into one word. Those are three different stores with three different failure modes.

Architecture Position

Memory sits in the Knowledge Layer; durable workflow state belongs to the Runtime Layer. Mixing them is how agents leak data and lose recoverability. See it on the architecture map.

Start Here

Core Concepts

Concepts

  • Context vs memory
  • Memory vs state

Memory Types

  • Working memory
  • Episodic memory
  • Semantic memory
  • Procedural memory
  • Long-term memory

Memory Systems

  • Extraction
  • Storage
  • Retrieval
  • Consolidation
  • Expiration

State

  • Conversation state
  • Workflow state
  • Agent state
  • Checkpoint state

Multi-Agent

  • Shared memory
  • Isolated memory
  • Shared workflow state

Security

  • Memory privacy
  • Memory poisoning
  • Cross-user leakage

Advanced

Advanced material

Deeper guides for this domain are on the way.

Coming Soon

Architecture Patterns

Applied patterns for this domain live in the pattern library.

Browse architecture patterns

Case Studies

Enterprise walkthroughs that apply this topic in a full system.

Browse case studies

Related Topics

Roadmaps

This topic appears in the Enterprise AI Architect path.

Follow the Enterprise AI Architect roadmap
Go deeper

Learn this as part of the Agent Systems Architecture course.

Need help applying this architecture to a real system?