EveryDev.ai
Subscribe
Home
Tools

4,072+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2782
  • Coding1973
  • Infrastructure825
  • Projects603
  • Marketing598
  • Research520
  • Analytics468
  • Design462
  • MCP419
  • Testing346
  • Security323
  • Data305
  • Integration224
  • Prompts220
  • Communication210
  • Extensions196
  • Learning179
  • Voice175
  • Commerce160
  • DevOps135
  • Web95
  • Finance31
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. Foremerge
    Foremerge icon

    Foremerge

    Multi-agent Systems

    Open-source coordination protocol for coding agents that catches intent conflicts before they become code conflicts, built above Git using a shared SQLite store.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open-source under Apache 2.0. Install via curl, cargo, or prebuilt release binary.

    Engagement

    Available On

    CLI
    API
    macOS
    Linux
    Windows

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Multi-agent SystemsMCP ToolsAI Coding Assistants

    Alternatives

    CleanPiebaldConcord MCP
    Developer
    naw103Est. 2026

    Listed Sep 2026

    About Foremerge

    Foremerge is an open-source coordination protocol for coding agents, built above Git and licensed under Apache 2.0. It lets multiple AI agents—Claude Code, Codex, Cursor, or any MCP-capable client—share intent, semantic claims, dependencies, provisional ChangeSets, and verification results through a single SQLite store, so plan collisions surface in a queryable database before any code is written. The project is written in Rust and published on crates.io; version 0.5.0 is the current pre-1.0 release.

    What It Is

    Foremerge addresses a gap that Git cannot fill: two agents can each produce individually correct changes in isolated worktrees, yet those changes can silently undo each other when merged. Git compares text and stops on overlapping edits to the same file, but it has no visibility into semantic intent—one agent replacing PaymentService while another extends it touches no common lines, so Git merges both without complaint and leaves the second agent's work stranded. Foremerge fixes this by requiring agents to declare what they are about to touch, in semantic terms, before they touch it. Every declaration goes into a shared store; every new declaration is checked against existing ones; conflicts are raised as advisory findings with an explanation and a suggested resolution, before either worktree has changed.

    How the Coordination Protocol Works

    The protocol follows a structured lifecycle: INTENT → CLAIMED → IN_PROGRESS → PROVISIONAL → VALIDATED → ACCEPTED → COMMITTED. Agents publish intents with typed semantic scopes, claim those scopes as leased advisories, advance through implementation, publish a ChangeSet, and then request Foremerge-executed validation against the exact Git fingerprint of the candidate before acceptance. Key design decisions:

    • No locks, no blocking. A crashed agent cannot stall the fleet; all conflict findings are advisory.
    • No LLM in the detection path. Conflict detection is deterministic and rule-based, so the same inputs always produce the same verdict.
    • Semantic scopes, not file paths. Twelve scope kinds ship in 0.1.0: symbol, api, schema, config, infra, test, migration, env, file, component, contract, domain. This catches API, schema, configuration, infrastructure, and cross-language collisions that file-path diffing misses.
    • Verification-gated acceptance. Foremerge runs the registered check itself rather than trusting agent-reported test results; agent-reported results are recorded as provenance only.

    Architecture and Deployment Model

    Foremerge is a single Rust binary (foremerge / fmg) that ships three frontends over the same SQLite store: a CLI with --json output for scripting, an MCP server over stdio exposing 18 lifecycle and read tools, and an authenticated loopback HTTP daemon with an OpenAPI schema for harnesses that prefer HTTP. The SQLite database lives under the repository's Git common directory, so linked worktrees share it automatically without any additional configuration. The MVP is explicitly local-first and single-machine; multi-machine shared mode is listed on the roadmap but not yet implemented.

    MCP Integration and Mixed-Fleet Support

    The 18 MCP tools cover the full agent lifecycle: register_agent, publish_intent, record_assessment, claim_work, query_work, check_conflicts, publish_changeset, coordinate_with_agent, start_work, resolve_conflict, run_verification, accept_changeset, record_commit, discard_work, list_agents, get_intent, get_changeset, and status. The protocol carries nothing provider-specific, so heterogeneous fleets—Claude Code alongside Codex, for example—are the design center. Every ChangeSet records which agent and which model did what, validated how, and against which exact Git fingerprint, producing cross-model coordination provenance. The MCP registry name is io.github.naw103/foremerge.

    Update: v0.5.0

    The latest release is v0.5.0, published on 2026-09-23. The repository was created in August 2026 and has seen active development through September 2026. The README notes that the CLI, JSON API, MCP server, SQLite store, deterministic conflict detector, and verification-gated lifecycle are all implemented in this pre-1.0 MVP. Public schemas may still change, and published benchmark results comparing coordinated versus uncoordinated runs do not yet exist. The fmg short alias for the binary ships from 0.4.0 onward. The project explicitly documents its limitations: conflict detection is heuristic and can miss synonymous concepts or warn on compatible work, and the loopback bearer token is not a public deployment security model.

    Foremerge - 1

    Community Discussions

    Be the first to start a conversation about Foremerge

    Share your experience with Foremerge, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open-source under Apache 2.0. Install via curl, cargo, or prebuilt release binary.

    • Full CLI with --json scripting support
    • 18 MCP lifecycle tools over stdio
    • Authenticated loopback HTTP daemon with OpenAPI schema
    • Deterministic semantic conflict detection
    • Verification-gated ChangeSet acceptance

    Capabilities

    Key Features

    • Intent conflict detection before code conflicts
    • Semantic scope declarations (symbol, api, schema, config, infra, test, migration, env, file, component, contract, domain)
    • Shared SQLite coordination store in Git common directory
    • 18 MCP lifecycle and read tools over stdio
    • CLI with --json output for scripting
    • Authenticated loopback HTTP daemon with OpenAPI schema
    • Verification-gated ChangeSet acceptance
    • Deterministic, rule-based conflict detection (no LLM in detection path)
    • Advisory-only claims — no file locks or agent blocking
    • Cross-model provenance recording (agent, model, fingerprint)
    • Git worktree isolation with shared awareness
    • Hash-chained semantic event log
    • Validation exclusion rules for generated output
    • foremerge setup for Claude Code, Codex, and Cursor
    • Native skill installation for agent clients
    • Preflight conflict checking before implementation
    • Leased advisory scope claims
    • Loopback JSON API with bearer token auth

    Integrations

    Claude Code
    Codex
    Cursor
    Git
    MCP (Model Context Protocol)
    crates.io
    SQLite
    Rust cargo
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate Foremerge and help others make informed decisions.

    Developer

    naw103

    Foremerge is an open-source project by naw103 that builds coordination infrastructure for AI coding agents. The project delivers a Rust-based CLI, MCP server, and local HTTP API that let heterogeneous agent fleets share intent and detect semantic conflicts before writing code. Development is active on GitHub under the Apache 2.0 license, with the crate published on crates.io.

    Founded 2026

    Used by

    GPTree (the project was built for and…
    Read more about naw103
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    Clean icon

    Clean

    An AI coding command center that combines chat, terminal, file tree, in-app browser, and sub-agents in one desktop app for Mac and Windows.

    Piebald icon

    Piebald

    Cross-platform agentic AI development tool that lets developers orchestrate parallel agents with full control over context and configuration.

    Concord MCP icon

    Concord MCP

    An open-source, local-first MCP server that gives coding agents (Claude Code, Codex, Cursor, Gemini CLI, Grok Build) a shared work-state layer for presence, messaging, task memory, and conflict-free coordination.

    Browse all tools

    Related Topics

    Multi-agent Systems

    Platforms for creating and managing teams of AI agents that can collaborate.

    379 tools

    MCP Tools

    Tools built with the Model Context Protocol for specific tasks.

    103 tools

    AI Coding Assistants

    AI tools that help write, edit, and understand code with intelligent suggestions.

    894 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions