The AI Code Reviewer
SaaSself-hostablefreeMCP
Greptile reviews pull requests with AI agents that have the whole codebase as context: it indexes each repository into a graph of files, functions and dependencies, so a review can flag what a change breaks outside the diff. Reviews come with a summary, a confidence score, inline comments and suggested fixes; it learns a team's standards from their PR comments and reactions and takes rules in plain English or .greptile/ files. TREX, its testing agent, writes and runs end-to-end tests for a PR in a sandbox. It works with GitHub, GitLab, Bitbucket, Gitea, Perforce and Cursor's Origin, and an MCP server, a CLI and Claude Code and Codex plugins let coding agents fetch and fix its comments. It's billed in prepaid credits ($1 each; a base review is 1) and Enterprise customers can self-host it, air-gapped, with their own models.
Problems it solves
- AI review that understands how a change affects code outside the diff
- our PR reviews miss bugs because nobody knows the whole codebase anymore
- an AI reviewer that learns what our team cares about and stops nitpicking
- enforce our style guide and security rules on every pull request automatically
- have my coding agent fetch the review comments on my PR and fix them in a loop
- write and run end-to-end tests for each pull request without setting up a test suite
- self-host an AI code reviewer in an air-gapped network with our own LLMs
- AI code review for Perforce or Gitea, not just GitHub
- pay for AI code reviews per review, with no seat fees
- review related repositories together so a breaking API change gets caught
- AI PR reviewer that checks a change against its Jira ticket or Linear issue
- auto-approve small, safe pull requests after a clean AI review
Features
- codebase graph index for full-repo context
- PR summaries, confidence scores, inline comments and suggested fixes
- learning from reactions and engineers' comments
- custom rules in plain English, .greptile/ folders and greptile.json
- Base, Plus and Apex review tiers, or Auto
- cross-repo context with Repo Clusters
- knowledge base of architecture and conventions
- auto-approve PRs after a clean 5/5 review
- TREX end-to-end testing agent
- MCP server for Claude, Cursor, VS Code and Codex
View 5 more
- Claude Code and Codex plugins and agent skills
- CLI for local reviews and evaluations
- Jira, Confluence and Linear context
- analytics dashboard
- self-hosting with Docker Compose or Kubernetes, air-gapped, with your own LLM providers
Limitations
- Doesn't review Azure DevOps repositories: it supports GitHub, GitLab, Bitbucket, Gitea, Perforce and Cursor Origin1
Ways to run it
Greptile Cloud
Starter free (50 credits a month); Pro $1 per credit; Enterprise custom12
Not included
- GitHub Enterprise Server, GitLab Self-Managed, Bitbucket Data Center and Gitea outside Enterprise
Self-Hosted Greptile
Only in this edition
- air-gapped deployment
- your own LLM providers
- Perforce (P4) support
You arrange
- an Enterprise contract
- a Linux VM with Docker Compose (up to 100 developers) or a Kubernetes cluster with the akupara Helm chart
- PostgreSQL and Redis
- API access to reasoning and other models (Claude Sonnet 4.5+ or GPT-5.x/6.x) or your own
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has an MCP server | plan not known |
| Has single sign-on | Enterprise plan, priced by sales; Self-Hosted Greptile25 |
Alternatives
The same job
These do what Greptile does.
- CodeRabbit Trust everything you ship with CodeRabbit
- Cursor Bugbot AI code review that catches real bugs
- PR-Agent An open-source AI agent that describes, reviews and improves pull requests.
- Qodo Code review for agents. Governance for humans.
- Graphite One tool. Everything you need to review and ship faster.
- Sourcegraph Code understanding for humans and agents
