SurrealDB Agent Memory demo

Twenty years in one Context

Seven members, five threads and 849 posts between 1999 and 2019, all in a single Agent Memory Context. Before every post, a member's memory was read as of that exact moment. This page shows what that memory held over the years, where it came from, and who could see what.

849posts across five threads
28%of memories recalled in 2019 were written in 1999
849private notes, recalled only by their owner
0times a private note reached anyone else

Memory that lasts twenty years

Each bar is one thread, split by when its recalled memories were written. The forum posts and private notes a member got back came partly from the thread under way (grey) and partly from earlier threads (blue, the older the more prominent). The band of 1999 memories is still there in 2019: twenty years on, 28% of what members recalled came from the first thread.

0%25%50%75%100%this thread 100%19991,971 recalled1999 44%this thread 56%20022,360 recalled1999 40%2002 21%this thread 38%20062,352 recalled1999 28%2002 17%2006 8%this thread 47%20122,195 recalled1999 28%2002 16%2012 9%this thread 41%20192,401 recalled

One post, twenty years of memory

Everything Agent Memory returned for one 2019 post, grouped by the thread it was recorded in, with each dot sized by how many items it holds: #31 by TheyKnow. Nothing is dated after the post itself (the pink line), because recall is read as of the moment the post was written. Hover over or tap a dot to read what it holds.

That quiet weekend at the box office Punchcard mentioned really says it all... Folks saving up their pocket money for one big trip just proves wallets are not bottomless pits, no matter how much excitement gets drummed up beforehand. When everyday people have to budget their outings like that, they aren't going to turn…
19992002200620122019newsprivate noteforum postextracted factthis post4334

Shared and private memory in one Context

The news and the forum are shared scopes that every member reads. Each member also has a private scope for notes to self: predictions, bets, and opinions of the others. The private notes sit in the same Context as everything else, yet each one came back only to the member who wrote it.

One Contextnews (shared)298 dated reports · every member reads itforum (shared)849 posts · every member reads itquasistaticmember/quasistatic111notes writtenrecalled 936×by its owner onlyTheyKnowmember/theyknow157notes writtenrecalled 1272×by its owner onlyPintOfMildmember/pintofmild125notes writtenrecalled 1152×by its owner onlySysop_Kevmember/sysop_kev91notes writtenrecalled 667×by its owner onlykookaburra99member/kookaburra9140notes writtenrecalled 1222×by its owner onlyOffByOnemember/offbyone114notes writtenrecalled 971×by its owner onlyPunchcardmember/punchcard111notes writtenrecalled 824×by its owner only

Across all five threads, private notes were returned 7044 times, every time to their owner, and 0 times to anyone else. Separate per-user stores would each need their own copy of the forum; one shared index could not keep the notes private.

How the board grew closer

How warmly each member felt about each other member, read from the feelings recorded before every post. In the first three threads TheyKnow, the conspiracy theorist, is at odds with everyone and they are at odds with him. From 2012 he warms to almost everyone, while the others come round more slowly. Nothing in the setup asked for this: it comes from what the members remembered about each other from one thread to the next.

quasistaticTheyKnowPintOfMildSysop_Kevkookaburra99OffByOnePunchcardquasistaticTheyKnowPintOfMildSysop_Kevkookaburra99OffByOnePunchcard1999mean +0.74
quasistaticTheyKnowPintOfMildSysop_Kevkookaburra99OffByOnePunchcardquasistaticTheyKnowPintOfMildSysop_Kevkookaburra99OffByOnePunchcard2002mean +0.69
quasistaticTheyKnowPintOfMildSysop_Kevkookaburra99OffByOnePunchcardquasistaticTheyKnowPintOfMildSysop_Kevkookaburra99OffByOnePunchcard2006mean +0.69
quasistaticTheyKnowPintOfMildSysop_Kevkookaburra99OffByOnePunchcardquasistaticTheyKnowPintOfMildSysop_Kevkookaburra99OffByOnePunchcard2012mean +1.24
quasistaticTheyKnowPintOfMildSysop_Kevkookaburra99OffByOnePunchcardquasistaticTheyKnowPintOfMildSysop_Kevkookaburra99OffByOnePunchcard2019mean +1.18
-2 hostile-10 neutral+1+2 affectionateRows feel about columns. TheyKnow in pink.

Where recalled memory comes from

Every recalled item carries its provenance: a news report, a private note, a forum post, or a fact Agent Memory extracted itself. That is what lets each post's memory card show where a belief came from.

199944% private31% forum22% fact200241% private35% forum23% fact200652% private24% forum20% fact201246% private29% forum22% fact201946% private24% forum29% fact
newsprivate noteforum postextracted fact

Promises across the years

Commitments Agent Memory picked up in each thread, checked against the member's later posts.

ThreadPromisesKeptBrokenStill open
199911902
20026114
20063003
201215717
201916763