456
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