It learns how your repo is reviewed. Then it reviews like that.
An open source PR reviewer that runs on your machine or on your own server.
--gh-concurrent=N- Runs GitHub requests in parallel. The default is
1. Pick a number that keeps you under your GitHub rate limit. --ai-concurrent=N- Runs AI jobs in parallel. The default is
3. Pick a number your model provider's rate limit allows. --log-time- Prints how long each phase took. Useful when a run feels slower than its estimate.
Agent friendly by default.
The --json flag prints the whole review as JSON.
Ask it what it meant.
Reply to a finding and it answers on the same thread. This works when co-maintainer runs on your own server and is connected to your GitHub repository.
I don't understand the problem
The concern was bypassing dashboard sign-in: if /api/slack/test runs before requireSession, someone who can reach the server could trigger Slack test messages without logging in.
However, the current diff already places this route after the session check:
requireSession(request)runs first.- Missing sessions receive
401and return. - Only then can the request reach
handleSlackTestRoute.
So the authentication-bypass finding does not apply to the code shown now.
One dashboard for every repository.
co-maintainer serve starts it. Add a repository and every new pull request gets reviewed.
You're shocked, aren't you?
One developer, the CLI on a laptop.
- Local and PR review
- Any model on your own key
- Cost estimate before the first run
- Guides as plain Markdown you can read
A team sharing one server.
- Guides built once, shared with
--remote - Nobody rebuilds them on their laptop
- One token per developer, with its own usage and cost
- Dashboard sign-in with GitHub
Your infrastructure, your rules.
- MIT licensed
- No telemetry from the CLI,
serveor the dashboard - Runs in Docker or behind your reverse proxy
- OpenRouter, OpenAI, Anthropic or OpenCode
Donations and thanks. If you have no money to donate, you can pay with a thank you.
Watch the mockingbird.
No spam. A meaningful newsletter, written by a human: new features, CVE fixes and privacy changes.
Questions people ask first.
What does a review cost?
On our own repository, one review cost about $0.15 with a strong model and about $0.01 with a small one. Your pull requests will differ. Learning a repository the first time costs more, and co-maintainer can estimate that for free before you spend anything.
What does it learn from?
It reads your code and your past pull request reviews, and writes down how your team reviews as plain text files you can read and edit. Comments your reviewers make again and again become rules. It updates these files as your repository changes.
Is co-maintainer free?
Yes. It is open source under the MIT license and there is no fee. You pay your AI provider for what your reviews use.
More: AI providers
Does my code leave my machine?
Only to the AI provider you choose, when it learns your repository and when it reviews. co-maintainer itself collects nothing.
More: Data and privacy
Does it work with GitLab, Bitbucket or Azure DevOps?
Not yet. It works with GitHub only.
Can I choose which PRs get reviewed?
Yes. For each repository you can review every pull request, only those from people you trust, or none until a maintainer asks for a review on the pull request.
More: Review policy
How is it different from CodeRabbit?
co-maintainer is open source, runs on your own AI key, and learns from your past reviews. CodeRabbit is a hosted product that supports more platforms and does more beyond review.
This dispatch returns before
requireSession, allowing unauthenticated callers to send messages through the saved Slack webhook. The handler also accepts a caller-supplied URL and passes it directly to fetch, exposing server-side POST requests without dashboard authentication.Move this route behind the session guard.