# sourcery-ai/sourcery

Instant AI code reviews

Repository: https://github.com/sourcery-ai/sourcery
Canonical: https://ross.abutalabs.com/products/sourcery-ai-sourcery
Homepage: https://sourcery.ai
License: MIT
License Family: permissive
Topics: refactoring, python, ai, software-development, code-quality, code-reviews, code-review-bot
Last push: 2026-08-26T03:29:18+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 94, longevity 100
- inputs: {"age_days": 2606, "days_push": 7, "days_rel": 42, "gap_med": 13, "n_releases_24m": 22}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1858, forks 99 (observed 2026-08-28T04:05:45.117448+00:00)

## What it is
Sourcery is an AI-powered automated code review service that reviews pull requests on GitHub and GitLab, posting summaries, inline comments, and merge-gating status checks, plus continuous security scanning (SAST, secrets, IaC, dependencies). It also ships IDE plugins (VS Code, JetBrains, Sublime, Vim) that act as a coding assistant for refactoring, tests, and docstrings.

## Use cases
- automatically review pull requests with AI
- get instant code review feedback on GitHub PRs
- scan repos for security issues, secrets, and vulnerable dependencies
- refactor and improve Python code quality in my IDE
- generate unit tests and docstrings for existing code
- enforce team code style conventions on every PR
- speed up code review cycles for my team

## When to choose
- you want automated, instant AI feedback on every pull request
- your team's review queue is a bottleneck and you want faster merge cycles
- you need combined code review plus security scanning in one tool
- your project is open source (free for public repos)
- you want in-IDE refactoring and coding assistance alongside PR reviews

## When to avoid
- you need fully self-hosted code review without code leaving your infrastructure (Enterprise tier only)
- you require a completely free tool for private repositories
- you want an offline, local-only static analyzer
- your code cannot be sent to third-party LLM providers like OpenAI or Anthropic

## Facets
- artifact type: service
- maturity: active
- function: code-review, security, vulnerability-scanning, llm-inference, developer-tools
- domain: developer-tools, version-control, security
- platform: editor-plugin, cloud
- tags: ai-code-review, pull-request-bot, github-app, gitlab, static-analysis, refactoring, ide-plugin, sast, automation, web-server

## Member repositories
- sourcery-ai/sourcery (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:45.117448+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:16:13.471050+00:00, confidence not recorded.
  - readme: https://github.com/sourcery-ai/sourcery (fetched 2026-08-28T04:05:45.117448+00:00, sha a0dfc26d3225)
  - homepage: https://sourcery.ai (fetched 2026-08-29T10:55:48.701993+00:00, sha bc5ff2ceaf0a)
  - site_page: https://docs.sourcery.ai (fetched 2026-08-29T10:55:48.711230+00:00, sha 1ee46f0f690b)
  - site_page: https://docs.sourcery.ai/Guides/Getting-Started/VSCode (fetched 2026-08-29T10:55:48.716988+00:00, sha d806da0d18e3)
  - site_page: https://docs.sourcery.ai/Guides/Getting-Started/PyCharm (fetched 2026-08-29T10:55:48.718657+00:00, sha d806da0d18e3)
  - site_page: https://docs.sourcery.ai/Code-Review/Integrations/GitHub (fetched 2026-08-29T10:55:48.720438+00:00, sha e7b1dfc2b81b)
  - site_page: https://docs.sourcery.ai/Code-Review/Integrations/GitLab (fetched 2026-08-29T10:55:48.722322+00:00, sha e7b1dfc2b81b)
  - registry_pypi: https://pypi.org/pypi/sourcery/json (fetched 2026-08-29T10:55:48.724022+00:00, sha 8d6ab89633aa)
  - site_page: https://www.sourcery.ai/changelog (fetched 2026-08-29T10:55:48.713243+00:00, sha 46885f5631d8)
  - site_page: https://www.sourcery.ai/pricing (fetched 2026-08-29T10:55:48.715273+00:00, sha 8afd8c76ae9a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
