Skip to main content
Memory and Learning are different but complementary systems. Memory stores raw data, while Learning extracts actionable knowledge from it.

Key Differences


When to Use Each

Use Memory When

  • You need conversation context across sessions
  • You want to store/retrieve specific facts
  • You need entity tracking (people, places)
  • You want lightweight, zero-LLM-cost storage

Use Learning When

  • Agents should adapt to user preferences over time
  • You want pattern recognition across interactions
  • You need decision logging and rationale tracking
  • You want self-improvement proposals

API Comparison

Memory and Learning are peer-level systems — both are top-level Agent parameters:
learn=True auto-creates a minimal memory backend if memory= is not set. Learning works independently — you don’t need to configure memory to use it.

What Each System Stores

Memory Types

Learning Stores


How They Work Together

Memory provides the raw recall. Learning provides the adaptive intelligence on top.

Architecture

Both systems are first-class peers on the Agent:

Learning Modes


Memory

Complete memory guide — types, backends, API

Agent Learn

Learning stores, configuration, CLI

Context vs Memory

Context window vs persistent memory

Knowledge vs Memory vs Context

Full comparison of all data systems