sourcery  by sourcery-ai

AI code review tool for GitHub pull requests

created 6 years ago
1,688 stars

Top 25.7% on sourcepulse

GitHubView on GitHub
Project Summary

Sourcery is an AI-powered tool designed to automate code reviews and act as an IDE coding assistant. It aims to improve code quality, accelerate development velocity, and reduce the time spent on manual code reviews for developers and teams.

How It Works

Sourcery leverages large language models (LLMs) from OpenAI and Anthropic to analyze code changes within pull requests and provide instant feedback. It generates summaries, high-level comments, and line-by-line suggestions, mimicking a human code reviewer. As an IDE assistant, it offers real-time suggestions for code understanding, test generation, optimization, and quality improvements.

Quick Start & Requirements

  • Code Reviews: Add Sourcery to GitHub repositories. Free for public/open-source projects; 14-day free trial for private repos, then requires a paid plan.
  • IDE Assistant: Install via editor-specific plugins (PyCharm, VS Code, Sublime, Vim).
  • Dependencies: Requires integration with GitHub for pull request reviews. LLM usage involves sending code diffs to OpenAI and Anthropic.

Highlighted Details

  • Automated code reviews on GitHub pull requests.
  • IDE assistant for real-time coding suggestions and refactoring.
  • Utilizes OpenAI and Anthropic LLMs for review generation.
  • Offers features like unit test and docstring generation.

Maintenance & Community

  • Feedback can be provided via email to hello@sourcery.ai.
  • Links to the Sourcery website and editor plugins are available.

Licensing & Compatibility

  • Free for public repositories.
  • Requires paid plans for private repository usage after a trial period.
  • Code is sent to third-party LLM providers (OpenAI, Anthropic) for processing.

Limitations & Caveats

Code snippets are sent to third-party LLM providers for review generation. While Sourcery states code is not stored for more than 30 days and not used for training, users should be aware of this data transmission for private code.

Health Check
Last commit

3 days ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
4
Star History
60 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Travis Fischer Travis Fischer(Founder of Agentic), and
2 more.

pr-agent by qodo-ai

0.8%
9k
AI tool for pull request automation, feedback, and suggestions
created 2 years ago
updated 2 days ago
Feedback? Help us improve.