AIToday
Zenn AI/MLPublished: Oct 31, 2026, 06:00 JST

SurrealDB Agent Memory splits valid, known and system time

Send on LINE
SurrealDB Agent Memory splits valid, known and system time

3 Key Points

  1. What happened

    SurrealDB Agent Memory's official article presents a model splitting valid time, known time and system time; its three-temporal model uses valid_from/valid_until and as_of, and the REST API accepts observed_at.

  2. Why it matters

    Splitting the clocks makes history questions easier to organize, but it does not guarantee the underlying record is correct — SurrealDB says it is describing its own product's behavior, not a standard other systems share.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

A practical mismatch is the starting point: when old conversations or documents are imported into an AI's memory later, the date of the event and the date the AI learned about it can drift apart. An example makes this concrete — a log saying someone has worked at a company since April, imported in July, yields three distinct moments: April for validity, July for when the AI learned it, and the actual database write time for storage. Collapsing them into one date makes a question like 'did the AI know about this job in May?' hard to answer.

The piece also points to a real implementation discussion. A Graphiti developer reported Issue #1489 in May 2026 asking to separate event time from import time during backfill of old conversations, though the issue was later marked resolved upstream in July — so it is not evidence of a current defect. The takeaway is narrower: how timestamps are passed when importing past logs can become a design question.

The SurrealDB material is presented as that product's own design explanation. Its three-temporal model uses valid_from and valid_until for the validity period and as_of to trace what the system knew at a given point, while observed_at lets a caller supply a known time different from the import time. This is not a standard feature of every AI memory, nor a guarantee that dates are read correctly automatically — and keeping history is separate from being able to automatically correct a wrong memory.

FAQ
What are the three clocks in SurrealDB Agent Memory's model?
Valid time is when the fact was true in reality, known time is when the system learned it, and system time is when the database actually recorded it. SurrealDB's article gives these as answers to three different questions.
Can I set known time separately from import time?
Yes — the REST API accepts observed_at to specify a known time different from the import time. If you omit it, the import time is used.
Does splitting the dates guarantee the memory is accurate?
No. SurrealDB's article says the three fields help organize history questions, but they do not guarantee the facts are correct; if the original log's date is wrong or missing, valid time cannot be fixed.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Next articleMicrodosing the spirit of Anthropic: inside AI labs' skewed views