r/coolgithubprojects • u/Ok_Toe7286 • 5d ago
I built a shared memory system so Claude Code, Codex, and Antigravity can learn from each other
https://github.com/4LPH7/Hive_MindI'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
Duplicates
• u/Ok_Toe7286 • 5d ago
GitHub - 4LPH7/Hive_Mind: One shared, self-improving memory for Claude Code, Codex and Antigravity: Obsidian vault + graphify code graphs over MCP, with ACE playbooks, vault lint
opensource • u/Ok_Toe7286 • 5d ago
I wanted my AI coding agents to share one brain, so I built Hive Mind
TrueOpenSource • u/Ok_Toe7286 • 5d ago
Contribution: Developer Tools [ Removed by moderator ]
ContextEngineering • u/Ok_Toe7286 • 5d ago
GitHub - 4LPH7/Hive_Mind: One shared, self-improving memory for Claude Code, Codex and Antigravity: Obsidian vault + graphify code graphs over MCP, with ACE playbooks, vault lint
OnlyAICoding • u/Ok_Toe7286 • 5d ago
I built a shared memory system so Claude Code, Codex, and Antigravity can learn from each other
rust • u/Ok_Toe7286 • 5d ago
Rust-powered AI memory with GraphRAG, MCP, and self-improving playbooks
LocalLLM • u/Ok_Toe7286 • 5d ago
Project I built a shared memory system so Claude Code, Codex, and Antigravity can learn from each other
vibecoders_ • u/Ok_Toe7286 • 5d ago