563
Dictionary

Long-Term Memory

Persistent state an agent carries between sessions.

1 min readupdated 2026-07-04

/ quick answer

Long-term memory stores facts, preferences, and past interactions in a database (often vector + key-value) so the agent can recall them across sessions without stuffing them into every prompt. Persistent state an agent carries between sessions.

Persistent state an agent carries between sessions. Long-term memory stores facts, preferences, and past interactions in a database (often vector + key-value) so the agent can recall them across sessions without stuffing them into every prompt. In practice: A personal assistant remembers 'user prefers 30-min meetings' and applies it forever. This dictionary node is part of the Onexial knowledge graph and links to related concepts, workflows and tools below.
Definition
Long-term memory stores facts, preferences, and past interactions in a database (often vector + key-value) so the agent can recall them across sessions without stuffing them into every prompt.
Example
A personal assistant remembers 'user prefers 30-min meetings' and applies it forever.
Related Tool Stacks
/ frequently asked

What is Long-Term Memory?

Long-term memory stores facts, preferences, and past interactions in a database (often vector + key-value) so the agent can recall them across sessions without stuffing them into every prompt.

What is an example of Long-Term Memory?

A personal assistant remembers 'user prefers 30-min meetings' and applies it forever.

Why does Long-Term Memory matter for AI and automation?

Persistent state an agent carries between sessions. It connects to the workflows, prompts and tool stacks linked on this page, so you can move from definition to execution without leaving Onexial.

/ topics#ai#agents

/ continue exploring

Related concepts

The vocabulary this page depends on.

  • Episodic Memory

    Session-scoped memory of specific past events.

  • MCP (Model Context Protocol)

    Open protocol that lets LLMs connect to tools, data sources and apps through a standard interface.

  • Agentic RAG

    RAG where an agent decides what to retrieve, when, and from which source — instead of a single static query.

  • Agentic Workflow

    A workflow where an LLM decides the next step instead of a hard-coded path.

all dictionary

Related workflows

Turn this into a repeatable process.

all workflows

Related tool stacks

The tools that run it in production.

all tool stacks

Comparisons & alternatives

Pick between the options.

all comparisons