Cortex – Local-first AI memory engine, beats Mem0 on LoCoMo, encrypted, free
Hi HN, I built Cortex because I got tired of AI memory solutions that send your most personal data to someone else's server.
Cortex is a 4-tier memory engine (episodic → semantic → procedural)
that runs 100% on your device. Pure Rust, 3.8MB, 62µs ingest.
LoCoMo benchmark: 73.7% overall, beating Mem0 (66.9%) on all 4 categories.
AES-256-GCM encrypted sync via your own iCloud/GDrive/Dropbox.
GitHub: https://github.com/gambletan/cortex Hey! This looks a lot like what I'm working on, from a slightly different angle. I think you're on the right track. In fact, cortex as a name is perfect since you're effectively building the executive function layer for search and selection. I also think rust is the right language to go with.
I'm going do a deeper read of your work in a bit. I'd love it if you took a look at my theory of artificial cognition The YAML of the Mind https://alexchesser.medium.com/the-yaml-of-the-mind-8a4f945a..., dropped in to the `ail` project and let me know what you think.
I just have to get the kids to school and I'll pop back into cortex later