MEX uses Git itself as a shared context layer for coding agents and teams
DJIRNMAN · reddit · 2026-09-09
The author open-sourced MEX (mex-memory/mex), a Git-native shared memory layer for coding agents and engineering teams.
Core idea: what team memory needs — history, diffs, changes moving with the repo, per-branch state, visible conflicts — Git already does, so skip the database/sync/accounts stack.
- Memory as files: architecture, decisions, specs, workstreams, handoffs, and activity get committed like code
- Local indexes stay local: each checkout rebuilds its own search and code-intelligence indexes
- Memory shares code history: decision changes are reviewable via diff, conflicting edits surface as Git conflicts, and agent learnings survive the session
- Structured handoffs: agents prepare handoffs with completed work, blockers, decisions, changed files, and next actions, committed into project history
- No silent truth: shared changes go through a proposal flow — publishing and accepting a Spec are separate, explicitly approved actions
Tradeoffs: Git isn't a realtime bus, MEX doesn't auto push/pull, and disconnected clones still produce normal conflicts. The author argues project memory should behave more like source code than another SaaS database.
Related event: MEX: Using Git as Shared Memory Layer for Coding Agents(2 posts)→
More from coding & agent
- shadcn's /improve skill paired with Grok on SuperGrok Heavy for plowing through issues — shadcn · 2026-10-27
- Paradigm Launches Envoys: Your Claude Code and Codex on Your Research Graph, Free — tensorqt · 2026-10-27
- LangChain to demo the internal design agent its team uses daily, this Wednesday — LangChain · 2026-10-27
- AXL launches remote MCP server exposing 1,284 sales and marketing APIs to Claude and Codex — EdTech_Padre · 2026-10-27
- GitHub's Thomas Dohmke ships Entire, a Git forge built for agent-human collaboration — carrycooldude · 2026-10-27
- OmarchyTV hits GitHub: Omarchy-style TV launcher with AI TUI and MCP — alexcovo_eth · 2026-10-27