NEW

New University Course: SurrealDB for AI Engineers

Start the course

1/3

TEMPORAL MEMORY

New facts win. Old facts stay.

Supersede. A new value closes the validity of the old one, so what the agent believed on a date is one query.
Three clocks. System time, known time and valid time, each answering a different question about a fact.
Purge. Forget retires a fact while its history stays; purge removes the history as well, for erasure.

01 |SUPERSESSION

The old fact stays. The new one wins. valid_until closes the old value.

A new value sets valid_until on the old one instead of overwriting it, so asking what the agent believed on a given date is one query. The trace plays one correction from write to as-of read.

Session 4 · turn 42

Ana

2026-03-14 · 09:12

Tobie was just promoted to CTO at Acme.

Facts written

Tobie works at Acme as CTO

turn:42 · chars 15-38 · confidence 0.91

Acme is an organisation

turn:42 · chars 34-38 · confidence 0.95

Session 9 · turn 43

Ana

2026-04-12 · 16:40

Actually he moved to SurrealDB.

Facts after reconciliation

Tobie works at Acme as CTO

superseded · valid_until 2026-04-12 · row retained

Tobie works at SurrealDB

turn:43 · chars 12-30 · confidence 0.88

Ask · today

Where does Tobie work?

SurrealDB

cited turn:43

Ask · as of 2026-04-01

Where does Tobie work?

Acme, as CTO

cited turn:42 · superseded 2026-04-12

02 |WHAT YOU GET

Three clocks. Each one answers a different question.

03 |WHY IT MATTERS

What overwriting throws away. What the agent believed, and when.

Immediate

Visible to the very next read

A new fact is reconciled when it is written, so the very next read sees it and nothing is re-indexed overnight.

Code

Reconciled in code

Which value wins is decided in code, not by a model, and a value scored below the confidence floor never silently replaces a stronger one.

History

History has a cost

Keeping history means storage grows with it. Purge removes history where erasure is required.

Cache

Cached answers step aside

A cached answer is never reused once a fact it cited is superseded, so recall does not serve the old value.

GET STARTED

Give your agents a memory with a history. Facts are superseded rather than overwritten, on three clocks, with purge for erasure.

ISO 27001
AICPA SOC 2 Type 2
Cyber Essentials
GDPR
Cyber Essentials Plus