Foremerge: Open-source protocol to coordinate parallel coding agents above Git
ShiftTechnical · reddit · 2026-08-28
Parallel coding agents often sabotage each other by making incompatible changes with zero textual conflicts, which Git cannot detect. The author open-sourced Foremerge, a local-first coordination protocol that sits above Git.
Key Features:
- Intent Declaration: Sessions publish their semantic scope and operation (e.g., PaymentService=replace) before editing.
- Conflict Detection: Deterministic rules compare declarations and raise findings with suggested resolutions during the planning phase.
- Verified Claims: Uses advisory leases, not locks, and runs verification to ensure "tests pass" is verified by the tool, not claimed by the agent.
Tech Stack: Rust binary, SQLite inside the repo, Apache-2.0. It ships with an MCP server and a native skill (foremerge setup codex). Tested on 96 parallel agents against a backlog with 0 conflicts in PRs.
More from coding & agent
- End-to-End Legal Agent Guide: Zero Hallucination & Human Handoff — MaryamMiradi · 2026-08-28
- OpenWiki adopts OKF 2.0 for page-level verification and provenance — BraceSproul · 2026-08-28
- OpenInstinct: Self-hostable iMessage AI assistant with browser control — arthurcolle · 2026-08-28
- Live Pipeline Builder Session: Building Data Pipelines on Demand — aronchick · 2026-08-28
- Plane Powers reveals agent mechanics: runs on work graph, not chat sidebar — JosephJacks_ · 2026-08-28
- Burning through Grok credits with OpenClaw integration — heyneighbor · 2026-08-28