Foremerge
github.com/naw103/foremerge- Category
- AI Agents
- Rank
- No. 3201Tools index
Previous survey · No. 2981 ·
- Type
- TOOL
- Use case
- Coding
- Interfaces
- CLI · MCP
- GitHub
- 461 stars
- Latest release
- v0.6.0
- Date
About
Foremerge is a local coordination layer sitting above Git that catches conflicting architectural intent between multiple coding agents working in parallel worktrees on the same repository. Before editing, each agent publishes its planned scope and operation (e.g. replace vs. extend a class), and Foremerge flags conflicts, such as one agent replacing a class while another extends it, before any code is written. It ships as a single Rust binary with a CLI and an 18-tool MCP server, with a setup command that wires it into Claude Code, Codex, and Cursor.
At a glance
Foremerge lets coding agents in separate Git worktrees share what they plan to change. It is worth exploring if branches can merge cleanly while the underlying changes still contradict each other.
Good fit
Developers coordinating several agents on one machine who can have each agent declare intent.
Consider something else when
Use ordinary worktrees and review if the tasks rarely overlap or if you need coordination across machines.
Start here
Give two scratch worktrees changes that depend on the same interface. Declare both plans and inspect what the conflict detector flags before either change lands.
Cost and requirements
Apache 2.0. The project documents a local CLI, SQLite store and MCP server.
Limits to know
It is a pre-1.0 local-first project. Detection relies on the intent and evidence agents submit. Keep regular tests and review for conflicts the shared declarations miss.
Sources checked 2026-11-05. Source-based assessment.
Why it made the leaderboard
Solves a real, growing pain point for teams running multiple coding agents on parallel worktrees: catching intent conflicts before they turn into wasted work or broken architecture.
Tags
Tech Stack
Media
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.