Start here
Your first review
Sign in, connect GitHub, add your AI key and get your first pull request review, in about 10 minutes.
In about 10 minutes, an agent reviews one of your pull requests and posts the review on GitHub. A pull request is a proposed change to your code.
What you need
- A GitHub account that can install apps on the account or organization that owns your repository.
- A repository with at least one open pull request.
- A key from your AI provider: Anthropic, OpenAI, AWS Bedrock, Azure OpenAI or an OpenAI-compatible endpoint. The agents run on your own AI account, and your provider bills you for what they use. A working key is needed on every plan, also on Free.
You set up a workspace as its owner. Only a workspace admin or owner can connect GitHub, add keys and start agents by hand.
Steps
Sign in with GitHub. Open the sign-in page and press Sign in with GitHub. GitHub asks you to allow the sign-in. The first time, this makes your account and your workspace.
The other way is e-mail: press New here? Create an account, then open the confirmation link that we send you.
NoteNo e-mail? Check your spam folder. On the sign-in page, you can also press Send the confirmation link again. Or sign in with GitHub instead.
- Connect GitHub. Open Get started and press Connect GitHub. GitHub opens. Install the InfraStudio AI app on the account or organization that owns your repository, and choose the repositories it may use. GitHub then sends you back.
- Add your product. In the step Pick a repository, choose the repository under Repository and press Add the product. The repository is now a product, with its own agents.
Choose your agents before you add the key.
WarningFive agents are on for a new product: the PR reviewer, the CI fixer, Issue triage, the Issue implementer and Mentions. As soon as a key is there, they start by themselves on new pull requests, failed tests, new issues, and comments that mention
@infrastudio-ai. Each job uses your AI account. If your workspace has a key already, they can start at once.In the step Choose your agents, turn off each agent you do not want yet. You can change this at any time. See Choose what starts by itself.
Add your AI key. In the step Add your AI provider's key, choose your Provider and press Add a key. Paste the key into Paste the key and press Encrypt and send. The key is shared by every product of your workspace.
You can also do this later on Settings → Integrations. For where to get a key, see Add your AI key.
Start a review. Open Agents. In the row PR reviewer, press Start now. Type the number of an open pull request into Pull request number, for example
42. Then press Start now.This works even when the PR reviewer is off. Off only means that it does not start by itself.
- Follow the review. On the Agents page, press Activity. Your job shows there while it works, and when it is done. Then open the pull request on GitHub. The review is there, with comments on the lines.
If the PR reviewer is on, you do not have to start it by hand. Each new pull request gets a review by itself, and again after new changes.
What to do next
- Choose what starts by itself: decide which agents work without you.
- Connect analytics and Sentry: let the agents read your analytics and errors and suggest changes.
- Approve a suggestion: say yes to a change, and follow it until it is on your product.
If something does not work, see When something does not work.