Function-Level Review
CodePR extracts only the functions affected by a change, reducing noise and token usage.
AI Code Review Before Your PR
CodePR analyzes your git diff, extracts changed functions, and generates structured AI review reports in seconds. Built for developers who want fast feedback before opening a pull request.
Traditional code review relies heavily on human availability.
Large pull requests are difficult to review quickly, and important issues often slip through until late in the process.
AI tools exist, but many simply send entire files to LLMs, leading to noisy results and high token costs.
Instead of analyzing entire files, CodePR focuses on the most relevant parts of a change.
It extracts changed functions, adds surrounding context, and sends only the necessary code to the AI reviewer.
This keeps prompts small, fast, and accurate.
CodePR extracts only the functions affected by a change, reducing noise and token usage.
CodePR understands developer intent from commit messages, making review context-aware and accurate.
AI feedback returns as severity, file, line, title, explanation, and suggestion for CI integration.
Run reviews locally before opening a pull request for faster feedback loops.
Inspect extracted functions, token estimates, and exact prompts sent to the model.
CodePR Review Report
====================
PR Intent
---------
Fix payment validation bug
Components: payment service
Risk: medium
Issues
------
[HIGH] payment_service.go:84
Missing null check before ProcessPayment
Suggestion:
Validate input before invoking ProcessPayment.
Tests
-----
- Add test for invalid payment amount
Run CodePR locally to catch potential issues before opening a pull request.
Integrate CodePR into CI pipelines to review code changes automatically.
Extra validation for sensitive modules such as payments, permissions, financial systems, and authentication.
CodePR CLI is fully open source.
We believe developer tooling should be transparent, auditable, and easy to integrate.
You can inspect how the review pipeline works and adapt it to your own workflows.
CodePR CLI is the first step. We are building additional tools to bring AI-powered code review into modern development workflows.
go build -o codepr .
sudo install -m 755 codepr /usr/local/bin/codepr
codepr config set api_key <your_api_key>
codepr config set base_url https://api.deepseek.com/v1
codepr config set model deepseek-chat
codepr review
codepr review --last
codepr review --repo /path/to/repo
Join the waitlist for GitHub App updates, SaaS dashboard previews, and early access invites.