utopia-ia/elffuss-braid public
Changesets · Branches · Tags · Compare
| Changeset | c77b4e2014b9ab7295d1b0bebdf1f06f7ee042799a9cda00578c5359495d35ac |
|---|---|
| Author | KikoCis <KikoCis@users.noreply.github.com> · 2026-10-21 18:18 +02:00 |
| Committer | KikoCis <KikoCis@users.noreply.github.com> · 2026-10-21 18:18 +02:00 |
| Parents | a7cf83d0dfa4 |
1 file changed
modified README.md +43 −8
| @@ -1,15 +1,21 @@ | ||
| 1 | 1 | <picture> |
| 2 | 2 | <source media="(prefers-color-scheme: dark)" srcset="docs/assets/hero-dark.svg"> |
| 3 | 3 | <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."> | |
| 5 | 5 | </picture> |
| 6 | 6 | |
| 7 | 7 | # ✳ Elffuss Braid |
| 8 | 8 | |
| 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. | |
| 13 | 19 | |
| 14 | 20 | [](https://github.com/KikoCis/elffuss-braid/actions/workflows/ci.yml) |
| 15 | 21 | [](LICENSE) |
| @@ -17,11 +23,11 @@ | ||
| 17 | 23 | [](https://www.rust-lang.org) |
| 18 | 24 | [](docs/spec/format-v1.md) |
| 19 | 25 | |
| 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) | |
| 21 | 27 | |
| 22 | 28 | Anthropic described Scion, the version control system it built in-house |
| 23 | 29 | 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). | |
| 25 | 31 | Scion is internal. Braid is an independent, open-source take on several of |
| 26 | 32 | its ideas, and you can run it today: |
| 27 | 33 | [ask your coding agent](#use-it-from-your-agent) to set it up in a |
| @@ -495,6 +501,35 @@ | ||
| 495 | 501 | |
| 496 | 502 | </details> |
| 497 | 503 | |
| 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 | + | |
| 498 | 533 | ## Part of Elffuss |
| 499 | 534 | |
| 500 | 535 | Braid is part of [Elffuss](https://elffuss.com), a family of tools for |
| @@ -518,7 +553,7 @@ | ||
| 518 | 553 | |
| 519 | 554 | ## Prior art and credits |
| 520 | 555 | |
| 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): | |
| 522 | 557 | changesets stored against the first parent, server-side merges, minimal |
| 523 | 558 | branch state, immutable objects served by any cache tier, and testing |
| 524 | 559 | after merging instead of a merge queue. The article credits many of its |