
Sourcery
AI code review with best-in-class Python refactoring suggestions.
About
Sourcery is an AI code review tool whose Python refactoring suggestions are widely regarded as best-in-class — comprehensions, context managers, dataclasses, and Pythonic idioms. It reviews pull requests on GitHub and GitLab with inline comments, auto-generates PR summaries, and learns from dismissed suggestions to reduce noise over time. It is free with full features for public repositories, with Pro at $10 per user per month for private repos — significantly undercutting most AI review competitors.
The honest caveat: its depth is Python-first (with solid JavaScript/TypeScript); polyglot teams wanting deep cross-file analysis across many languages will find the repo-wide context thinner than CodeRabbit or Greptile. No Bitbucket or Azure DevOps support.
What it can do
- AI pull-request reviews with inline comments and summaries
- Instant Python refactoring suggestions in the IDE
- Learns team preferences from dismissed suggestions
- Custom coding guidelines via configuration file
- Security scanning on Team plan and above
Setup
Install the Sourcery GitHub or GitLab app on your repositories, or add the VS Code / PyCharm extension for real-time in-editor suggestions. Configure custom rules in .sourcery.yaml.
Prerequisites
GitHub or GitLab repositories. Python-heavy codebases get the most value.
Use cases
Works with
Trust score — 7/10
Scored 7/10 (metrics tier, metrics-v1). Evidence: Verified via vendor site/docs/GitHub and reputable coverage, wave 44 (tools-a); Trending score 73/100 from researcher assessment.
Sources
Every fact above was checked against these sources. Where a claim comes from the provider and couldn't be independently verified, the text says so.