
ast-grep
7.0#3 in code search toolsFree planFree planWebAPIExtensionLinux
Visit

| Fact | ast-grep | Sourcery |
|---|---|---|
| Custom rules | Rules are written in YAML and can combine pattern, kind, regex, relational, and composite matching conditions. | Users can define project-wide review rules in a .sourcery.yaml file and use public rulesets such as the Google Python Style Guide. |
| Integrations | The documentation describes editor integrations, including a VS Code extension and language server support for editors such as Vim and Neovim. | GitHub, GitLab, GitHub Enterprise Server, self-hosted GitLab, VS Code, Cursor, Windsurf, JetBrains, Jira |
It suits developers who need syntax-aware search, linting, or bulk code changes across supported languages. Teams wanting advanced static-analysis information or one rule spanning multiple languages should note its stated limits.
Sourcery may suit developers and teams seeking automated pull request reviews and security checks across supported Git hosts. Its IDE extension and deployment options also serve users who want code review within their development workflow.