Bravos · Setup
What bravos setup does.
One command sets up this machine and this repository. Run it in a repository, in a terminal: it asks one question at a time, shows every change, and writes nothing until you choose Apply.
npm install -g @bugb-technologies/bravosbravos setupEverything it puts in place.
Bravos's own GuardLink
GuardLink comes inside the Bravos package, at the exact version Bravos depends on. Setup links it into
~/.bravos/tools, so the CLI and the hooks run the same copy.cxg, checked before it runs
The cxg release binary for your platform, kept only when its SHA-256 matches the pin Bravos ships. Where the release has no binary for your machine, it is built with cargo.
cxg's browser parts
Python packages and Playwright's Chromium, in a Python environment of Bravos's own. Every package is installed by its pinned hash, and nothing is built from source.
Your own tools left alone
A
guardlinkorcxgyou installed yourself is not touched and not used. Bravos's Python is never put on your PATH, so yourpython3stays as it is.Your repository, for your agents
Skills, hooks and MCP for the agents you use, and a
.guardlink/threat model if there isn't one yet. It shows the list before Apply.Your team's choices, recorded
PR checks, autopilot, a scheduled run and how testing is allowed are written into the repository, so a teammate who runs
bravos setupgets the same.
In a terminal
Two commands.
Install the npm package (Node.js 20 or newer), then run bravos setup in your repository. The guided setup has two parts. This machine: colours, an optional sign-in and tools, set once for every repository. This repository: which agents, pull-request checks and testing, recorded in the repository for your team.
npm install -g @bugb-technologies/bravosthe CLI, with Bravos's own GuardLinkbravos setupguided: this machine, then this repositorybravos setup --checkwhat is installed and what setup would do; changes nothingbravos setup --changeask this repository's questions againbravos setup --toolsthis machine: only Bravos's own GuardLink and cxgbravos setup --yesa first setup with the defaults, nothing asked
Where you run it
It does only what is missing.
The whole setup, one question at a time.
It offers to sign you in (optional: skip it to stay on Free, which needs no account), installs the tools, then asks about the repository: which agents, PR checks, scheduled upkeep and testing. It shows the changes before you choose Apply.
bravos setupThe machine is ready, so it asks less.
It skips what the machine already has and asks only that repository's questions. When nothing on the machine needs doing, it says so in one line.
bravos setupUp to date, with the team's choices kept.
It brings this machine and the repository up to date. A teammate is asked only about their own machine, and nothing the team decided is rewritten. To change the repository's setup, run bravos setup --change.
bravos setup --changeQuestions
Does setup change anything before I say so?
No. Each question waits for your answer, Esc goes back a step, and nothing is written until you choose Apply. Signing in is the one step that acts when you choose it. Cancel at the review changes nothing.
Do I need an account?
No. Signing in is optional: the Free plan needs no account. If you sign in and your account has no plan, it starts a free 30-day Team trial, with no card.
Where do GuardLink and cxg go?
Under ~/.bravos/tools. Every bravos setup installs them and brings them to the versions this Bravos pins. A guardlink or cxg you installed yourself is left alone and not used.
How does it check what it downloads?
The cxg release binary is kept only when its SHA-256 matches the pin committed in Bravos, and it must then report the pinned version. cxg's Python packages are installed by their pinned hashes, with nothing built from source and nothing fetched outside the lock.
Does it change my Python?
No. cxg's browser parts go in a Python environment of Bravos's own, which is never put on your PATH. If no Python on the machine fits, Bravos downloads its own standalone CPython into the same folder, checked by its SHA-256. It never uses sudo or a package manager.
Which coding agents does it set up?
The guided setup offers Claude Code, Codex, opencode, oh-my-pi (omp) and Antigravity. For Cursor, run bravos setup --agent cursor.
Does it start my coding agent?
No. Bravos never starts an agent itself. When setup ends, open your agent in the repository and say anything: Bravos begins with what the app is for.
Can I run it from a script?
Yes. bravos setup --yes does a first setup with the defaults and asks nothing, in the folder it runs in or the one you name, and refuses a folder that isn't a git repository. With no terminal, a plain bravos setup only brings what is installed up to date.
Set Bravos up in your repository.
Install the CLI and run bravos setup, or copy the setup prompt and let your coding agent do it for you.
npm install -g @bugb-technologies/bravosOpen your project in your coding agent, then paste this.