Skip to content
Docs

Memory

What Vixi keeps about you, how it finds the right fact, and how you change or remove it.

The memory tree

Vixi stores memory as a tree of Markdown files on your private volume. Each topic is a file, and each fact in it has an ID that stays the same.

The memory treeThe memory tree has about, preferences, people, projects and learning. People, projects and learning contain a file for each name.Your memoryaboutFacts about youpreferencesHow you like itpeopleOne file eachprojectsOne file eachlearningOne file eachpeople/samprojects/gardenlearning/spanish

The agent uses one tool, memory_tree. It can remember, read, search, update, forget, move, merge and describe. You can view and edit the same memory in the app.

How facts are saved

Facts are saved in two ways:

  • The agent can save a fact while it works on your request.
  • After a turn, a background writer can save useful facts it missed. The writer is off for school accounts, and when Vixi can't confirm an account's safety settings.

Memory refuses passwords and other secrets it recognizes. It also refuses text it recognizes as an attempt to give the assistant instructions. Automatic checks can make mistakes, so review your memory from time to time. Some rules for sorting facts about people work best in English.

Sensitive facts

LevelWhere the fact can appear
NormalThe profile or recalled facts, when useful
PersonalSaved with a personal label, and needs stronger evidence of regular use before it moves to long-term memory
SensitiveOnly in recalled facts, when your request is about it. Never in the general profile or shared chats.

Vixi also checks the wording of each fact. The model can't give a fact a lower level than that check does.

Search and recall

Two steps bring memory into a turn. First, Vixi adds a short outline and a few matching facts. If the agent needs more, it can search.

Memory recall and searchYour message goes through word and meaning matching to choose a few facts for the turn. If the agent needs more, memory_tree search looks through saved facts and your past messages, and session_search looks through past chats.1. Before the replyYour messageMatch factsBy word and meaningAdd to the turnOutline and top facts2. If the agent needs morememory_tree searchSaved facts andyour past messagessession_searchFull-text search of past chatsNot available in shared chats

Vixi combines word matching with embeddings, which compare meaning. Embeddings need the model proxy and an embedding model. Without them, search still matches words.

memory_tree search can return your own past messages word for word. session_search uses SQLite FTS5 to search past chats. The agent is told to check the current chat first, then memory, then other chats.

On the memory benchmarks, giving the model the full history scored higher than Vixi's memory. See the results.

Dates and the archive

A fact can have an until date. It stays in memory for 7 days after that date, then moves to the archive. It isn't deleted at that point.

Kind of factWhen it moves
Has an until date7 days after the date
Short-term, no dateAfter 14 days
About one eventAfter 90 days
Project with no activityAfter 120 days

Archived facts are kept for 365 days. A value that was replaced by a newer one is kept for 90 days.

Change or forget

You can edit or remove a fact in the app, or ask Vixi to change it. When you forget a fact, it is removed from the memory tree, its search data and the archive.

Once you have 15 facts, Vixi offers a memory review about every 90 days. Nothing changes until you select Apply.