r/coolgithubprojects • u/Ok_Toe7286 • 3h ago
I built a shared memory system so Claude Code, Codex, and Antigravity can learn from each other
github.comI've been building Hive Mind, an open-source project that gives multiple AI coding agents access to the same persistent memory.
The problem
AI coding agents work with isolated memories. Solutions discovered by one agent aren't necessarily available to another. This leads to repeated explanations, lost context, and duplicated work.
I wanted to change that.
What Hive Mind offers
- Shared memory: One knowledge base for Claude Code, Codex, and Antigravity through MCP.
- Knowledge graphs: Graphify integration for codebase understanding and relationship discovery.
- Fast retrieval: Native Rust core, SQLite FTS5, and relevance ranking.
- Self-improvement: Session outcome scoring, knowledge-gap mining, and automated playbook curation.
- Skill discovery: Automatically finds and matches relevant agent skills.
- Privacy: Local-first inference options and secret redaction.
- Python fallback: Runs without external Python dependencies.
Some benchmarks
| Operation | Result |
|---|---|
| Native startup | <1 ms |
| Vault search | ~4 ms |
| Graph PPR (1,698 nodes) | 7.8 ms |
| Search Recall@5 | 1.00 (30/30) |
Measured in my development environment.
Looking for contributors!
I'd love feedback and contributions, particularly around:
- Memory retrieval and knowledge graphs.
- Multi-agent coordination.
- Memory consolidation and contradiction detection.
- Local LLM integration.
- Security and performance.
- New agent integrations.
Repository: https://github.com/4LPH7/Hive_Mind
Question: How do you currently handle shared memory across multiple AI agents? MCP, vector databases, knowledge graphs, Obsidian, or something else?
I'd appreciate your feedback, criticism, and contributions!
Cut the post to its core messageCombine repeated repository links

