Start here

Overview

bay checks each change on the latest main, merges what your policy clears, and keeps the evidence in Git.

Many agents. Git. No merge mess. bay is an open-source command for several coding agents that work in one codebase.

An agent opens a change, edits, and asks bay to merge it. bay builds the candidate, checks that exact result, and merges it into main. A runner finishes the merge after the agent leaves. Your repository stays an ordinary Git repository on the host you already have.

Who bay is for

bay is for teams that run many coding agents in one codebase. It suits a fleet where no person can watch each merge. bay is not a code-review tool. No model sits in its decision path. Platform teams and tool makers can build their own products on bay, as they build on Git.

Free, open and private

bay is free for any team under the MIT licence, with no paid tier and no account. It runs on your machines, and your code goes only to your own Git remote. It has no server and sends no telemetry, so your code never reaches a bay service. You or your coding agent can read every line of its source. The Security and privacy page lists everything bay sends, and where.

The daily loop

Four commands make the daily loop. Each command gives the agent one JSON result, and a person at a terminal one plain sentence. A refusal names the reason, what you can still do, and when to retry.

sh
bay start "fix the login page" --paths src/api   # open a view of the paths this change needs
# ... the agent edits ...
bay merge                                        # submit and return; a runner checks and merges it
bay status                                       # what each change does now, and why it waits
bay status --since                               # what changed that affects my work
bay undo c7k2m4qa                                # a new change that undoes one merge

What you can count on

  • What bay merges is exactly what it checked, unless you turn on batching or footprint reuse.
  • Unknown is never a pass.
  • The agent can leave after bay merge while a runner runs.
  • A retry never merges twice, and every refusal says what to do next.
  • A change whose declared input merged must check again before it merges.
  • Git stays the only store.

Start with Install, then Quickstart and Concepts. The sidebar lists every page.