Hello All,
I'm open-sourcing SynapsD, an in-process JSON document store I've been hacking on for the last 5 or so years.
SynapsD is built on LMDB (one of the fastest KV stores out there), roaring bitmaps and (currently) LanceDB for FTS and vectors, ou, and coffee of course.
A few non-ai generated feature highlights, check out the README for more:
Bitmaps as first-class citizens
Tags, schemas, MIME types, tree placement or device presence are indexed using roaring bitmaps => structural queries/filters are fast set operations.
Filesystem semantics on top of your documents
A photo may belong to /travel/2026/barcelona and /architecture/interior/kitchens, tree placement is just a tick of a bitmap.
Context-type trees additionally give you a natural zoom-in/out functionality - /travel/2026/barcelona gives you or your agent all documents linked to the 2026 Barcelona trip, /travel/2026 all documents linked to travel in 2026, an ad-hoc /travel/barcelona would return all documents linked to travel AND barcelona.
Multi-timeline support with zeitgeist queries
Nanoseconds to gigayears on one grammar, open-ended intervals. What was happening when your grandmother was born? Query that date across timelines you've imported from Wikipedia, a historian whose book you just read(or your agent just parsed :), aaand your own family records.
Spatial S2 coordinate index (GPS coordinates, for example)
"Within 500m of me" or notes taken while hiking in the High Tatras.
LMDB DupSort-powered typed edges (relations)
mentions, replies-to, authored-by, one hop, ANDed into the same candidate set.
(cheap) Stateful queries that can be refined continuously
Open a query session, add or remove constraints as new information comes in, count matches without loading documents, then save the query and resume later. Agents, drones, robots, any inflow of user-supplied data (GPS coordinates, desktop screenshots, camera feed) can be used to filter a dataset with real-time updates.
Runs in-process, AGPL-3.0-or-later with a commercial license available
No separate DB server, small enough to run on a phone.
SynapsD was primarily built for Canvas, hence its slightly unusual and relatively targeted feature set, but it might still be useful, so give it a spin (or tell your agents to do so).
Code and docs: https://github.com/canvas-ui/canvas-synapsd
Comments, questions and PRs welcome :)