Open lab: does a cheap decision model keep parallel coding agents from colliding?
jokiruiz · reddit · 2026-10-02
The author open-sourced Médula (MIT): a kernel coordinating multiple Claude Code agents on one repo, plus the full experiment dataset. The test bed: a small API with 6 tasks and 37 acceptance tests, with two pairs of tasks colliding by meaning, not file.
- One branch per task: git let the real conflict through and the same 6 tests failed in all 5 runs, even though every agent finished green
- Shared directory: all 10 runs passed, with per-file locks or the kernel; the kernel blocks only real collisions
- Fast path uses a hosted decision model, unsure on 61% of real write requests, escalating to a slower LLM
- Decider is pluggable: any model outputting a collision probability fits, with a 100-pair calibration set
- All data public: sessions, diffs, SQLite logs of every decision with probability, latency and cost
Author seeks blind human labels, calibration pairs from real runs, and new scenarios (schema migration, dependency bump). Caveats: 1-5 runs per mode, thresholds fitted on measured pairs.
More from coding & agent
- shadcn boosts @uisdk: one-shot UI rebuild that's instantly E2E-testable by AI — shadcn · 2026-11-16
- AI agent deletes 43,599 lines of OpenClaw test code in one PR — vincent_koc · 2026-11-16
- JPMorgan shows Jarvis, its internal agent assembly line, at Interrupt NYC — LangChain · 2026-11-16
- Dev clarifies: Apple doesn't ban feature flags, only fooling App Review — talkaboutdesign · 2026-11-16
- Antigravity Matches Claude Cowork in Tests, While Gemini Tasks' Purpose Remains Unclear — sebajun2 · 2026-11-16
- One 16GB GPU runs songs, voice, images, 720p video and local RAG — all offline and open source — llama-of-death · 2026-11-16