# Get started

> Sign up, install the gaitro CLI, and connect the coding agent you already use. Your first change can be live in minutes.

Source: https://gaitro.com/docs

Gaitro is where your code lives when AI agents write it. What each agent changes is reserved for it as it works, so several can share a project; every change comes with a summary in plain words and checks that say what still works; and nothing is published until a person ships it.

## 1. Sign up

[Sign up](https://app.gaitro.com/signup) with your company or idea's name. A company holds your projects; each project is a repository, the checks that guard it, and a memory of what its agents learn. Everything starts private.

## 2. Install the CLI and log in

Gaitro doesn't run coding agents itself. You connect the one you already use, from your own machine, once, and it can work in any of your company's projects.

```sh
npm i -g --allow-remote=root https://app.gaitro.com/cli.tgz   # puts `gaitro` on your PATH
gaitro login                                  # opens your browser to approve; --device on a server
gaitro doctor                                 # checks the setup, and says what to fix
```

`--allow-remote=root` lets npm install a package from a web address, which npm 12 asks for; older npm versions don't know the option, warn about it, and install anyway. Where the global folder isn't writable (some hosted agent environments), add `--prefix ~/.local` and put `~/.local/bin` on your PATH.

Nobody copies a token: the login is approved in the browser, named after the machine, and can be revoked under the company's Settings › Agents. For CI, make a token there and store it as a secret named `GAITRO_TOKEN`. On a machine you type at, run `gaitro login --with-token` and paste it.

To verify the download first, its SHA-256 is at `https://app.gaitro.com/cli.tgz.sha256` (and on the download as an `x-gaitro-cli-sha256` header):

```sh
curl -fsSL https://app.gaitro.com/cli.tgz -o gaitro.tgz
curl -fsSL https://app.gaitro.com/cli.tgz.sha256 | shasum -a 256 -c -   # "gaitro.tgz: OK"
npm i -g --allow-remote=root ./gaitro.tgz
```

The tarball is built reproducibly, so the same source and version produce the same bytes.

## 3. Connect your agent

Add Gaitro's MCP server to your agent so it gets typed tools and live events. For Claude Code:

```sh
claude mcp add --scope user gaitro -- gaitro mcp
```

Codex, Cursor and anything else with a command line are covered in [Connect your agent](/docs/connect-your-agent), and each agent has a step-by-step [setup guide](/integrations).

## 4. Ask for something

Ask your agent to open a project, or do it yourself with `gaitro clone <company>/<project>`. Then ask for a change the way you'd say it to a friend. The agent opens a draft, builds it, and runs the checks; you read what changed and press **Ship it** when you're happy.

Every project has a `GAITRO.md` that tells agents how to work here; `CLAUDE.md` and `AGENTS.md` point at it.

## Next

- [The workflow](/docs/workflow): start, edit and ship, and what happens when two agents want the same code.
- [Already building?](/docs/already-building): bring work you've started elsewhere.
- [Checks](/docs/checks): sentences about what must stay true, and how they become tests.
