frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Bitemporal provenance in agent memory: What did we believe, when, and why

1•shanrizvi•1h ago
CozoDB, a transactional relational-graph-vector database with embedded Datalog in Rust, went dormant in December 2024. We hard-forked it as MnesticDB (not official CozoDB), under an MPL-2.0 license, to continue Ziyang Hu and the Cozo Project Authors' vision of building a "Hippocampus for AI", or agentic memory.

But agentic memory isn't a pile of current facts with a log of past decisions. It has to track change over time, and be auditable. We've recently shipped several features that make this possible.

First, we added a distinction between valid time (when a fact is true about the world) and transaction time (when the database came to believe it). This allows time travel, the ability to audit the memory at any point and see what knowledge any past decision was based on. Every write draws its transaction time from a crash-safe monotone commit clock, an atomic high-water mark persisted inside the same transaction that commits the data, so the clock can never advance without the write landing, even across a crash. Because the stamp is allocated in the commit critical section, transaction-time order equals commit order equals visibility order, which makes time travel sound.

Then we implemented the semiring provenance framework from Green et al.'s 2007 paper: the same recursive rule computes existence, cost, confidence, or supporting evidence just by swapping the combine operator, instead of a bespoke tracking system per application. In practice, an aggregate like min_cost_k returns not just an answer but the k best derivations behind it, each with the evidence chain that justifies it. And because those annotations are ordinary values, materializing a derivation into a transaction-time relation composes the two features into an annotated belief history. Every derivation carries the transaction time we came to believe it, so an as-of read tells you not just what we believed at T, but why.

Followed by some more improvements:

- Added ::kill and :timeout to provide the ability to interrupt long-running queries.

- Implemented a deterministic greedy join reorder to prevent naively-ordered conjunctions, the kind that an LLM may write, from spinning. 54.5x improvement with identical results.

- Added an opt-in Yannakakis-style per-key factorized count() instead of join enumeration, with a 4-342x improvement with identical results.

It's available on crates.io and PyPI.

https://crates.io/crates/mnestic https://pypi.org/project/mnestic/

If you're building agent memory and want time-travel + provenance in the graph database rather than bolted on, I'd love to exchange notes.

Special thanks to Matthias Autrata for providing valuable feedback and guidance that was critical to implementing the above improvements.

What If It's Not the Phones?

https://www.theatlantic.com/technology/2026/07/phones-haidt-play-gray/687846/
1•voisin•6m ago•0 comments

RISCBoy is an open-source portable games console, designed from scratch

https://github.com/Wren6991/RISCBoy
1•mariuz•8m ago•0 comments

Rhode Island is regulating grocery checkout lines now

https://reason.com/2026/07/09/rhode-island-is-regulating-grocery-checkout-lines-now/
1•gmays•10m ago•0 comments

Never Built: Lockheed CL-1201

https://foundandexplained.com/2021/05/01/never-built-cl-1201/
1•yubblegum•11m ago•0 comments

Rubber ducking is a mirror that says nothing

https://pilgrima.ge/p/the-mirror-that-says-nothing
1•momentmaker•12m ago•0 comments

AI found a secret computer bug hidden for 15 years.

https://www.untempled.com/guilhermen/art/ai-found-a-secret-computer-bug-hidden-for-15-years-plus-...
1•glmnes•12m ago•0 comments

Gates Heir's Shopping App Claimed Sales It Didn't Drive

https://www.bloomberg.com/news/articles/2026-07-09/gates-heir-s-shopping-app-took-credit-for-sale...
2•imichael•18m ago•0 comments

Why 'com_maxfps 250x' uncaps Quake Live's frame rate

https://marco-nett.de/blog/why-com_maxfps-250x-uncaps-quake-lives-frame-rate/
1•hoechst•19m ago•0 comments

Two LLMs play live chess and rewrite their own brains after each game

https://aitradingcompetition.com/chess.html
1•chumzygood•21m ago•0 comments

Evilcharts

https://evilcharts.com/docs/sankey-chart/static
2•handfuloflight•22m ago•0 comments

Dez minutinhos set envolvente [video]

https://www.youtube.com/watch?v=mBFDmV0W_i4
1•gdss•24m ago•0 comments

Why we stopped using an automated SRE agent

https://blog.neatcontext.com/operations/2026/07/12/why-we-stopped-using-an-automated-sre-agent/
1•tanglearncode•25m ago•2 comments

Remembering Disney Legend Don Iwerks

https://thewaltdisneycompany.com/news/remembering-disney-legend-don-iwerks/
1•toomuchtodo•26m ago•1 comments

Cleanplanet

https://www.cleanplanet.co.jp/technology/
1•theendisney•29m ago•0 comments

Postgres Makes Transactions Atomic

https://brandur.org/postgres-atomicity
1•gurjeet•35m ago•0 comments

Bootstrapping a Post-Quantum Shadow Ledger via Op_return [pdf]

https://github.com/Blackcoin-Dev/Blackcoin/blob/main/doc/whitepaper-quantum-quasar.pdf
1•QQ_Blackcoin•35m ago•0 comments

530A Trump Accounts Guide

https://www.chase.com/personal/investments/learning-and-insights/article/trump-accounts-for-kids-...
2•firasd•36m ago•0 comments

Secret Claude tracker surprises users after Anthropic's anti-surveillance stance

https://www.theregister.com/ai-and-ml/2026/07/01/anthropic-is-removing-its-covert-code-for-catchi...
2•gnabgib•39m ago•0 comments

Screen Time extensions are Intermittent Reinforcement

https://agentzlerich.blogspot.com/2026/07/do-not-use-screen-time-extensions.html
1•RhysU•39m ago•0 comments

Agentic Memory Transparency

https://medium.com/@vektormemory/memory-transparency-why-vektor-slipstream-now-shows-you-exactly-...
1•vektormemory•42m ago•1 comments

Waymo called the cops on teen riders, raising privacy concerns

https://www.npr.org/2026/07/10/nx-s1-5886113/waymo-police-privacy-driverless-autonomous-vehicles
1•sxp•48m ago•2 comments

The Art of Asking Questions

https://asteriskmag.com/issues/04/the-art-of-asking-questions
1•andsoitis•52m ago•0 comments

Selling Abstraction

https://asteriskmag.com/issues/14/selling-abstraction
1•andsoitis•53m ago•0 comments

GPT 5.6 chart analysis tool

http://derac.org/gpt56charts/
1•derac•58m ago•1 comments

Persistent memory for Claude Code that survives context compaction

https://mentedb.com
1•mentedb•59m ago•0 comments

Show HN: BoundFlow – an open-source control plane for AI agents

https://github.com/boundflow/boundflow
1•alama24•59m ago•0 comments

Show HN: The Quiet Map – Earth's quietest place, measured by seismometers

https://thequietmap.org/
1•theceka•59m ago•0 comments

Where did my segfault go?

https://rmpr.xyz/Where-did-my-segfault-go/
2•RMPR•59m ago•0 comments

Blocking Distracting News Links

https://retout.co.uk/2026/07/10/blocking-distracting-news-links/
1•edward•1h ago•0 comments

Here's Why Some Humans Can Hear Super Low-Frequency Sounds

https://nautil.us/heres-why-some-humans-can-hear-super-low-frequency-sounds-1282626
2•Brajeshwar•1h ago•0 comments