---
title: "Atoll Forge in 20 minutes"
description: "The overview deck. The problem a team has once agents write much of its code, how Atoll Forge answers it, a live demo you can run, and where to go next."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.forge.workreef.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Atoll Forge in 20 minutes

<div class="outline-only">

> **This is a deck**
>
> [Present it](https://docs.forge.workreef.dev/decks/forge-in-20-minutes/) full screen: the arrow keys or the space bar move between slides, and printing gives one slide a page. Below is its outline, slide by slide. The demo slides run against the real binaries each time the book is built.

</div>

## The problem

Agents now write much of a team's code. Three questions get hard:

- **Who wrote this change, and who answers for it?** An agent is not a person, and not a shared bot account either.
- **Is main still green?** At hundreds of landings a day, no one reads every change.
- **Can you prove what happened?** To an auditor, to a customer, to yourself, months later.

## Atoll Forge

Source control and code review for teams where people and AI agents work side by side.

- Built on the change model of **Jujutsu**: changes, not branches.
- One forge: workspaces, the landing gate, testing, review, keys, and a signed record of all of it.
- Three programs: `af` for people, and as `af mcp` for agents; `af-server`, the forge; `af-runner`, which runs the tests.

## Changes, not branches

- A **change** keeps its ID however often it is rewritten; each version is a commit.
- Changes build on each other in **stacks**, and a stack lands together.
- A **conflict** is data in the change, written into the file, never a stopped command.
- Every write is an **operation** in the repository's log, and can be undone.

## Main stays green

A change lands only when everything it waits for is done:

- its checks pass on runners, against **exactly the commit that lands**;
- the approvals it asks for are in;
- the **landing scan** finds no secret or regulated data.

After landing, main is tested continuously. A failure is bisected to its culprit, confirmed by running it again, and **reverted** through the same gate.

## Every agent accountable

- Agents are **born** from the people who start them, and limited to what those people allow.
- Restricted folders are read and written only by those granted them.
- **Your own approval counts**, as an exception every report lists, unless the forge requires another person; an agent never approves.

## Every change signed

- Landings, sign-ins, births, approvals and reads become **signed receipts** in tamper-evident logs.
- Compliance reports are built from those logs, as OSCAL assessment results.
- A reader can verify a receipt without trusting the forge.

## Keys kept safe

- The cluster's key lives **only in the nodes' memory**; every other key is sealed under it.
- If every node stops, it comes back from **k of n recovery shares**, each sealed with X-Wing, a post-quantum hybrid.
- On top, the forge is your organization's **key management service**: encryption, and signing with Ed25519 or ML-DSA-65.

## Demo: start a forge

One command starts a development forge on your machine. It signs you in as its administrator and unseals its own vault:

```console server
$ af-server --dev
...
```

## Demo: land a change

```console check
$ source ~/af-dev/dev/env
$ af workspace add ~/demo
Workspace at /home/you/demo
Paths: **
main has no landing yet
$ cd ~/demo
$ af new -m "Add a greeting"
Working on change movqquzovuynrrsysorzoymvsqqwqrso at commit 62fb6ab427f01e18c33d1212bb479611a714eb7bb898b0793e7abe2f412a11d1
$ echo "Hello from Atoll Forge" > greeting.txt
$ af submit
Submitted commit a6a4078e76b6b1d3b4692d25f1c6f15ad2553cce76873c250e7f618db787f69d, 1 edit in its last snapshot
```

```console eventually
$ af status
Change movqquzovuynrrsysorzoymvsqqwqrso (landed) at commit a6a4078e76b6b1d3b4692d25f1c6f15ad2553cce76873c250e7f618db787f69d
```

## Demo: the scan holds a secret back

```console check
$ af new -m "Add a billing fixture"
Working on change qvkrlwvlqyuplytlsnnzwvrwlvlpoqpw at commit 86d1be4cf15ae030df1255781cdde1637267f9d578711b73ea4b7647b62a23e1
$ echo "card: 4111111111111111" > billing.txt
$ af submit
Submitted commit d68e1d12a8d62f02d0e2d544fd8a4fa52c87d2ff99b06f07ebe0ea526e7471d9, 1 edit in its last snapshot
```

```console eventually
$ af status
Change qvkrlwvlqyuplytlsnnzwvrwlvlpoqpw (submitted) at commit d68e1d12a8d62f02d0e2d544fd8a4fa52c87d2ff99b06f07ebe0ea526e7471d9
Based on landing 1
Landing waits for: clearance
The landing scan found 1 thing
```

A person with the approver role must clear it, giving a reason: the author too, unless the forge requires another person, and every report lists that as an exception.

## Demo: nothing is lost

Every write was an operation in the log:

```console check
$ af op log -n 3
887b11b2e5da  2026-11-25T06:22:21.238Z  snapshot by you, undo candidate
    qvkrlwvlqyuplytlsnnzwvrwlvlpoqpw
b2a1ac51dff0  2026-11-25T06:22:21.201Z  start by you, undo candidate
    qvkrlwvlqyuplytlsnnzwvrwlvlpoqpw
ca274a2abbc7  2026-11-25T06:22:21.163Z  land by the forge
    movqquzovuynrrsysorzoymvsqqwqrso
```

## Where to go next

- **Try it:** the [quickstart](https://docs.forge.workreef.dev/start/quickstart/), five minutes.
- **Learn it:** the [developer track](https://docs.forge.workreef.dev/learn/#developer), six lessons with labs.
- **Understand it:** [How it works](https://docs.forge.workreef.dev/concepts/changes/), from changes to keys.
- **Look things up:** the [af reference](https://docs.forge.workreef.dev/reference/af/).

Source: https://docs.forge.workreef.dev/learn/decks/forge-in-20-minutes/index.mdx
