Review PRs
Ren reviews every PR in GitHub with the models and review instructions you choose.
Ren reviews a PR when you open it, or when you mark it ready for review. It reads the change in your repository, comments on the lines that need work, and suggests the fix next to each one.
What you hand off
| Hand off | What Ren does |
|---|---|
| The first review | Reviews each PR as soon as it is ready, so your reviewers start from its comments |
| Small fixes | Suggests the change on the line, ready to commit. Mention @renagent in a review comment, and Ren pushes it |
| Work by other agents | In a factory, a reviewer agent checks what the build agent did, and sends it back to change |
How it works
- Connect GitHub, choose the repositories Ren can see, and link each one to a space.
- Turn on Review pull requests when ready for the repository.
- Open a PR. Ren reviews it and comments on the lines.
- Commit a suggestion, or reply with
@renagentto ask for a change.
GitHub in the docs covers each step.
You stay in charge
- Ren reviews the repositories you choose, and no others.
- It skips drafts and PRs that a bot opened.
- A permission rule can ask before every
git push, or deny it. - In a factory, set how many times the reviewer can send work back, from 1 to 10. At the limit, the task goes to a person under Needs review, or to the agent you name.
Questions
Can AI review PRs?
Yes. Ren reads the change in your repository, comments on the lines that need work and suggests fixes you can commit.
Which PRs does Ren review?
Each one, when it is opened or marked ready for review. Ren skips drafts, new pushes and PRs that a bot opened. To get another review after a push, mention @renagent on the PR.
Can Ren change the code itself?
Yes. Mention @renagent in a review comment and say what to change. Ren pushes a commit and replies to that comment.
Can I change what Ren looks for?
Yes. A review follows the instructions of the agent that answers on the repository, after the organization's and the space's. Write there what a good change looks like in your codebase.
Which models does Ren use?
The ones you pick. Use models from Anthropic, OpenAI or Google, on your own Claude or ChatGPT plan or with Ren credits.
How long does setup take?
A few minutes. Send useren.ai/onboard to your coding agent. It sets Ren up from your repository, and asks before it changes anything.