co-maintainer
An imitator of yours, A PR review tool like co-maintainer.

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.

npm install -g co-maintainer
Getting started →
src/server/app.ts
218 remoteAddr,
219 );
220 }
221+ if (url.pathname === "/api/slack/test" && request.method === "POST") {
222+ return await handleSlackTestRoute(request);
223+ }
P1 · blocking

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.

224
225 const session = await requireSession(request);
PR 54, a demo PR · 2026-11-07 · openai/gpt-6.1-sol
How to start
Flags
--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.
For agents

Agent friendly by default.

The --json flag prints the whole review as JSON.

co-maintainer review --json
In the pull request

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

Replying to the finding above
M

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 401 and return.
  • Only then can the request reach handleSlackTestRoute.

So the authentication-bypass finding does not apply to the code shown now.

same PR, 12 seconds later · shortened
On your server

One dashboard for every repository.

co-maintainer serve starts it. Add a repository and every new pull request gets reviewed.

co-maintainer serve
localhost:5000
The co-maintainer dashboard, listing repositories with their status, knowledge, reviews and cost
Pricing

You're shocked, aren't you?

Solo
$0per month

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
Team
$0per seat

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
Company
$0forever

Your infrastructure, your rules.

  • MIT licensed
  • No telemetry from the CLI, serve or the dashboard
  • Runs in Docker or behind your reverse proxy
  • OpenRouter, OpenAI, Anthropic or OpenCode
How we earn

Donations and thanks. If you have no money to donate, you can pay with a thank you.

Newsletter

Watch the mockingbird.

No spam. A meaningful newsletter, written by a human: new features, CVE fixes and privacy changes.

Send me the next one
FAQ

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.

More: Cost and Probe

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.

More: Init and Sync

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.

More: co-maintainer vs CodeRabbit

Start with probe.

co-maintainer probe owner/repo