View on GitHub
Powered by Claude Sonnet 4.5 + ruff

AI Code Reviews
That Actually Find Bugs

PrSentry uses Claude + real static analysis to review every PR. Inline comments on your diff in seconds, not hours.

Open source Self-hostable Token budget controls
api/payments.py+42
PrSentry reviewing…
@@ -42,11 +42,18 @@ def process_payment(user_id, amount):
42
42
def process_payment(user_id, amount):
43
43
user = db.query(User).filter(User.id == user_id).first()
44
if user.balance > amount:
44
if user and user.balance >= amount:
45
45
user.balance -= amount
46
log.info(f"Charged {user.email} ${amount}")
46
log.info(f"Charged user {user_id} ${amount}")
47
token = generate_token(secret="hunter2", user=user_id)
47
48
db.commit()
49
return {"ok": True, "token": token}
48
50
return {"ok": False}
How it works

Four steps from git push to inline review

01

PR Opened

Webhook fires the moment a PR is opened or pushed. Signature verified.

02

Diff Analyzed

Lockfiles, vendor dirs, generated code, and binaries are skipped automatically.

03

Agent Reviews

A LangGraph agent runs Claude alongside ruff. Real linter output, real reasoning.

04

Comments Posted

Findings appear as inline comments on the diff — exactly where the issue lives.

Features

Built for teams who care about review quality

PrSentry is opinionated about what makes a useful review. No noise, no nitpicks unless you ask for them.

Inline on the Diff

Comments appear exactly where the issue is, not in a wall of text at the bottom of the PR.

Grounded in Static Analysis

Runs ruff on Python code so findings are backed by real linter output, not just vibes.

Smart Filtering

Skips lockfiles, vendor dirs, binaries, and generated code automatically. Reviews what matters.

Cost Control

Token budgets per file and per PR. Hard ceilings prevent surprise bills.

Full Observability

Langfuse tracing for every agent run. See exactly what Claude saw and did.

Run History

Postgres stores every review: status, duration, comments posted, errors.

< 30s
Average review time
4
Severity levels
800+
Lint rules via ruff
Open Source

Free forever. No strings attached.

PrSentry is fully open source under the MIT license. Self-host it on your own infrastructure.

OPEN SOURCE

Self-host

Run it on your own infrastructure. Forever free.

$0/forever
  • All features included
  • Bring your own Anthropic key
  • Docker + Render blueprints
  • MIT license, fork it freely
  • Community support
View on GitHub