Skip to content

About

A crew of AI agents that reviews pull requests and answers the reviews on yours. Runs locally with Claude Code, Codex, Kiro or any ACP agent. GitHub and GitLab.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

228 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Crewreview icon

Crewreview

A crew of AI agents that reviews your team's pull requests and answers the reviews on yours.
Runs on your computer with the coding agents you already pay for: Claude Code, Codex, Kiro or any ACP agent.
GitHub and GitLab, cloud or self-managed. Free and open source. No server, no account, no telemetry.

Latest release macOS, Windows, Linux CI AGPL-3.0 license Stars

Website · Download · Guide for AI agents · Sponsor

The Crewreview dashboard: four agents reviewing a pull request, the attendant fixing another, and the activity log

Install

The desktop app is the easiest way: the dashboard in its own window, the inbox count in your menu bar or tray, a notification when something waits for you, and updates by itself.

System Download
macOS (Apple silicon) Crewreview-macos-arm64.dmg
macOS (Intel) Crewreview-macos-x64.dmg
Windows 10+ (x64, and Arm through emulation) Crewreview-windows-x64-setup.exe
Linux x64 AppImage · .deb · .rpm
Linux arm64 AppImage · .deb · .rpm

The macOS app is signed and notarized. Windows may warn about an unknown publisher the first time: choose More info, then Run anyway.

The command line (crewreview), for terminals and servers:

curl -fsSL https://crewreview.pururucos.com.br/install.sh | sh     # macOS, Linux

# or Homebrew: the formula lives in this repository, and recent Homebrew asks you to trust taps outside its own
brew tap Quost/crewreview https://github.com/Quost/crewreview
brew trust quost/crewreview
brew install Quost/crewreview/crewreview
irm https://crewreview.pururucos.com.br/install.ps1 | iex          # Windows (or Scoop: see below)

Behind a company proxy that blocks the website (filters often block new domains until they're categorized), take the same scripts from GitHub. They download from GitHub Releases either way, and so do updates:

curl -fsSL https://raw.githubusercontent.com/Quost/crewreview/main/site/static/install.sh | sh
irm https://raw.githubusercontent.com/Quost/crewreview/main/site/static/install.ps1 | iex
Let your AI assistant set it up: a prompt for Claude Code, Codex or any agent

Paste this into your coding agent. It installs Crewreview, checks your setup, asks which repositories to watch and links them in inbox mode, so nothing is posted without you.

Set up Crewreview for me. It's a free, open source crew of AI agents that reviews pull requests and answers the reviews on mine: https://github.com/Quost/crewreview. Its guide for agents: https://crewreview.pururucos.com.br/llms.txt

1. Install the command line tool:
   - macOS or Linux: curl -fsSL https://crewreview.pururucos.com.br/install.sh | sh (with Homebrew: brew tap Quost/crewreview https://github.com/Quost/crewreview && brew trust quost/crewreview && brew install Quost/crewreview/crewreview)
   - Windows, in PowerShell: irm https://crewreview.pururucos.com.br/install.ps1 | iex
2. Run crewreview doctor. It needs git, at least one coding agent signed in (Claude Code, Codex or Kiro) and gh (GitHub) or glab (GitLab) signed in. If something is missing, tell me how to fix it and wait for me.
3. Ask me which repositories Crewreview should watch, or whether to link a whole organization or group. Link each in inbox mode, so nothing is posted without my approval: crewreview repo add <repository or organization URL> --attend inbox
4. Keep it running and open the dashboard: crewreview service install, then crewreview ui
5. Add Crewreview to the coding agents I use: crewreview mcp setup shows how for each one. In Claude Code: /plugin marketplace add Quost/crewreview, then /plugin install crewreview@crewreview

Explain each command before you run it. Never switch a repository to auto mode unless I ask.
Scoop, checksums and signatures
scoop bucket add crewreview https://github.com/Quost/crewreview
scoop install crewreview/crewreview

The installers check each download against the release's SHA256SUMS, and its signature too when minisign is installed. To check by hand:

minisign -Vm SHA256SUMS -P RWTk8l0TkAFZQOxVkYWEHrU6Nj+j1UTCGOMps627c4qsvaX3fvRFzhpx
shasum -a 256 -c SHA256SUMS --ignore-missing

Builds are reproducible: the same commit and Bun version give the same bytes.

You'll need git, at least one coding agent signed in (Claude Code, Codex or Kiro) and gh or glab signed in. The first time you open the app or the dashboard, a setup page checks all of that, shows what a repository would start, and links it. From the terminal:

crewreview doctor                                      # what's installed and what each harness can do
crewreview repo add https://github.com/acme/shop       # starts in inbox mode: nothing is posted without you
# or a whole organization or group: crewreview repo add https://github.com/acme
crewreview ui                                          # open the dashboard

The app and the command line are the same crew and share their settings: the app carries the command line inside it, and shows the crew your background service runs if there is one. Only one crew runs per computer.

What it does

🔍 Reviews your teammates' pull requests

A review in the inbox: a blocker, a major and a minor finding, each with its file and line

Several read-only lenses look at the change in parallel: correctness, contracts (the callers of what changed, which the diff doesn't show), security, architecture, tests, UI, and docs and claims (what the description, commits and docs say, checked against the code, and settings missing from the deploy notes), plus any your repository adds. A verifier, from another vendor if you like, tries to prove each finding wrong. Findings that don't point at a real file and line are dropped, and a fixed rule (not a model) decides the verdict: request changes, comment or approve. It reads the description, the discussion so far, CI and what changed since its last review, and never repeats a point already made. One review, with inline comments, from your account.

🛠️ Answers the reviews on yours

The attendant's answer: two comments fixed, one replied, the checks that passed and the diff

On your own pull requests, the attendant reads each new review comment and decides: fixed, replied, declined, or left to you. It works in its own worktree (never in your clone), runs your checks, commits with your identity and signature, pushes without force, replies, resolves the threads it fixed and asks the reviewer to look again. The polish loop goes further: review, fix, review again, before you ask a person.

👀 Shows you everything, and waits for you

Repositories: for each one, review and the attendant switched off, inbox or auto

Every repository starts in inbox mode: reviews and answers wait for your approval in the dashboard or with crewreview inbox. Switch each one to auto when you trust it, one repository at a time. The dashboard shows every agent at work live, the inbox, history, and which harnesses are installed and proven safe, with today's usage. Five languages (English, Português, Español, Deutsch, 简体中文), light or dark.

Use it with your team

  • Your team's rules live in the repository. .crewreview/lenses/<lens>.md replaces a built-in lens or adds one, and the crew follows AGENTS.md, CLAUDE.md and CONTRIBUTING.md. All are read from the base branch, so a pull request can't change the rules it's judged by.
  • Your team's review guidance in a REVIEW.md. What counts as serious here, what not to report, what to always check: write it in plain Markdown in REVIEW.md at the root (the file name other review tools, such as Claude Code Review, already use) or in .crewreview/REVIEW.md, which wins if both exist. Every lens and the verifier follow it, read from the base branch. It steers what the crew looks at and reports; it can't change the answer format, the verdict rule or the safety rules, and it never lowers a blocker. The summary says which file was followed. Up to 32,000 characters are read; @include lines aren't followed.
  • Everyone brings their own agent. Each developer runs the crew with the coding agent plan they already have; reviews post from their own account. No seats, no shared API key, no server.
  • No duplicate reviews. When several people run it on the same repository, a commit that already has a Crewreview review on the host is skipped, whoever's crew wrote it.
  • Link the whole organization at once. crewreview repo add https://github.com/acme (or a GitLab group) links every repository in it, new ones too, with --include/--exclude name filters. One search per cycle finds the repositories with open pull requests, so even a large organization costs a few API calls. A repository linked on its own keeps its own settings.
  • GitHub and GitLab, cloud or self-managed, with the gh or glab login you already have.
  • Comments in your team's language, set per repository (commentLanguage), whatever language each person's dashboard is in.
  • Inbox first, auto when you trust it. Nothing is posted or pushed without approval until you switch a repository to auto.
  • Working alone? Let a second account approve. Nobody can approve their own pull request, so on a solo repository Crewreview's approval can't count. In the app, Repositories → Post reviews as → Set it up step by step does it with you, and links the repository first if nothing is linked. On GitLab you don't create anyone: a group or project access token makes a bot account by itself; the app opens the token page of your group, you paste the token, and it checks who it is and what it can do in each place. On GitHub you create the account on github.com, the app invites it with write access, and you paste a classic token of it (or sign it in to gh with a one-time code). A pasted token goes to the system keychain (macOS Keychain, Windows Credential Manager, libsecret), never to a file. By hand: crewreview repo set <id> --account my-bot for an account signed in to gh, or --account env:VARIABLE with the token in that variable. Reviews, approvals included, then post as that account; everything else still runs as you.
  • Or one bot for the whole team. A Docker image runs the crew on a shared machine with a bot account, built from the signed release binary; you approve from your laptop over SSH. See A shared team machine.

Safe by design

Pull request text is written by others, and agents can be talked into things. Crewreview assumes both.

  • Read-only, proven. Reviewers can't write or run commands. crewreview doctor --conformance proves it on your machine with a canary, per harness version; the attendant must also prove it can't write outside its worktree.
  • No tokens for agents. Your git host token stays with Crewreview, and agents get a filtered environment. Crewreview does the committing, pushing and posting.
  • Only trusted voices. Only people who can push to the repository (and bots you list) steer the attendant.
  • Sensitive files wait. Changes to CI, secrets, deployment, git's own files (.gitattributes, .gitmodules), agent configuration (AGENTS.md, CLAUDE.md, .claude/, .mcp.json) or the crew's own rules wait for your approval, even in auto mode. A change that adds, changes or removes a symlink or a submodule always waits for you, whatever the settings or a comment say.
  • Nothing leaves but to your harness. No server, no account, no telemetry.
  • Signed updates. Updates install only with a valid signature from the release key built into your binary; the desktop app refuses an update whose signature names another version.

Using the command line

Review pull requests

Link a repository. Crewreview uses the login you already have in gh or glab (or GH_TOKEN / GITLAB_TOKEN):

crewreview repo add https://github.com/acme/shop            # new repositories start in inbox mode
crewreview repo add https://gitlab.com/acme/api --mode auto  # or post reviews right away
crewreview repo add https://github.com/acme --exclude "legacy-*"   # every repository of an organization or group
crewreview repo preview acme-shop                            # what would run now, before you switch to auto (changes nothing)
crewreview review acme-shop 42                               # review one pull request now
crewreview inbox                                             # what's waiting for you
crewreview inbox approve 3                                   # post it
crewreview run                                               # keep watching every linked repository
crewreview local                                             # review the current branch on this machine; nothing is posted

What it does for each pull request:

  • Skips drafts, bots, your own pull requests (--authors all reviews them too), a no-ai-review label, commits it already reviewed, and pushes that only merged the base branch.
  • Waits a few minutes for a series of pushes to settle, and for CI to finish.
  • Fetches into its own mirror (your clones are never touched), reads the project rules from the base branch, the description, the discussion so far, CI, and what changed since its last review.
  • Posts one review: inline comments on lines the diff shows, everything else in the summary. Hidden markers let it recognize its own comments later; points already made in the discussion aren't repeated.
  • An approval needs allowApprove = true, no serious findings, green CI and a change under the size limit. On your own pull requests it only comments.

Answer the reviews on your pull requests

crewreview repo set acme-shop --attend inbox      # or auto; off by default
crewreview attend acme-shop 42 --dry-run          # see what it would do, nothing saved or pushed
crewreview attend acme-shop 42                    # fix and draft the replies, wait in the inbox
crewreview inbox show f3                          # decisions, replies, diff, checks
crewreview inbox approve f3                       # push, reply, resolve, ask for a re-review
crewreview repo set acme-shop --conflicts on --ci on   # also fix conflicts with the base and red CI
  • Only comments from people who can push to the repository (and bots you list, like Copilot) steer the agent.
  • It waits until a review stops arriving, then works in a worktree of Crewreview's mirror, never in your clone.
  • For each comment it decides: fixed, replied, declined, or needs you. "Fixed" with nothing changed counts as needs you.
  • validate = ["bun install", "bun test"] in [repo.attend] runs your checks before anything is pushed; if they fail, the agent gets one more try, then it waits for you.
  • Changes to CI, secrets, deployment files or the crew's own rules always wait for your approval, even in auto mode.
  • Commits use your git identity and signing settings, and say Assisted-by: Crewreview. Pushes never force; if the branch moved, the answer is redone.
  • Replies say they were answered by Crewreview.
  • --conflicts on: when your branch conflicts with its base, the attendant merges the base (never rebases, never force-pushes) and resolves the conflicts; a conflict it can't fully resolve is undone and left to you. It keeps stacks in line too: a pull request whose base is another open pull request's branch takes that branch in whenever it moves, bottom first, and when the one below is merged (squashed included), takes in the new base compared from that pull request's last head, so the commits both shared don't conflict with their own squash. A merge with nothing to resolve needs no agent. --protected approve|auto: the attendant may change protected files (CI, deployment, AGENTS.md, CLAUDE.md, .claude/, .mcp.json) when a reviewer commented on them, to do what that comment asks; with approve (the default) that change waits for you even in auto mode, with auto it goes out like any fix. Secrets never change, and symlinks and submodules always wait for you. --ci on: when CI is red, the failing jobs' logs (secrets taken out) go to the agent to fix the cause.
  • --polish on also takes the findings Crewreview's reviewer left on your pull request: review, fix, review again, for up to maxPolishRounds (3) rounds.

The attendant edits files, so its harness must prove on your machine that it can write in its worktree and can't write outside it: prove it once per harness version, with Prove in Harnesses & limits or crewreview doctor --conformance.

Give the crew a task (preview)

Crew mode takes a task from a sentence to a pull request. Every step waits for you unless you say --auto:

In the dashboard it's the Tasks page, and the daemon carries tasks forward on its own. From the command line:

crewreview task "Add findUserByEmail to src/users.ts, case-insensitive" --repo shop
crewreview task approve <id>      # the plan is fine: build it
crewreview task approve <id>      # the branch is fine: open the pull request
crewreview task show <id>         # the plan, each step's status, what's next
crewreview task list
  1. Plan. A planner reads the repository, read-only, and proposes small steps: the files each step touches, how to check it, and the risks.
  2. Build. A builder does one step per turn, in Crewreview's own checkout. Your repository's validate commands run after each step (never commands taken from the plan), and each finished step is committed with your identity and signature.
  3. Self-review. The review crew reviews the branch, and the builder fixes what's blocking, for up to task.maxReviewRounds rounds.
  4. Pull request. The branch is pushed and opened, with the plan, the risks and what the self-review found. Merging stays with a person.

Who does it: you, or the crew's account (--as crew), the second account set up for the repository. With the crew's account the commits, the push and the pull request are its own, so you can approve and merge it yourself; that's the default when the repository has one.

Each agent reports in a handoff, which lands in tasks/<id>/handoffs/ in Crewreview's data folder, next to the plan and its own raw answers. Any seat can pick the task up from there. When a builder hits its usage limit mid-step, Crewreview writes the handoff itself from what the agent left, and the next seat of the build role carries on. Planning and building use the plan and build roles (see Seats and roles under Configuration); without them, the harness from the setup does both.

Dashboard, service and updates

crewreview ui                  # open the dashboard (starts the daemon if it isn't running)
crewreview status              # is the crew running here, what is it doing, what waits for you
crewreview service install     # start the daemon with your login: launchd, systemd --user or a logon task
crewreview service status
crewreview update              # install the newest signed release; --check only looks
  • The dashboard is served by the daemon on 127.0.0.1 only. Each start makes a new key, which the browser gets in the link's #fragment, so it never reaches a log. Pages: Now (agents at work, live, and the activity log), Inbox (approve or discard, with findings, replies and diffs), History, Repositories (switch review and the attendant off, inbox or auto) and Harnesses & limits.
  • A service runs without your terminal's environment. Make sure each harness is signed in for unattended use (for Claude Code, claude setup-token; Codex and Kiro keep their own login), and that gh/glab are signed in. On Linux, loginctl enable-linger $USER keeps it running after you log out.
  • update installs a release only when its SHA256SUMS carries a valid signature from the release key built into your binary, and the binary matches its checksum. With [updates] auto = true the daemon installs new releases when idle and restarts through the service manager.

Let your coding agent use it

crewreview mcp setup          # prints how to add the MCP server to Claude Code, Codex, Gemini CLI, Kiro, Cursor, OpenCode
claude mcp add --scope user crewreview -- crewreview mcp

The agent can then review your branch before committing, check what the crew is doing, read the inbox, link a repository or explain a setting, when you ask. It can't approve, post or push: that stays with you.

In Claude Code, the plugin brings the MCP server, a skill and the /crewreview command:

/plugin marketplace add Quost/crewreview
/plugin install crewreview@crewreview

For other agents, the skill is in plugins/crewreview/skills/crewreview/SKILL.md.

Harnesses

Harness How it runs Read-only lock
Claude Code claude -p, stream-json, tools limited to Read/Grep/Glob, user hooks and plugins off flags + conformance test
Codex CLI codex exec --json -s read-only, user config ignored sandbox + conformance test
Kiro CLI kiro-cli chat --no-interactive, only read tools trusted flags + conformance test
Kilo Gateway kilo-gateway -p, stream-json, free models (ERNIE, Nemotron, Particle AI, Flint, Beam) flags + conformance test
Freebuff freebuff --acp (requires Freebuff 0.2.37+), ad-supported free models (DeepSeek, Solar, Nemotron 3.5 Lightning); get Freebuff here enforced by Crewreview, must pass conformance
Antigravity (agy), OpenCode, Gemini CLI built in over ACP (agy acp, opencode acp, gemini --experimental-acp): they show up when installed; get Antigravity, OpenCode or Gemini CLI (Code Assist only) enforced by Crewreview, must pass conformance
Any ACP agent Agent Client Protocol over stdio; Crewreview answers every permission request enforced by Crewreview, must pass conformance
Custom Any CLI described in your config must pass conformance

Install a harness the way its row says, sign it in (freebuff login, claude auth login, opencode auth login…), and crewreview doctor shows what is installed, what is signed in, and where to get the ones that aren't there yet. For the ACP agents that means the login they saved (~/.config/manicode/credentials.json for Freebuff, ~/.local/share/opencode/auth.json for OpenCode, ~/.gemini/oauth_creds.json for Gemini CLI) or a key in the environment. Antigravity keeps its login in the system keyring, so there it asks agy models, which only answers signed in.

Each ACP turn also comes with what its agent reports about usage, and Crewreview counts it like the built-in harnesses do: the run's tokens in the review report and in each lens's line, and today's tokens and cost on Harnesses & limits. It reads the turn's PromptResponse.usage (Antigravity and OpenCode send it), Gemini CLI's _meta.quota.token_count, and the usage_update notifications that carry the session's cumulative cost in dollars. OpenCode reports dollars as well; Antigravity and Gemini CLI report tokens only. Freebuff's ACP server reports neither yet, so its runs count as runs and add no tokens.

Gemini CLI is only for Gemini Code Assist Standard and Enterprise licenses: Google moved free accounts and Google AI Pro/Ultra to Antigravity CLI, which Crewreview also drives over ACP (agy acp). With a Code Assist license, gemini signs in on its first run.

Write scope for the attendant, tested on 2026-11-27: Claude Code and Codex (with /tmp and $TMPDIR closed) pass; Kiro CLI's fs_write wrote outside its folder, so Kiro can review but not attend. Antigravity 1.5.13 over ACP, tested on 2026-11-20, passes read-only and write scope, so it can do both. Kilo Gateway and Freebuff ACP not yet tested for write scope.

An agent that has to prove its lock gets a Prove it's read-only button in the app's setup and on Harnesses & limits: two tiny prompts on your plan, about a minute, and the result is kept for that version.

Flags that switch a harness's safety off (--dangerously-*, --yolo, --trust-all-tools, danger-full-access…) are refused by a test on every command line Crewreview builds.

Configuration

Optional. ~/.config/crewreview/config.toml (Windows: %APPDATA%\Crewreview\config.toml):

language = "pt-BR"            # interface language

[harness]
default = "kilo-gateway"      # or auto, claude, codex, kiro, freebuff, an ACP agent, a custom one
verifier = "codex"            # a different vendor makes a stronger check
fallback = ["codex", "kiro"]  # who takes over while a harness is paused at its usage limit

[harness.claude]
model = "opus"

[harness.kilo-gateway]
model = "auto-free"

[[harness.acp]]
id = "gemini"
command = ["gemini", "--experimental-acp"]

[schedule]
interval = "3m"               # how often `crewreview run` checks, during peak hours
offHoursInterval = "20m"
peakHours = "8-19"
maxReviewsPerCycle = 2
keepAwake = true              # keep the computer from sleeping (not the screen) while agents work

[updates]
check = true                  # look for a new release once a day
auto = false                  # install it when idle and restart
channel = "stable"            # or "beta"

[limits]
maxConcurrentAgents = 3
agentTimeout = "20m"
maxDiffLines = 50000
dailyRuns = 200               # most agent runs a day (each lens, verifier or attendant run counts one)

[review]
settle = "3m"                 # wait after a new push
ciMaxWait = "45m"             # wait for running CI up to this long
lenses = ["correctness", "contracts", "security", "architecture", "tests", "ui", "docs"]
commentLanguage = "en"        # language the agents write findings in

[review.policy]
requestChangesAt = "blocker"
allowApprove = false
approveMaxChangedLines = 50000  # bigger changes are never approved automatically; a repository can set its own

A repository can tune its own review in .crewreview/lenses/<lens>.md: a file named like a built-in lens replaces its rubric, and any other file adds a lens. Guidance for the whole crew goes in REVIEW.md (or .crewreview/REVIEW.md, which wins), read from the base branch; @include lines in it are not supported.

Seats and roles

A seat is one agent the crew can hire: a harness, a model and an effort. Roles say which seats do each job, and how they share it:

[seats]
planner = { harness = "claude", model = "claude-opus-5-5", effort = "high" }
sonnet = { harness = "claude", model = "claude-sonnet-5-5" }
fast = { harness = "codex", effort = "low", dailyRuns = 40 }

[roles]
review = { seats = ["fast", "sonnet"], balance = "spread" }
verify = ["planner"]
attend = ["sonnet", "fast"]
plan = ["planner"]
build = ["fast", "sonnet"]

[task]
maxTurns = 12                 # building turns before a task stops and asks you
maxReviewRounds = 2           # self-review rounds before the pull request opens
  • How a job shares its seats: balance = "order" (the default) uses the first seat until it's paused or out of runs. spread shares by how much of each seat's day is left. cheapest picks the lowest known cost per run.
  • Usage limits: a seat at its limit pauses until the limit resets, and so do the seats on the same harness and model; the next seat carries on.
  • Harness ids: a role can name a harness ("codex"), meaning that harness with its own [harness.codex] settings.
  • Without [roles]: every job works as before. The dashboard's Team page shows each seat, its jobs, its day and its pause.

Build from source

You need Bun 1.3+ and git; the desktop app also needs Rust.

git clone https://github.com/Quost/crewreview && cd crewreview
bun install
bun run dev doctor            # the CLI from source
bun run build                 # a binary for this machine in dist/
bun run check                 # typecheck, tests, translations, changelog

bun scripts/demo-dashboard.ts serves the dashboard with made-up data, and bun scripts/screenshots.ts takes the pictures on this page and the website from it. AGENTS.md has the rest, for people and coding agents alike.

Contributing

Contributions are welcome. Read CONTRIBUTING.md first. Every commit needs a Signed-off-by line (DCO).

Sponsor

Crewreview is free and open source, made by one developer. If it saves your team review time, sponsoring it pays for new hosts, harnesses and features.

License

Crewreview is free software under the GNU Affero General Public License v3.0. If you run a modified version as a service for others, you must share its source. The name and logo are covered by TRADEMARK.md.

About

A crew of AI agents that reviews pull requests and answers the reviews on yours. Runs locally with Claude Code, Codex, Kiro or any ACP agent. GitHub and GitLab.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages