Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Cortex – Local-first AI memory engine, beats Mem0 on LoCoMo, encrypted, free
4 points by gambletan 13 days ago | hide | past | favorite | 2 comments
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
 help



LoCoMo is a good benchmark but it tests single-agent recall. The harder problem for production multi-agent systems is cross-agent correction — when Agent A learns that a fact stored by Agent B is wrong. Does Cortex have a propagation mechanism for that or is correction handling left to the application layer?

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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: