rightcommit 1.0.1

Self-hosted, Rust-built orchestration for Claude Code, Codex and Pi Agent. Parallel workflows, full control over every commit, and FinOps that shows exactly what each agent and model costs.
# Installing rightcommit on macOS

This guide installs rightcommit directly on your Mac, without Docker.
For the quickest start with Docker, see [INSTALL.md](INSTALL.md); with Podman, see [INSTALL_PODMAN.md](INSTALL_PODMAN.md).

**You need:** a Mac, an Internet connection and about 20 minutes.

There are two ways:

- **[Homebrew]#install-with-homebrew** (recommended): one command installs the app and
  everything it needs.
- **[crates.io or source]#for-developers-cratesio-or-source**: for developers who already
  use Rust.

> With a native installation every account in the app runs as your Mac user.
> Full isolation between users (a separate system user for each account) is only
> available with Docker or Podman.

## Before you start: using Terminal

Terminal is the Mac app where you type commands.

1. Press **⌘ Cmd + Space**.
2. Type **Terminal** and press **Return**.

**How to run a command:** copy the line from the grey box, paste it into Terminal
with **⌘ Cmd + V** and press **Return**. Wait for the command to finish (the cursor comes back)
before moving on to the next one.

> If Terminal asks for your **Mac password**, type it and press Return.
> Nothing appears on screen while you type: that is normal.

## Install with Homebrew

### Step 1 — Install Homebrew (only if you don't have it)

Homebrew is a program that installs other apps from Terminal. Check whether you already have it:

```sh
brew --version
```

- If you see a version number, go to **step 2**.
- If you see `command not found`, open [brew.sh]https://brew.sh, copy the command
  on that page, paste it into Terminal and follow the instructions. At the end Homebrew shows
  a few commands under **Next steps**: run them, then close and reopen Terminal.

### Step 2 — Install rightcommit

```sh
brew install rightcommit/tap/rightcommit
```

Homebrew compiles rightcommit on your Mac: the first time this takes several minutes.

Homebrew also installs Rust to compile rightcommit. Afterwards you can remove it with
`brew autoremove`: an upgrade installs it again when needed. If you keep it and already use
[rustup](https://rustup.rs), run `brew unlink rust`, so that your rustup toolchain stays
first. Workflows on Rust projects, such as the bundled helpdesk example, use the Rust in
your PATH.

### Step 3 — Create the app folder

```sh
mkdir -p ~/rightcommit
cd ~/rightcommit
```

The app keeps your data in this folder.

### Step 4 — Set up the agents (once)

```sh
rightcommit setup
```

This downloads the AI agents (Codex, Claude Code, Pi). When it finishes you see
**Configurazione completata** ("setup complete").

### Step 5 — Start the app

```sh
rightcommit
```

**Keep this Terminal window open** while you use the app.
Now go to **[Open the app](#open-the-app)**.

### Everyday use

- **Stop the app:** in the Terminal window press **Ctrl + C**.
- **Start it again another day:** open Terminal and run

  ```sh
  cd ~/rightcommit
  rightcommit
  ```

  Always start from the `~/rightcommit` folder: that is where your data lives.
- **Update to a new version:**

  ```sh
  brew update
  brew upgrade rightcommit
  cd ~/rightcommit
  rightcommit setup
  ```

- **Your own project folders:** to work on folders from your computer, use a **Source** node
  of type **Folder in /sources**. rightcommit creates `~/rightcommit/sources` at its first
  start: put your projects there.

## Open the app

1. Open your browser at **[http://localhost:8080]http://localhost:8080**.
2. Create the first account with an email and a password: it becomes the **administrator**.
3. Open **Agents and connections**, paste the API key of the agent you want to use
   (Codex, Claude Code or Pi) and save.

Done: you can create your first workflow.

## Troubleshooting

| Problem | What to do |
|---|---|
| `command not found: brew` | Run the **Next steps** commands shown at the end of the Homebrew installation, then close and reopen Terminal. |
| `command not found: rightcommit` | Close and reopen Terminal. If that doesn't help, repeat step 2. |
| `command not found: cargo` (crates.io or source) | Run `source "$HOME/.cargo/env"`. |
| Errors about `npm` or `node` during setup (crates.io or source) | Run `export PATH="$(brew --prefix node@24)/bin:$PATH"`, then repeat the setup. |
| The `localhost:8080` page doesn't open | Check that the Terminal window running rightcommit is still open. |
| Error about port 8080 already in use | Another app, or another copy of rightcommit (for example in Docker), is using the port. Stop it. |
| You can't find data you created earlier | Start rightcommit from the same folder as before. Docker and this installation keep separate data. |

## For developers: crates.io or source

These options compile the app with your own Rust toolchain.

### Shared prerequisites

Once, with [Homebrew](https://brew.sh) installed:

```sh
xcode-select --install
```

Wait for it to finish (if it is already installed, continue), then:

```sh
brew install protobuf node@24 pkg-config openssl cmake ripgrep
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"
rustup toolchain install 1.95.0
```

In **every new Terminal**, before using these options:

```sh
source "$HOME/.cargo/env"
export PATH="$(brew --prefix node@24)/bin:$PATH"
```

### From crates.io

```sh
cargo +1.95.0 install rightcommit --locked
mkdir -p ~/rightcommit
cd ~/rightcommit
rightcommit setup
rightcommit
```

- To update, repeat `cargo +1.95.0 install rightcommit --locked`, then `rightcommit setup`.
- Data stays in `~/rightcommit/data`: always start from the same folder.

### From source

```sh
cd ~
git clone https://github.com/rightcommit/rightcommit.git
cd rightcommit
cargo +1.95.0 run --locked -- setup
cargo +1.95.0 run --locked
```

- Next time, `cd ~/rightcommit` and `cargo +1.95.0 run --locked` are enough.
- To update: `git pull`, then `cargo +1.95.0 run --locked -- setup`.
- Your own project folders go in `~/rightcommit/sources` (Git ignores their content).
- If you change the examples or extensions, regenerate the bundled resources first with
  `python3 scripts/bundle-assets.py` (new files must be tracked by Git).
- Optional connections may need extra tools
  (for example `twg` for Atlassian Teamwork Graph).