AI-powered pull request automation you can actually read and customize.
- 🔓 Open Source - MIT licensed, fully transparent and hackable. Built on AgentUse, also open source
- 🔍 Automatic Code Review - Reviews PRs on open/update
- 💬 Comment Replies - Mention
@agentuseto ask questions - ✏️ Fully Customizable - Edit prompts to match your team's standards
- 🤖 Any Model - Claude, GPT, or open-source (GLM, MiniMax) via OpenRouter
- 🔓 No Vendor Lock-in - Your prompts, your API keys, your control. Don't like a company? Switch providers anytime
# Clone this repo's .github folder to your project
cp -r .github/agents .github/workflows your-project/.github/Go to Settings → Secrets → Actions and add one of:
| Secret | Provider | Best For |
|---|---|---|
ANTHROPIC_API_KEY |
Anthropic Console | Pay-per-use |
OPENAI_API_KEY |
OpenAI | GPT models |
OPENROUTER_API_KEY |
OpenRouter | Multiple providers |
💡 Using Claude Pro/Max subscription
Run this command in your project directory (the one with .github):
npx agentuse auth setup-githubOpen a PR and watch the magic happen.
.github/
├── workflows/
│ ├── agentuse-code-review.yml # PR review workflow
│ └── agentuse-comment-reply.yml # Comment reply workflow
└── agents/
├── code-review.agentuse # PR review agent
└── comment-reply.agentuse # Comment reply agent
The agents are just text files. Edit them to fit your needs:
# Review focus areas, output format, etc.
vim .github/agents/code-review.agentuse### 2.7 My Custom Check
- Check for our internal patterns
- Verify feature flags usage
- etc.Every PR gets reviewed automatically:
## 🔍 Code Review Summary
| Files Changed | Additions | Deletions |
|---------------|-----------|-----------|
| 5 | +120 | -30 |
### 📋 Overview
This PR adds user authentication...
### 🔎 Findings
...
Comment on any PR with @agentuse:
@agentuse explain what this function does
@agentuse are there any security concerns?
@agentuse suggest improvements for performance
Edit .github/agents/code-review.agentuse:
---
model: anthropic:claude-sonnet-4-5 # or openai:gpt-4o, openrouter:z-ai/glm-4.7
---Comment out the pull_request trigger in .github/workflows/agentuse-code-review.yml:
on:
# pull_request: # Comment out to disable automatic reviews
# types: [opened, synchronize, reopened]
workflow_dispatch:
inputs:
pr_number:
description: 'PR number to review'
required: true
type: numberMIT - Do whatever you want with it.