Installing Builder
Last checked against Builder 0.8.2, on 2026-11-29.
These pages install Builder's current release; the first public release was 0.6.0, and the release
notes say what each release changed. Builder ships from five public
repositories, each cloned at its stable branch: shipwright, agent-platform, library,
convivy-orient and convivy-deck. A sixth, write-better, ships no release of its own; each
release's signed manifest names the commit it is installed at. Before you start
shows how to clone all six.
Every command and message on these pages was run and seen on a test machine, except where a page says it was not. On Debian, that machine had nothing of Builder's on it beforehand, and a newcomer given only these pages used it to go from that empty machine to a crew whose session built a working tool.
The install checklist lists every step on these pages as a single page of checkboxes, if you would rather tick each one off than read the pages in order.
The one command
Sign in to the machine that will run your sessions, as the account Builder will run in, and run:
curl -fsSL https://convivybuilder.org/install.sh | sh
Builder needs git, Python 3.11, Claude Code and, on a Mac, tmux and gpg. The install installs what it
can of these, depending on your machine and account:
| Your machine and account | What the install does |
|---|---|
Linux, an account that can use sudo |
It installs git, Python 3.11, curl and ca-certificates with apt-get, asking for your password once. |
Linux, an account with no sudo |
It stops and names what an administrator has to install. Installing on Linux, without administrator access shows how to go on. |
| Linux, signed in as root | It stops before changing anything. Sign in as the account Builder will run in and run it again. |
| A Mac with Homebrew | It installs git, Python 3.11, tmux and gnupg, which provides gpg, with brew, as your own account. |
| A Mac with no Homebrew, an administrator account | It runs Homebrew's own installer, which also brings Apple's Command Line Tools, then installs Python 3.11, tmux and gnupg with brew. Homebrew asks for your password and a confirmation at the terminal. With no terminal to ask at, as over ssh without -t, it stops and says to install Homebrew from https://brew.sh first. |
| A Mac with no Homebrew, a standard account | It stops and names git, Python 3.11, tmux and gpg and how to get each. |
On any machine, if Claude Code is missing, the install installs it into your own account with
Anthropic's script. Once the install finishes, run claude once to sign in; only you can do that.
Then it clones Builder's six repositories into ~/src and installs Builder as your own account.
Running it again finishes or repairs an install and changes nothing already there.
Before any installer runs, the install checks that the release is one Convivy signed. It fetches the
release's signed manifest and checks the signature against the release keys this copy trusts: those
built into the one-line install script, or, for the Homebrew copy, those the formula built into it
from the release archive the formula pins. It then checks the commit of each of the six
repositories and the sha256 of the release archive against what the manifest names, and it runs no
installer unless every check passes. No option, environment variable or prompt skips the check.
The install also clones
write-better at the commit the manifest names, rather than at its main, so a later change to
write-better does not stop an older release installing.
A copy of the installer run from a git checkout refuses with could not check, because the trusted
keys in a checkout cannot vouch for the checkout they sit in. Use the one-line install from the
site instead, or check clones you made by hand with the site's script:
curl -fsSL https://convivybuilder.org/install.sh | sh -s -- --verify vX.Y.Z, naming the release
you want checked.
A failed check ends the install before any installer runs, leaving the machine as it was. The
message says which check failed, and the exit status says what kind. 1 means the release is not
one Convivy signed: the signature did not verify, or a repository or archive on disk is not what the
manifest names. Do not run Builder from those clones. 3 means the check could not run at all:
the manifest could not be fetched, ssh-keygen is missing, or a repository is absent. Fix that and
run the command again.
On the server role, it also asks two questions once, right before it creates the GitHub App:
which permission mode crew sessions run in, and whether they start with remote control. It
recommends auto for the permission mode and offers bypassPermissions, which runs every tool
call without asking; remote control defaults to off. Pass --permission-mode (auto, default,
acceptEdits or bypassPermissions) or --remote-control (on or off) to answer either one
without a terminal, or to script the install. Both answers land in co-launch.env, in
/usr/local/etc/convivy, the root-owned file co reads; a fresh install kept at
the defaults writes nothing, since an absent file already means auto and off. Rerunning the
install shows each current value as its own default. An account with no sudo changes nothing:
with no file yet, the defaults stay in effect and it prints the commands that create the file; with a
file already there, its values stay in effect and it prints the two lines to set in it as root.
As its last step, it creates the GitHub App your agents will act through and pauses: open the
address it prints in a browser and click Create GitHub App, and the install finishes once
GitHub redirects back. Over SSH, where that redirect cannot reach this machine, paste the whole
address the browser was left at (http://127.0.0.1:<port>/callback?code=...&state=...) at the
terminal instead. Starting with 0.7.1, --github-app-port <n> serves that page on port <n>
rather than any free one, so you can forward it first with ssh -L <n>:127.0.0.1:<n> <server>
and open the page on your own computer. Add --no-github-app to skip this and create the App
later by hand; Connecting
GitHub covers both the install's own step and the manual command, and the
rest of what connects the App to your repositories.
To install the two-account shape instead of the default single account, add --shape two. It runs
Builder as one account of its own, agents, with reviews also running as agents rather than a
separate account, so one account both writes a change and reviews it; that shape's review findings
are called advice, in those words, because a coder can steer what the reviewer sees. It needs
administrator rights and one of the server platforms Supported setups lists
(Debian 12, Ubuntu 24.04 or macOS 26); the install checks both before changing anything and names
what is missing. On Ubuntu 24.04 this release's two- and three-account installs stop partway, as
What does not work yet says. It then creates the agents account, the root-owned privileged half pinned to the
release's commits, and the backend, and running it again finishes or repairs the install exactly as
the single-account shape does. This shape's install has been rehearsed on Debian 12 and macOS 26
test machines, but nobody has yet used it to write code; What does not work
yet says more.
github-gate --shape two prints and checks this shape's two rulesets on main: one that requires
a pull request and the checks you name, and one that refuses every update except a pull request
you merge. This install does not yet point you at them, so merge each pull request yourself, from
another device, through GitHub's own web page, until it does.
The agents account must not be able to read your home. If your home is readable by other
accounts, as it can be on a stock Debian 12, the install refuses and says so. Close it first:
chmod 750 ~
curl -fsSL https://convivybuilder.org/install.sh | sh -s -- --shape two
To install the three-account shape instead, add --shape three. It needs the same administrator
rights and supported platform, and the same closed home. It then creates the agents and
reviewers accounts, the root-owned privileged half, and the backend, each as the account that
step needs, and running it again finishes or repairs the install exactly as the single-account
shape does. This shape has been rehearsed end to end on Debian 12 and macOS 26 test machines. On
Ubuntu 24.04 this release's three-account install stops partway, as it does for the two-account
shape; What does not work yet says why and lists what else has not been
rehearsed.
curl -fsSL https://convivybuilder.org/install.sh | sh -s -- --shape three
On your laptop, to install Deck instead, add --role laptop:
curl -fsSL https://convivybuilder.org/install.sh | sh -s -- --role laptop
The laptop needs git, Python 3.11 and swift; it needs neither Claude Code nor tmux. The install
installs git and Python 3.11 the same way it does on a server Mac — Homebrew when it is there,
Homebrew's own installer first when it is not and an administrator is at the keyboard — and swift
along with it, since the Command Line Tools bring both. If swift is still missing afterward,
install Apple's Command Line Tools yourself (xcode-select --install).
Once Deck is built and placed, the laptop install also sets up the ssh config Deck's crew sidebar
reads, using a tool from the agent-platform tree it fetched alongside Deck's own checkout. That
tool needs three things already set up on this laptop: this laptop's own operator config
naming the server's address on your private network, an ssh host alias for the server, and a
mounted share of the account that runs your crews. When any of the three is missing, Deck is
installed anyway and the install says which is missing; fixing it and running the laptop install
again is safe.
On a Mac with Homebrew, you can install the same installer through Homebrew instead, and then run
it. On a clean Mac, this route has installed 0.7.0 with --no-github-app and passed its release
check.
brew install convivybuilder/tap/builder
builder-install
On your laptop, run builder-install --role laptop instead. Homebrew installs only the installer,
pinned to the current release, along with Python 3.11 and tmux; brew upgrade moves it
to each new release.
The rest of this page, and the pages under Which install is yours, show
the manual route: the same steps, one at a time, for anyone who wants to see or do each one
themselves, or whose machine the one command refuses on. The manual route runs each installer
directly and does not perform the release check, so check its clones with --verify if you want
that assurance. What does not work yet lists the one
command's untested steps.
A server, and a laptop to work from
Builder works best on two machines with different jobs.
- A server runs the sessions. It is a machine that stays on and stays awake: a Linux machine, a virtual machine in the cloud, or a Mac left plugged in somewhere. Builder's backend, its crews and every session they start live there. These pages install Builder on it.
- Your laptop is where you work from. You run Deck there, the Mac app that shows each crew and lets you talk to its sessions, and Deck reaches the server over SSH. The laptop runs no sessions of its own, so you can close it, take it with you, or switch it off.
The two machines are joined by a private network such as Tailscale, so the server needs no port open to the internet. How many machines Builder runs on says more about each machine's part.
Builder is set up this way because long-lived sessions build complex projects better. A crew's session keeps its conversation, what it has read and what it has decided, for as long as it runs. A large project takes many hours of agent work spread over days: designing, writing code, reviewing it and fixing what the review finds. On a server, a session keeps that work going overnight and while your laptop is shut, and it is still there, with everything it knew, when you open Deck again. A session on a laptop stops whenever the laptop sleeps.
This release needs both machines. What you need lists them, and the account each one needs.
After the install gives the steps that add your server to Deck on the laptop. They have not been rehearsed end to end yet; What does not work yet says so.
Which install is yours
Every reader starts with Before you start, below. Then follow the one page that fits the machine that will run the sessions, and the account on it:
- Installing on Linux, with administrator access, for Debian or Ubuntu when your account can install software
for the whole machine, which on Linux means it can use
sudo. Runsudo -vto find out; Words these pages use explains it. - Installing on Linux, without administrator access, for a Linux account that cannot install software for the whole machine, where someone else administers it.
- Installing on a Mac, for any Mac, whether you administer it yourself or someone else does.
All three end at After the install, which shows what the install put where and takes you to the steward and your first crew. When something goes wrong, at the end of this page, lists what to do when a step refuses.
Words these pages use
The pages use two sets of words. The first set belongs to any computer.
- A terminal is a window where you type commands and read the answers. On a Mac it is the Terminal app, in Applications › Utilities. A shell is the program inside it that reads what you type. A login shell is a shell started by logging in, which is when it reads your account's settings. Logging out and back in gives you one.
~stands for your account's home folder, so~/srcis a folder namedsrcinside it.PATHis the list of folders the shell searches for a command. A program is "on yourPATH" when you can run it by typing its name.- An administrator is an account allowed to change the whole machine, for example by installing programs every account can use. On Linux the all-powerful account is called root.
sudois the command an administrator types in front of another command to run that one command as root.sudo apt-get install tmux, for example, installstmuxfor the whole machine. The first time in a while,sudoasks for your own account's password, and it works only if the machine's administrator has allowed your account to use it. To find out whether yours can, runsudo -v: if it asks for your password and then prints nothing, your account can usesudo; if it says your accountmay not run sudooris not in the sudoers file, it cannot. A command run withsudocan change anything on the machine, which is why these pages use it once at most.- Git is the tool that records every change to a folder of files. A repository is a folder
it keeps that way, to clone one is to copy it onto your machine, a commit is one recorded
change, and
mainis the repository's current version.stableis a branch that always points at the latest tagged release, so cloning it skipsmain's unreleased edge. - A service or job is a program that runs in the background without a window.
- A credential or token is a secret that proves to one program that another may use it.
- tmux is a background program that keeps terminal sessions running after you close the window.
- SSH is a standard way to open a terminal on another machine.
The second set is Builder's own.
- Claude Code is the program that lets you talk with Claude, an AI model, in a terminal. A session is one such conversation.
- The steward is the first session you meet. It asks what you want to build and sets up a crew.
- A crew is one project and everything working on it, and a bead is a crew's short description of where its project is going.
- The Library is where Builder keeps everything a project knows. The Reference Room is the part of it that holds what a project holds to be true, which many systems call a knowledge base. Your knowledge repository is the git repository that holds the Reference Room's documents.
- Your install repository is a git repository the install makes at
installinside your Builder root, holding configuration that is not a secret and is not part of any one release — the registry of your crews and the projects they work on is its first file. - The work queue is the list of pieces of work, which the Library serves.
- Orient is Builder's view of the whole system, and Deck is the Mac application you work from.
Before you start
You need three things in place before the first install command.
- A machine and account that fit one of the three install pages above. Every route needs
gitandpython3. On Linux withoutsudo, or on a Mac, the administrator's part of your install page provides them, so do that part first. - Claude Code, installed and signed in on that account. Run
claudeonce and follow its sign-in. On a Mac, and on Linux withoutsudo, your install page installs it in the owner's part. - The six repositories, cloned side by side in one folder, as the steps below show.
Cloning the six repositories
All six repositories are public, in the convivybuilder organisation on GitHub:
https://github.com/convivybuilder/shipwright
https://github.com/convivybuilder/agent-platform
https://github.com/convivybuilder/library
https://github.com/convivybuilder/convivy-orient
https://github.com/convivybuilder/convivy-deck
https://github.com/convivybuilder/write-better
convivy-deck builds Deck, the Mac app. Skip it if you are installing only the backend on Linux.
Clone only from addresses you trust. On Linux with sudo, the first install command runs this code
as root, and code run as root can change anything on the machine. On the other routes it runs as
your account and reaches everything your account holds.
- Open a terminal on the machine Builder will run on, as the account Builder will run in. A new terminal starts in your home folder.
- Check that git is there. Run
git --version. It prints a line such asgit version 2.39.5. If it sayscommand not found, git is missing: install it withsudo apt-get install giton Linux withsudo, or ask the machine's administrator, whose part of your install page installs it. - Make the folder the repositories will sit in, and move into it. These pages use
~/src:
mkdir -p ~/src
cd ~/src
- Clone the five released repositories at their
stablebranch, which checks out the latest release. Run the five lines one at a time. Each printsCloning into '<name>'...and takes a few seconds:
git clone --branch stable https://github.com/convivybuilder/shipwright
git clone --branch stable https://github.com/convivybuilder/agent-platform
git clone --branch stable https://github.com/convivybuilder/library
git clone --branch stable https://github.com/convivybuilder/convivy-orient
git clone --branch stable https://github.com/convivybuilder/convivy-deck
- Clone
write-better, which ships no release and has nostablebranch:
git clone https://github.com/convivybuilder/write-better
- Check the result. Run
ls ~/src. It lists the six folders:
agent-platform convivy-deck convivy-orient library shipwright write-better
- Go back to your home folder with
cd, since the install commands are written to run from there.
If a clone stops with Repository not found or Could not resolve host, check the address for a
typing mistake and that the machine can reach github.com, then run that one line again. If it stops
with destination path '<name>' already exists, that repository is already cloned and you can go
on to the next line.
Now follow your install page from Which install is yours.
When something goes wrong
Each installer refuses rather than doing half a job, and says what it refused. A refusal leaves what was already installed as it was, and you can run the step again once the cause is fixed. Each heading is the message or symptom you will see, so find yours and read only that part.
provision-backend says apt-get update failed and sudo: a password is required
The command ran without sudo somewhere sudo could not ask for a password. On the first install,
before any crew exists, run it with sudo in front, as Installing on Linux, with administrator access does. After that, never
run it as root: install the package it names with sudo apt-get install <package>, then run
provision-backend --no-install without sudo to check that nothing else is missing.
install-backend: no checkout for library under ~/src
One of the five repositories is missing from the folder beside shipwright. The message names it.
Clone it there and run stand-up-backend again. The install looks for all five in the folder that
holds shipwright.
link-commands: 1 destination(s) hold something this did not put there
A file already exists in ~/.local/bin under the name of one of Builder's commands, and the install
will not replace a file it did not make. The message names the file. Move it somewhere else, then
run stand-up-backend again. The message names a second cause as well: the files can be the
install's own earlier links, if its deploy folder is now named by a different path. The targets the
message lists say which, and moving them aside fixes that case too.
link-commands: ~/.local/bin is NOT on PATH
The commands are linked but your shell does not look in that folder. Log out and back in first: on
Debian and Ubuntu, a login shell adds ~/.local/bin once the folder exists. If command -v co still
prints nothing, add this line to ~/.profile, or on a Mac to ~/.zprofile:
export PATH="$HOME/.local/bin:$PATH"
The install also adds a line to ~/.bashrc (bash) or ~/.zshenv (zsh) so a command run over ssh,
which never reads ~/.profile or ~/.zprofile, finds ~/.local/bin too.
A skill is missing from a session
Two commands link skills. List what each one linked:
sh ~/src/shipwright/bin/install-payload --status
python3 ~/src/shipwright/bin/link-commands --status
Between them they should show nine: install-payload links new-crew, new-subcrew,
take-upstream, write-bead, rollover, handoff-pickup and handoff-leave, and link-commands
links write-better and talk-better. The first command's
live paths list shows every skill in ~/.claude/skills, whichever command linked it. If one is
missing, run the command that links it again without --status, which puts it back, then start a
new session: a session already running keeps the skills it started with.
install-payload: refusing to install a payload with symlinks in it
The payload/ folder of your shipwright clone's main holds a symbolic link, a file that points
at another file. The whole payload is copied into the install, and a link there would serve
whatever it points at on this machine as if Builder had shipped it, so the install refuses and keeps
the version already installed. The lines before the message list each link. Replace each one with
the file it points at, commit, and run install-payload again.
The install says jobs were started and are not running
The message names each job and its log. To see a service's state and its recent output on Linux:
# single-account install
systemctl --user status com.convivy.library.service
tail ~/.local/state/library.log
# three-account install
systemctl status com.convivy.library.service
tail /opt/builder/var/log/com.convivy.library.out
On a three-account install the log belongs to agents and its group, which the install adds your account
to. A terminal session you opened before the install does not have that group yet, so tail there
answers Permission denied; log out and back in, or open a new login session, and it reads the log.
The install checks each job once, straight after starting it, so a job that runs for a moment before
stopping can be missed there. systemctl --user list-units 'com.convivy*' shows every job's state
at any time on a single-account install, and systemctl list-units 'com.convivy*' on a three-account
one. On a Mac, launchctl print gui/$(id -u)/com.convivy.library shows a job's state, pid,
last exit code and log path on a single-account install, and launchctl print
system/com.convivy.library on a three-account one. Orient's log can start with preflight FAILED,
build.load_docs() cannot reach the Library from its first seconds, while the Library was still
starting. A later preflight ok means it recovered.
The install stops at mint_credential.py, saying already has a credential
One of the seven credential files in ~/.orient-control, or the Bosun's in ~/.local/state/library, is gone, and the Library still has the
credential it matched. The install will not replace a
credential, so it stops and changes nothing. If you have the file, put it back. If not, replace the
credential. The commands below restart Orient with systemctl --user, so they are for a single-account install
on Linux; on a three-account install the files are in the agents account's home and Orient runs at
system scope. Replace library-token with its grant, since a replacement without --grants would
lose it:
cd ~/.local/deploy/library
LIBRARY_API_TOKENS=~/.local/state/library/api-tokens.json .venv/bin/python mint_credential.py --file agents --name orient --grants registry.read --out ~/.orient-control/library-token --replace
systemctl --user restart com.convivy.orient.service
For library-client-token, use LIBRARY_CLIENT_TOKENS=~/.local/state/library/client-tokens.json,
--file clients, --name orient and --out ~/.orient-control/library-client-token. For
ops-mcp-token, keep --file agents and use --name ops-mcp --out
~/.orient-control/ops-mcp-token. Replace agent-platform-token with its grant, since a replacement
without --grants would lose it, and with no restart:
cd ~/.local/deploy/library
LIBRARY_API_TOKENS=~/.local/state/library/api-tokens.json .venv/bin/python mint_credential.py --file agents --name agent-platform --grants review_record.create --out ~/.orient-control/agent-platform-token --replace
Replace agent-platform-registry-reader-token the same way, with its own grant and no restart:
cd ~/.local/deploy/library
LIBRARY_API_TOKENS=~/.local/state/library/api-tokens.json .venv/bin/python mint_credential.py --file agents --name agent-platform-registry-reader --grants registry.read --out ~/.orient-control/agent-platform-registry-reader-token --replace
Replace agent-platform-registry-writer-token the same way. It takes --kind registrar in place of a grant, and needs no restart:
cd ~/.local/deploy/library
LIBRARY_API_TOKENS=~/.local/state/library/api-tokens.json .venv/bin/python mint_credential.py --file agents --name agent-platform-registry-writer --kind registrar --out ~/.orient-control/agent-platform-registry-writer-token --replace
For deck-library-token, use the same LIBRARY_CLIENT_TOKENS, --file clients, --name deck and
--out ~/.orient-control/deck-library-token, with no restart. An install from before 0.7.0 that
holds a deck credential and no file stops here when it moves to 0.7.0, and its message prints this
command.
The eighth credential, the Bosun's, lives at ~/.local/state/library/bosun-client-token; replace
it with
--file clients --name bosun --holds-reserved= --out ~/.local/state/library/bosun-client-token
and the same LIBRARY_CLIENT_TOKENS, with no restart. --holds-reserved= is left empty on purpose,
as the install leaves it: the Bosun acts for no person, so it holds none of the capabilities
reserved for one, such as approving. When the command finishes, the old token no longer works.
If the command is interrupted, the old token can be left in a backup beside the credential file,
such as ~/.orient-control/ops-mcp-token.mint-backup, and it still works. The next run refuses with
a stale backup already exists. Move the backup aside, for example by adding the date to its name,
and run the command again. Delete it only once the new credential works, since it may hold the only
copy of a working token.
A crew's own ops-<crew>-token or ops-co-<crew>-token refuses the same way, with the store
already holding a credential of that name and no file to show for it. Run mint-crew-ops-credentials
again rather than minting by hand: it reports every pair this way and prints the exact --replace
command for each one it cannot complete, naming the crew, the file and the grant.
A crew registered after the install has no ops credentials
This is specific to an install where the Library runs as its own account (sudo
bin/provision-accounts --shape two or --shape three). There, new-crew's own mint-crew-ops-credentials call
fails right after registering the crew, refusing on the database not existing or not opening: that
database belongs to the Library's own account, and a crew's session, which is what runs
mint-crew-ops-credentials there, is a different account and cannot open it.
Run this instead, as root, from the root-owned tree install-privileged extracted — never the
operator's own checkout. Each commit installed is extracted into its own tree, named
/opt/builder/src/shipwright@<that commit>, and an update that has run install-privileged
again can leave more than one such tree in place, so find the one root actually runs by reading
/opt/builder/src/installed, which names the commit, rather than listing the directory:
grep '^shipwright ' /opt/builder/src/installed
It prints one line, shipwright <commit>. Then run deliver-library-credentials from the tree at
that commit, with the absolute interpreter root runs it with, /opt/homebrew/bin/python3.11 on a
Mac and /usr/bin/python3 on Linux:
sudo /opt/homebrew/bin/python3.11 -I /opt/builder/src/shipwright@<the commit named above>/bin/deliver-library-credentials
It mints the new crew's ops-credential pair as the Library's own account — where the crew's
session cannot — and delivers it to agents in the same step. To confirm, as the crew's own
session, check the pair directly rather than running mint-crew-ops-credentials again: its
main() reads the Library's own database before it looks at any file, so it refuses again for
the same reason it did the first time.
test -s ~/.orient-control/ops-co-<crew>-token && echo present || echo missing
The operator can confirm the same thing, still as root, by adding --check to the command
above; it reports what is still undelivered and changes nothing.
claude mcp list shows kb and ops as connected, and their tools fail
Connected means only that the two tool servers started. These are the programs that give
Claude Code its kb tools, for the Reference Room, and its ops tools, for the work queue. The
ops tools need a per-crew file, which co and agentctl each point at a different name for the
same crew — ops-co-<crew>-token in ~/.orient-control for a crew's own session,
ops-<crew>-token there for a run dispatched into it. If the ops tools refuse to connect, run
mint-crew-ops-credentials to mint whichever of the two is missing; it changes nothing that is
already there.
Where to go next
- After the install shows what the install put where and takes you to the steward.
- Getting started describes a first week with the steward.
- How Builder works explains the parts the install put in place.
- The glossary explains each word Builder uses.
Last, read What does not work yet, which lists what Builder cannot do yet.