Plugin

Memory Plugin

How the Memory plugin persists conversation history and context

Memory Plugin

The Memory plugin persists conversation history and long-term context for your Agent. Without it, the Agent starts fresh on every restart.

What it does

  • Stores session messages and conversation threads
  • Provides context retrieval for long-running conversations
  • Supports different memory backends (local file, database)
  • Enables cross-session continuity

Types of memory

  • Short-term — the current session context
  • Long-term — persisted facts and user preferences across sessions
  • Working memory — temporary data for the current task

Configuration

Whether the Memory plugin is active depends on whether the Agent registers it. You can configure storage backends through agent config or plugin constructor options.

Continue with: