Elffuss BraidHub

utopia-ia/elffuss-braid public

README: who braid is for, and four questions answered

The bold line now says what braid is, for AI coding agents, and the
paragraph under it says which agents it works with and what it does:
Claude Code, Gemini CLI and any agent that reads AGENTS.md (agents init
points CLAUDE.md and GEMINI.md at AGENTS.md where they exist); commits in
parallel, landing on one main branch in turn, merge conflicts as data
with main left where it was, no server or daemon on one machine, and git
at the edges.

A Questions section answers whether braid is an open-source Scion,
whether it needs a server, why not a git worktree per agent, and whether
coding agents need a merge queue. It links the site's page on Scion's
ideas, which the next site deploy publishes.

The banner's alt text starts with the logo, and the links to Anthropic's
article follow it to its new address under /research/.
Changesetc77b4e2014b9ab7295d1b0bebdf1f06f7ee042799a9cda00578c5359495d35ac
AuthorKikoCis <KikoCis@users.noreply.github.com> · 2026-10-21 18:18 +02:00
CommitterKikoCis <KikoCis@users.noreply.github.com> · 2026-10-21 18:18 +02:00
Parentsa7cf83d0dfa4

Browse the files at this changeset

1 file changed

modified README.md +43 −8
@@ -1,15 +1,21 @@
11 <picture>
22 <source media="(prefers-color-scheme: dark)" srcset="docs/assets/hero-dark.svg">
33 <source media="(prefers-color-scheme: light)" srcset="docs/assets/hero-light.svg">
4- <img src="docs/assets/hero-light.svg" width="100%" alt="Elffuss Braid: many agents, one main, no retry loop. Under it, a terminal shows three agents landing on main in turn: agent-a lands as a fast-forward, agent-b is rebased onto it, and agent-c, which changed the same line of shipping.toml as agent-a, gets a conflict, so main did not move and braid exits with status 2.">
4+ <img src="docs/assets/hero-light.svg" width="100%" alt="Elffuss Braid logo: three strands braided together, above the tagline “Many agents. One main. No retry loop.” Below, a terminal shows three agents landing on main in turn: agent-a lands as a fast-forward, agent-b is rebased onto it, and agent-c, which changed the same line of shipping.toml as agent-a, gets a conflict, so main did not move and braid exits with status 2.">
55 </picture>
66
77 # ✳ Elffuss Braid
88
9-**Many agents. One main. No retry loop.** Version control for repositories
10-where many AI coding agents land changes at the same time, written from
11-scratch in Rust. It installs with one `cargo install`, needs no server on
12-one machine, and keeps git at the edges, so GitHub keeps working.
9+**Version control for repositories where many AI coding agents land changes at the same time.**
10+
11+Braid works with Claude Code, Gemini CLI and any other coding agent that
12+reads `AGENTS.md`. It is written from scratch in Rust, installs with one
13+`cargo install`, and on one machine needs no server and no daemon. Each
14+agent commits in parallel, in a workspace of its own, and landing on
15+one main branch is a short step the agents take in turn. Merge conflicts
16+come back as data, in text or JSON, with exit status 2, and `main` does
17+not move. Git stays at the edges: `braid git import` brings a history in
18+bit for bit, and `braid git sync` keeps GitHub in step.
1319
1420 [![CI](https://img.shields.io/github/actions/workflow/status/KikoCis/elffuss-braid/ci.yml?branch=main&style=flat-square&label=CI&logo=githubactions&logoColor=white)](https://github.com/KikoCis/elffuss-braid/actions/workflows/ci.yml)
1521 [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-c8a06a?style=flat-square&logo=apache&logoColor=white)](LICENSE)
@@ -17,11 +23,11 @@
1723 [![Rust 1.89+](https://img.shields.io/badge/rust-1.89%2B-8272ff?style=flat-square&logo=rust&logoColor=white)](https://www.rust-lang.org)
1824 [![Format v1: frozen](https://img.shields.io/badge/format%20v1-frozen-c8a06a?style=flat-square)](docs/spec/format-v1.md)
1925
20-[Quick start](#quick-start) · [Ask your agent](#use-it-from-your-agent) · [Scion's ideas](#scions-ideas-in-braid) · [How it works](#how-it-works) · [BraidHub](#braidhub) · [Measured against git](#measured-against-git) · [braid.elffuss.com](https://braid.elffuss.com) · [En castellano](#en-castellano)
26+[Quick start](#quick-start) · [Ask your agent](#use-it-from-your-agent) · [Scion's ideas](#scions-ideas-in-braid) · [How it works](#how-it-works) · [BraidHub](#braidhub) · [Measured against git](#measured-against-git) · [Questions](#questions) · [braid.elffuss.com](https://braid.elffuss.com) · [En castellano](#en-castellano)
2127
2228 Anthropic described Scion, the version control system it built in-house
2329 with agents in mind, in
24-[Redesigning source control at Anthropic](https://www.anthropic.com/engineering/redesigning-source-control).
30+[Redesigning source control at Anthropic](https://www.anthropic.com/research/redesigning-source-control).
2531 Scion is internal. Braid is an independent, open-source take on several of
2632 its ideas, and you can run it today:
2733 [ask your coding agent](#use-it-from-your-agent) to set it up in a
@@ -495,6 +501,35 @@
495501
496502 </details>
497503
504+## Questions
505+
506+**Is braid an open-source Scion?** No. Scion is internal to Anthropic.
507+Braid is an independent implementation of the ideas Anthropic published
508+about it, contains no code from Anthropic, and on one machine needs no
509+server. The site's [page on Scion's ideas](https://braid.elffuss.com/scion.html)
510+says what braid takes from Scion and where it differs.
511+
512+**Does braid need a server?** Not on one machine: the agents' workspaces
513+share one store, and landings take their turn with no server and no
514+daemon. When agents on several machines share a repository,
515+[BraidHub](#braidhub) is the server, and `braid land` lands there, in turn
516+with every other landing.
517+
518+**Why not a git worktree per agent?** A git worktree gives each agent its
519+own files and index, but landing works as before: each branch still has
520+to be rebased or merged onto `main`, and when the agents push to one
521+remote, every agent that loses the race fetches, rebases and pushes again,
522+and stops at conflict markers when two changes clash. `braid land` rebases
523+a change onto whatever landed first, in one short step taken in turn, and
524+a conflict comes back as data while `main` stays put.
525+
526+**Do coding agents need a merge queue?** Not to land. Agents land in turn
527+and never wait for CI; [`braid verify`](#keeping-main-green) tests after
528+landing, bisects a failure and, with `--revert`, lands the revert, and
529+`main` can be red in between. Where people review each change before it
530+lands, pull requests and a merge queue still make sense, and
531+`braid git sync` keeps the GitHub repository they use in step.
532+
498533 ## Part of Elffuss
499534
500535 Braid is part of [Elffuss](https://elffuss.com), a family of tools for
@@ -518,7 +553,7 @@
518553
519554 ## Prior art and credits
520555
521-- Anthropic, [Redesigning source control at Anthropic](https://www.anthropic.com/engineering/redesigning-source-control):
556+- Anthropic, [Redesigning source control at Anthropic](https://www.anthropic.com/research/redesigning-source-control):
522557 changesets stored against the first parent, server-side merges, minimal
523558 branch state, immutable objects served by any cache tier, and testing
524559 after merging instead of a merge queue. The article credits many of its