Docs
Pricing
Blog
Sign In
Install Github
AI code reviews
devs love
Run four lines of code in your CLI to automate code reviews and fix bugs
Install Github
Invite your entire team for free, usage based billing.
Test with
$5 free credits
, no card required
Analyze your pull request
1 min
npm
cURL
npx
astronuts-ai
analyze -p=<your-github-pr-url>
Startups to Fortune 500s, the world's most effective teams
Code breaks,
fix it faster
One-click auto fix with line by line code suggestions
Pull request summary
Line by line review
Auto fix
Code quality metrics
Change log
Cut code review
time & bugs
in half
Pull request batch size graph
Monitor your PR batch size trends
Code health metrics
Catch issues before they become a technical debt with every PR
Chat, understand and manage
your code
Questions on your code
Configure behavior settings
Gateway rules
Questions on your code
Closed Beta
Get advice, generate code, or create issues with real-time chat on review comments.
Questions on your code
Closed Beta
Get advice, generate code, or create issues with real-time chat on review comments.
Configure behavior settings
Sample YAML file astronuts.yaml
pr-analysis:
walkthrough-enabled: true
review-enabled: true
ignore-low-priority-bugs: true
suggest-auto-fix: true
auto-update-title: true
auto-update-description: true
max-num-code-suggestions: 20
max-files-for-auto-trigger: 500
remove-outdated-comments: true
static-analysis:
source-language: java
root-dir: "./src"
build-system: gradle
fail-on-error: true
test-report-root: "./build/test-results/test"
coverage-lib: "jacoco"
coverage-report-paths: "build/reports/jacoco/test"
metrics:
- bugs
- code_smells
- coverage
- complexity
- file_complexity
- duplicated_lines_density
- sqale_rating
- reliability_rating
- security_hotspots
- security_rating
- x_total_tech_debt_minutes
- tests
- x_vulnerability_count
Gateway rules
Closed Beta
Define the default rules to enforce the quality of your commits and pull requests.
Advance Example
permissions:
contents
:
read
pull-requests
:
write
jobs:
Build
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Run Astronuts Code Quality Checks
uses
:
astronuts-app/astronuts-ai@v2.5.1
with
:
token
:
${{ secrets.GITHUB_TOKEN }}
prReview
:
true
prWalkthrough
:
true
staticAnalysis
:
true
Code quality
analysis
Static code analysis in every pull request, with a drill down on the potential issues detected
16 metrics displayed in your pull request
Compares the current pull request to your main branch
Detects security vulnerabilities and secrets
Code quality rating and cyclometric complexity per repo.
Run code quality actions for free
Boost Your Code Reviews
with $5 Free Credit
Join hundreds of teams already benefiting from faster, smarter pull requests.
Install Github
;