Skip to content
Taku Docs

Version 1.4.0 (current)

How Memory stores and organizes

From a record to the memory graph, the board and the user card, and how search and deletion run through them.

Taku Memory is a standalone system app (org.agentos.memory) with its own UID and private SQLite database, and no internet permission. When it needs a model, it calls the model account you configured through the system assistant and Taku AI.

Four layers

LayerWhat it isProduced by
RecordsOriginal text from pages and notifications of chosen apps, with source, time, ID and revisionThe observation service and notification reading, stored locally
GraphPeople, events, tasks and items organized from new records, and the relations between themNightly organizing
BoardWhat is in progress, how far along it is and what people call itNightly organizing, from the graph
User cardYour habits, the people who matter to you and key dates, plus plans and deadlines for the next two daysNightly organizing, from the graph

Records

When the same page appears again, only lines that are new relative to its recent versions are stored. Records are kept forever by default, or for 1, 7 or 30 days. Editing a record keeps up to five previous versions.

The search box on Memories matches keywords. The assistant's search also uses an on-device vector model (bge-small-zh-v1.5 running offline through ONNX Runtime) and graph nodes, fuses them by rank, then expands one hop along graph relations.

Organizing

At 11 PM, the organizer sends what is new since the last run to the organizing model and updates the graph, then the board, then the user card. A missed hour is caught up later, and a failure is retried after 30 minutes. The organizing model writes the board and user card in Chinese.

The organizer writes, on graph nodes, the latest day to act (due), what missing it costs (stake) and whether you must attend (attend), and links what to think of together. The user card is picked per message when it is given to the assistant. "The next two days" comes from graph events, tasks and items due from today to the day after tomorrow; an item with due enters by that day, and when the list is full, things with deadlines stay.

Privacy rules apply before saving and before showing. Other people's health conditions, relationships, money and private plans to quit stay off the user card. Your own diagnoses, medication, income and accounts are not kept. Long numbers are masked, and instruction-like entries are dropped.

Deletion and correction

When you delete or edit a record:

  1. every graph node version citing it is voided;
  2. every board and user card version that may contain it is voided;
  3. organizing rewinds and runs again soon with the remaining records (and the edited text);
  4. results from a run that overlapped the deletion are discarded.

Items you delete from the board or user card are passed to the organizing model and are also blocked by name and similar wording before saving and showing, so they are not written back. Node IDs are never reused.

Speak up first

With Speak up first on, finishing nightly organizing triggers the bedtime brief, and a new notification is first compared with the user card on the phone, checking clashes only against times you must attend, before anything goes to the model. Once the model decides to speak, a faster model checks the reminder once. All of these calls run in temporary model threads with no tools and no assistant background.

Each reminder is stored in Memory with the background it was written from. When it is handed to the Agent, the system task service reads both back from Memory and queues one read-only task in the existing assistant.

Home feed cards

With Show on the home feed on, Memory builds each reminder into a card in the home feed's card format and publishes it to the Taku home feed, with no extra model call. With Let the home feed's AI design cards on, it instead passes a description to the home feed's AI, reads the card back to check that the buttons and text were not changed, and falls back to the fixed layout when they were. Memory records every card it publishes and takes it down when it expires, is removed or the switch is turned off. Before each card, after nightly organizing and when the Memory app opens, it reads back what you did with its cards and records that on the reminder.

For step-by-step use, see Use Taku Memory. For how the assistant uses this data, see Use Memory in an assistant task.

Research preview · Current availability

Documentation retrieval

Search the published documentation for excerpts and citations. This uses full-text retrieval, not LLM-generated answers.

Every result links to the original article. Read research ideas separately from verified capabilities.

Help and troubleshooting →
Was this article helpful?
Report an issue or give feedback

Delivery to the maintenance queue does not mean it has been handled. Feedback is retained for 90 days.

Built with Fumadocs

On this page