Memory

Use memory when an agent needs persistent context across runs or sessions.

What memory is

Memory is opt-in persistent context. When it's enabled on an agent, the runtime injects relevant memory into the prompt at run time and gives the agent tools to read and write it.

Providers

Built-in memory providers are local to the daemon and inspectable from the dashboard. External memory services should be connected as an MCP server rather than dropped in as a built-in provider.

When to use memory

Use memory for durable preferences, recurring project context, and facts that should survive a single chat session. Do not use it as a replacement for source files, logs, or explicit task instructions.