Ladybug Memory
Rust CLI that uses sqlite, ladybug and gliner 2.5(no python, no pytorch) for graph extraction. Plugs into pidotdev — shouldn't be hard to integrate with other agents.
curl -fsSL https://install.ladybugmem.ai | bash## Add memories to ladybugmem
Real session, verbatim: provision the model, store two preferences, browse them. Each remember runs extract → resolve → decide → write — both land as new, active memories.
$ # first run only — model + runtime, no env setup model gliner2.5-base-v1-nico-onnx ~780 MB ✓ ort libonnxruntime 1.31.0 ~35 MB ✓
$ extract: nike[1.00] resolve: nike decision: new stored #3 [preferences|active]: I like nike
$ extract: adidas[0.99] resolve: adidas decision: new stored #4 [preferences|active]: I like adidas now
$ # jq keeps the full JSON readable { "id": 3, "content": "I like nike" } { "id": 4, "content": "I like adidas now" }
ladybug-memory-rs on GitHub →· visual? run lbm demo for chat-left / live-graph-right
Every remember lands first as a SQLite row, then stages distilled facts and syncs them into the graph. Crash-safe, replayable.
Distilled facts plus provenance live in the native graph — memories, entities, co-occurrence and conflict edges.
Entity extraction runs on the single-graph ONNX export via the bundled ORT dylib — ~780 MB snapshot auto-downloaded on first use.
Ships a thin pi extension — lb_memory tool, /lb-* commands, message-end auto-capture. Other agents: it's just JSON over a CLI.