Quickstart
Install the Cerebe CLI, get your first independent review, and require the check on your pull requests.
This page takes one GitHub repository from installing the Cerebe CLI to a
required cerebe/critic check. Steps 1 to 3 review a commit on your
workstation; step 4 adds the hosted review on pull requests.
For a hosted pull request review only, use First review. To choose between workstation and hosted reviews, start with Evaluate Factory.
Before you start
- A clone of the repository with its GitHub URL as the
originremote. - A coding agent CLI you are signed in to: Claude Code, Cursor, Codex, Gemini, or Kimi.
- For step 4, permission to install a GitHub App on the repository and to change its branch rules. Hosted reviews of a private repository need a workspace with a plan or a trial; see the pricing page.
1. Install the CLI
-
From the repository, run the installer for your operating system.
macOS and Linux:
curl -fsSL https://cerebe.ai/install.sh | shWindows (Command Prompt or PowerShell):
powershell -ExecutionPolicy ByPass -c "irm https://cerebe.ai/install.ps1 | iex"You should see
Cerebe initialized., then thecerebe doctorcheck list ending inAll checks passed.Install explains what the installer writes. -
Commit the files the installer staged:
git commit -m "chore: set up Cerebe" -- cerebe.yaml AGENTS.md CLAUDE.md
2. Get your first review
-
Turn on local review with a critic for your coding agent CLI:
cerebe model add cursor # or claude, codex, gemini, kimiIt prints
cerebe model: enabled cursor; local review on (quorum 1). -
Make a change with your agent and commit it. The post-commit hook prints
cerebe: review of <sha> backgroundedand runs the review in the background. -
Follow the review, then read the verdict:
cerebe watch # live view of this branch's reviews; q quits cerebe status --commit HEAD # the verdict and each critic's status cerebe show --commit HEAD # every finding with its severity and reasoningWhen the review finishes,
cerebe statusprintsAPPROVEDorCHANGES_REQUESTED. Findings atblockerorhighhold your next push; lower severities are recorded and do not block.
3. Push through the gate
-
Push the branch:
git pushThe pre-push hook waits for a review that is still running, then blocks the push if the verdict has an open
blockerorhighfinding. -
If the push is blocked, fix the finding in a new commit and push again. Do not amend: the verdict is bound to the commit and its diff, so an amended commit needs a review of its own. Local hooks lists every condition that blocks a push and how to bypass one that is outside your change.
4. Require the check on your pull requests
- Install the Cerebe GitHub App on the repository.
- Open a pull request. You should see the
cerebe/criticcheck on it. The local review does not replace it: the App runs its own panel. - After
cerebe/critichas reported once, add it to the branch's required status checks. Make the check binding has the steps.
With the check required, a review that asks for changes (action_required)
or could not complete (failure) blocks the merge.
Troubleshooting
- The installer,
cerebe doctor, orcerebe model addfails, or you installed an npm or pip package: see Install troubleshooting. - No review starts after a commit, a review reports
NOT EVALUATED, a push is blocked without a review, orcerebe/criticnever appears: see Troubleshooting.