10 Open-Source GitHub Repos That Give Your AI Agent Memory, from Mem0 (67K Stars) to Engram
victor_explore · x · 2026-10-14
A curated GitHub compilation of 10 open-source repos for giving AI agents memory (star counts as of Oct 2026):
- Mem0 (67K stars, Apache 2.0): the memory layer most agents plug into; extracts facts per user and returns only what matters.
- Hindsight (46K, MIT): memory that learns and builds on facts; works with Claude Code, Codex, Cursor.
- Codebase Memory MCP (46K, MIT): a whole-codebase map for coding agents; local, no API key.
- Graphiti (31K, Apache 2.0): tracks when each fact was true, keeping dated history.
- Cognee (31K, Apache 2.0): turns docs and chats into a graph, no API key.
Also covered: GBrain (Garry Tan's local agent brain), agentmemory (29K), Beads (28K, distributed task graph), Memvid (17K, whole memory in one offline file), and Engram (7K, one binary + SQLite).
More from coding & agent
- Dev ships throwaway Postgres for agents: pg19 via pglite on Cloudflare DO over raw TCP — ritakozlov · 2026-11-29
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- 38 free agent skills distilled from shipping three live AI products — PawelHuryn · 2026-11-29
- Step 5: run evals on synthetic data pre-launch, watch real traces after — PawelHuryn · 2026-11-29
- Break your agent before attackers do: 6 tests mapped to OWASP LLM Top 10 — PawelHuryn · 2026-11-29
- PM shares playbook for shipping 4 customer-facing Claude agents into production — PawelHuryn · 2026-11-29