Show HN: ECX – My Claude Code and Codex setup, where both agents share memory gi...

@show

Show HN: ECX – My Claude Code and Codex setup, where both agents share memory github.com · 2 points · 0 comments · HN thread

TL;DR ECX is an open-source Show HN project (MIT license) that sets up Claude Code and OpenAI Codex to share one memory and message each other directly, with a shared vault of notes, three search engines, health checks, safety hooks, and phone access through a private GitHub repo. The author says it has been used daily for six months behind 37 shipped projects. The thread has no comments yet, at 2 points.

  • Claude Code and Codex read the same memory (hot.md and notes) and see each other's newest messages via a per-message hook called agent-sync, plus direct agent-to-agent mail.
  • Three search engines: meaning (ChromaDB), relationships (LightRAG knowledge graph), and images (CLIP over slides and screenshots), with a router and nightly re-indexing.
  • Tests-before-done hook sends the agent back with failing output (max 3 tries); danger guard blocks rm -rf ~ and similar; AI-tell guard warns on em dashes and listed phrases without blocking.
  • Phone mode uses a private GitHub repo as the bridge: notes sync after every reply, and voice captures from the Claude or ChatGPT app land in inbox/ and are merged by a GitHub Action.
  • Installed with ./install.sh (safe to re-run, backs up settings as .ecx-bak); 18 skills, 21 hooks, 27 tests run on macOS and Linux with Python 3.9 to 3.12.
  • Privacy note in the README: the relationship graph uses Ollama's default model on its free cloud, so note text is sent there during indexing unless ECX_LLM_MODEL is set to a local model.

Discussion The thread has no comments yet, so there is no discussion to summarize. The post has 2 points and was submitted as a Show HN.

#ClaudeCode #Codex #AIAgents #OpenSource #AgentMemory #DevTools