rightcommit 1.5.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.
<p align="center">
  <a href="https://rightcommit.com">
    <img src=".github/assets/rightcommit-icon.png" alt="rightcommit icon" width="128" height="128">
  </a>
</p>

<h1 align="center">
  <a href="https://rightcommit.com">
    <picture>
      <source media="(prefers-color-scheme: dark)" srcset="https://github.com/rightcommit/rightcommit/raw/HEAD/.github/assets/rightcommit-wordmark-dark.svg?sanitize=true">
      <img src=".github/assets/rightcommit-wordmark-light.svg" alt="rightcommit" width="360" height="72">
    </picture>
  </a>
</h1>

English | [简体中文]README_zh-CN.md

<!-- Keep README_zh-CN.md in sync when updating this README. -->

<p align="center">
  <strong>The open source workflow engine for AI coding agents.</strong>
</p>

<p align="center">
  Describe the job, get an editable workflow on a visual canvas, and run Claude Code, Codex and Pi through the tests, reviews and approvals you define. Self-hosted.
</p>

<p align="center">
  <a href="https://rightcommit.com"><strong>Website</strong></a> ·
  <a href="#quickstart"><strong>Quickstart</strong></a> ·
  <a href="#documentation"><strong>Docs</strong></a> ·
  <a href="#contributing"><strong>Contribute</strong></a> ·
  <a href="#license"><strong>License</strong></a>
</p>

<p align="center">
  <img src=".github/assets/rightcommit-walkthrough.gif" alt="rightcommit demo showing the Project Manager drafting a workflow, then execution, tests, review, a local commit, and FinOps" width="780">
</p>

<p align="center">
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-6254e8" alt="License: Apache 2.0"></a>
  <img src="https://img.shields.io/badge/built%20with-Rust-b7410e" alt="Built with Rust">
  <a href="https://github.com/rightcommit/rightcommit/actions/workflows/docker-check.yml"><img src="https://github.com/rightcommit/rightcommit/actions/workflows/docker-check.yml/badge.svg?branch=main" alt="Docker image checks"></a>
  <a href="https://github.com/rightcommit/rightcommit/actions/workflows/package-check.yml"><img src="https://github.com/rightcommit/rightcommit/actions/workflows/package-check.yml/badge.svg?branch=main" alt="Installable package checks"></a>
  <a href="https://github.com/rightcommit/rightcommit/stargazers"><img src="https://img.shields.io/github/stars/rightcommit/rightcommit?style=social" alt="GitHub stars"></a>
</p>

---

## What you can build

- **Feature delivery with Spec Kit.** Turn a feature idea into a specification, plan and tasks, then implement it and run local tests.
- **GitHub issue triage.** Read an issue and the repository to draft requirements, acceptance criteria and a test plan.
- **Confluence reporting.** Turn a page into a briefing that cites its source and lists risks, open questions and proposed tests.

## Quickstart

### Docker

Start Docker, then run the command below to clone and start rightcommit.

```sh
git clone https://github.com/rightcommit/rightcommit.git && cd rightcommit && docker compose up -d --build
```

The first build can take several minutes. For a ZIP download or step-by-step instructions, see the
[Docker install guide](INSTALL.md).

### Homebrew on macOS

```sh
brew install rightcommit/tap/rightcommit
mkdir -p ~/rightcommit && cd ~/rightcommit
rightcommit setup
rightcommit
```

Run `rightcommit setup` once to install the agents. Launch `rightcommit` from the same folder
on future starts to reuse your data. See the [macOS install guide](INSTALL_MAC.md).

### Run your first workflow

1. Open <http://localhost:8080>. The first account becomes the administrator, and public sign-up
   closes by default.
2. In **Personal settings → Agents**, configure an API key or authorized provider for at least
   one agent and pick a model. See [Configuring the agents]#configuring-the-agents.
3. Press **+** to pick a ready-made workflow, or describe one to the **Project Manager**. Check
   the draft on the canvas and run it.

**[Star rightcommit](https://github.com/rightcommit/rightcommit)** if you find it useful.
[Report a bug or suggest an idea](https://github.com/rightcommit/rightcommit/issues),
or see [how to contribute](CONTRIBUTING.md).

<a name="why-rightcommit"></a>
<a name="what-you-get"></a>

## How you stay in control

### AI agents say done. rightcommit proves it.

- **Assign agents and tools.** Pick Claude Code, Codex or Pi for each agent step. Build the workflow on the canvas or edit a draft from Project Manager.
- **Set quality gates.** Require closed tasks, run tests on the server and require fresh test results if files change. Add agent reviews and human approval before a local commit.
- **Inspect the work.** See versions of tracked files with SHA-256 fingerprints and line-by-line diffs for supported text files. Route failed checks back for a limited number of retries.
- **Choose when to intervene.** Run in interactive, assisted or unattended mode. Pause for human decisions and resume from the saved state.
- **Track usage and costs.** FinOps shows recorded tokens and available costs by step, run, workflow, agent and model. It shows reported costs and estimates separately.

### Tests on the server

The **Local CI** step (a Connection node with provider **Local Git / CI** and operation
**test**) runs your project's tests in the run workspace. Set **Test command** on the node, or
leave it empty to detect it from the files in the workspace root, in this order:

| File | Command |
|---|---|
| `Cargo.toml` | `cargo test` |
| `package.json` | `npm test` |
| `pyproject.toml`, `pytest.ini` or `setup.py` | `python3 -m pytest` |
| `go.mod` | `go test ./...` |
| `pom.xml` | `mvn -q test` |
| `build.gradle` or `build.gradle.kts` | `gradle test` |
| `Makefile` with a `test` target | `make test` |

The command runs without a shell, so pipes, redirects and `&&` don't work: put several steps
in a script in your repository and call it. The Activity Log shows the command and whether it
was set on the node or detected. The tool must be installed where rightcommit runs: the Docker
image includes Rust, Node.js with npm, Python 3 and make, and the
[Docker install guide](INSTALL.md#tools-for-your-projects-tests) explains how to add others.

## Connections

- **Agents:** Claude Code, Codex and Pi, with an API key or an authorized gateway (Anthropic,
  OpenAI, OpenRouter, AWS Bedrock, Google Vertex, Microsoft Foundry and more).
- **Services:** GitHub, Azure DevOps, ServiceNow, and Jira, Confluence and Bitbucket through
  the Atlassian CLI. By default, built-in external writes wait for confirmation of the exact content.
- **Open standards:** MCP to give agents tools from your MCP servers, and A2A to publish a
  workflow that other agents can call.

## Who it's for

rightcommit supports individual use and internal organizational deployments with separate
user accounts. Read [Provider terms and permitted use](PROVIDER_TERMS.md) and
[Intended use and third-party provider obligations](INTENDED_USE.md). Provider names identify integrations
and do not imply affiliation or endorsement.

- **Developers** running agents on their own laptop, with their own keys.
- **Small teams** who prefer to self-host, with separate users, keys and workspaces.

## Other ways to install

| Guide | For |
|---|---|
| [INSTALL.md]INSTALL.md | Docker on macOS, Windows and Linux, step by step |
| [INSTALL_MAC.md]INSTALL_MAC.md | macOS without containers: Homebrew, crates.io or source |
| [INSTALL_LINUX.md]INSTALL_LINUX.md | Linux and WSL2 without containers: crates.io or source |
| [INSTALL_PODMAN.md]INSTALL_PODMAN.md | Podman instead of Docker |

### Managing the Docker install

| What | Command |
|---|---|
| Stop the app | `docker compose down` |
| Update after getting a new version | `docker compose up -d --build` |
| Use another port | set `RIGHTCOMMIT_PORT=9090` in a `.env` file, then `docker compose up -d` |

> [!WARNING]
> Never run `docker compose down -v`: it deletes the `rightcommit-data` volume, with all
> accounts, workflows and keys.

By default, Docker Compose binds the app to localhost.

## Configuring the agents

Start with [Provider terms and permitted use](PROVIDER_TERMS.md). All three agents support multiple users;
provider authorization and credential scope still apply.

| Guide | Covers |
|---|---|
| [HOW_TO_CONFIGURE_CLAUDECODE.md]HOW_TO_CONFIGURE_CLAUDECODE.md | Claude Code: API keys, gateways, Bedrock, Vertex, Foundry |
| [HOW_TO_CONFIGURE_CODEX.md]HOW_TO_CONFIGURE_CODEX.md | Codex: API keys and compatible provider configuration |
| [HOW_TO_CONFIGURE_PI.md]HOW_TO_CONFIGURE_PI.md | Pi with Anthropic or OpenAI |
| [HOW_TO_CONFIGURE_PI_OPENROUTER.md]HOW_TO_CONFIGURE_PI_OPENROUTER.md | Pi with OpenRouter |
| [HOW_TO_CONFIGURE_PI_LOCAL.md]HOW_TO_CONFIGURE_PI_LOCAL.md | Pi with a local model (Ollama, LM Studio, vLLM) |

## Documentation

| Document | What it covers |
|---|---|
| [CHANGELOG.md]CHANGELOG.md | What changed in each version |
| [ADD_A_SKILL.md]ADD_A_SKILL.md | Give a skill to Claude Code, Codex and Pi in one step |
| [ADD-PI-PACKAGES.md]ADD-PI-PACKAGES.md | Add packages from pi.dev to the Pi agent |
| [ADD-A-FRAMEWORK.md]ADD-A-FRAMEWORK.md | Use Spec Kit, OpenSpec or another framework with your own project |
| [ADD-OPENSPEC.md]ADD-OPENSPEC.md | Use OpenSpec in your workflows |
| [UPDATE-PI-DEFAULT-PACKAGES.md]UPDATE-PI-DEFAULT-PACKAGES.md | Update the Pi tools rightcommit ships (maintainers) |
| [CONFIGURATION GUIDES]guides/README.md | Configure access and run workflow examples for ServiceNow (ITSM, catalog Requests and Spec Kit), Atlassian (Jira, Bitbucket and Confluence), and GitHub (issues and CI) |

## License

Copyright (c) 2026 Lorenzo Toscano

rightcommit is open source, released under the **[Apache License, Version 2.0](LICENSE)**.

You can use, modify, self-host and distribute the code, including for commercial purposes,
under the terms of the license. See [LICENSE](LICENSE) for the full terms.

The permissions above concern rightcommit itself. Any third-party product or service used
with it remains subject to its own terms and the [supported deployment scope](INTENDED_USE.md).

Third-party notices for bundled icons and Spec Kit files are in [`licenses/`](licenses).

## Contributing

Pull requests are welcome. Contributions are accepted under [Apache-2.0](LICENSE).
See [CONTRIBUTING.md](CONTRIBUTING.md).

Found a bug or have an idea? [Open an issue](https://github.com/rightcommit/rightcommit/issues).

Questions and feedback: [hello@rightcommit.com](mailto:hello@rightcommit.com).

## Contributors

<a href="https://github.com/Shards-inc"><img src="https://avatars.githubusercontent.com/u/226203219?v=4&amp;s=96" alt="Shards-inc" width="48" height="48"></a>
<a href="https://github.com/dannyward630"><img src="https://avatars.githubusercontent.com/u/71604164?v=4&amp;s=96" alt="dannyward630" width="48" height="48"></a>

---

rightcommit is an independent side project created and maintained by Lorenzo Toscano in his personal capacity. It is developed in his own time, with his own resources, and is not affiliated with, endorsed by, or sponsored by his employer, any of its clients, or any other organization. Views and choices expressed in this project are his own.

<sub>Claude Code, Codex, Pi, GitHub, Azure DevOps, ServiceNow, Jira, Confluence, Bitbucket,
Spec Kit, Rust, Docker and other names and marks belong to their owners. rightcommit is not
affiliated with them.</sub>