Skip to main content
Tembo reviews pull requests automatically, checking for bugs, security issues, and style guide compliance, then leaving inline comments on specific lines.

How it works

1

PR opened

A pull request is opened or updated in your repository. Tembo picks it up via webhook.
2

Code analyzed

The agent reads the diff, understands the context of the changes, and evaluates them against your coding standards.
3

Review posted

Inline comments are added to specific lines in the PR. If no issues are found, the PR can be auto-approved.

Set up automated PR reviews

1. Connect your source control

Navigate to the Integrations page and connect GitHub, GitLab, or Bitbucket.

2. Create an automation

Go to Automations in your dashboard and use the PR Review template, or create one from scratch. Trigger: PR opened / PR updated (webhook from GitHub, GitLab, or Bitbucket) Example instructions:
Review this PR for:
- Bugs and logic errors
- Security vulnerabilities
- Performance issues
- Style guide compliance

Leave inline comments on specific lines.
Auto-approve if no issues found.
Browse all templates →

3. Customize with rule files

Add rule files to your repo so the reviewer knows your team’s conventions: naming patterns, test requirements, forbidden patterns, and more.

What gets checked (depends on your instructions)

CategoryExamples
CorrectnessLogic errors, off-by-one bugs, null handling
SecuritySQL injection, XSS, hardcoded secrets
PerformanceN+1 queries, unnecessary allocations, missing indexes
StyleNaming conventions, formatting, import order
TestingMissing tests, untested edge cases

Best practices

  • Add rule files: The more context the reviewer has about your standards, the better the review.
  • Start with one repo: Test the review quality on a single repo before rolling out to all.
  • Combine with human review: Use automated reviews to catch the obvious stuff so human reviewers can focus on architecture and design.