(Next / Memory)

Memory

How Zephyrus extracts, stores and recalls long-term memory.

Updated Nov 5, 2026
On this page5

Memory gives the workspace continuity across conversations. It combines structured facts with vector retrieval, and every write is visible and deletable by the user.

What gets stored

  • Facts — short statements such as a preference or a project detail.
  • Episodes — summaries of past conversations.
  • Documents — chunked text with embeddings for retrieval.

Write path

Extract candidates

After a turn, the extractor proposes facts worth remembering. Candidates are short, self-contained and attributed to the conversation.

Deduplicate

New candidates are compared with existing facts. Near-duplicates are merged instead of appended.

Embed and store

Facts and document chunks are embedded with the configured embedding model and written to the vector store.

Read path

When a conversation needs context, Zephyrus embeds the query and retrieves the closest facts and document chunks. Results are ranked, filtered by score and injected into the prompt with source labels.

Terminal
curl "http://localhost:7000/api/memory/search?q=deployment+target"

Managing memory

Open Memory to browse, edit or delete entries. Deleting a fact removes it from the store and from future retrieval. Re-index documents after changing the embedding model.

Limits

SettingDefaultPurpose
MEMORY_MAX_FACTS5000Cap on stored facts
MEMORY_TOP_K8Results injected per query
MEMORY_MIN_SCORE0.35Minimum similarity

Tune these in .env and restart the API.