
Sourcery AI
Overview
Sourcery AI is an AI-powered code review and coding assistant tool designed to help developers write cleaner, more readable, and higher-quality code faster. It integrates directly into your IDE (VS Code, PyCharm, Sublime, Vim, Emacs) and also works with GitHub and GitLab pull requests. Sourcery acts as a continuous code quality companion, providing real-time feedback and suggestions as you work.
Key Features
- Real-time Refactoring Suggestions: While you code, Sourcery analyzes your open files and highlights opportunities to simplify and improve your code. Hovering over the underlined code reveals the suggested changes and a diff, which you can apply with a quick action.
- On-Demand Code Reviews: You can initiate a code review of your current file, uncommitted changes, or compare Git branches directly within your IDE. Sourcery provides inline comments with actionable feedback and suggested fixes.
- AI Chat Assistant: Sourcery includes a chat interface where you can ask questions about your code. You can select specific code snippets to provide context to the AI. The chat can explain code, generate docstrings and unit tests, and even create diagrams in Mermaid format.
- GitHub and GitLab Pull Request Reviews: Sourcery can automatically review every new pull request on your repositories. It provides a summary of changes, high-level feedback, and line-by-line suggestions, helping to speed up the code review process and ensure code quality. It can also generate PR titles and a reviewer's guide.
- Customizable Rules: Sourcery is highly extensible, allowing you to set up your own code quality rules in a .sourcery.yaml configuration file within your project. You can also opt into publicly available rule sets like the Google Python Style Guide.
Pricing Plans
For the most up-to-date and detailed pricing information, please visit the pricing page.
View Pricing Details