1. Install the cubic GitHub App
Sign up
Go to cubic.dev/sign-up and sign in with your GitHub account.
2. Trigger your first review
To get your first AI review, you have two options: Option 1: Open a new pull request cubic automatically reviews new pull requests within a few minutes.@cubic-dev-ai to trigger a review. cubic will start within a few minutes.
What you’ll see:
- A comment from
@cubic-dev-aiwith the PR summary - Inline comments on specific code changes pointing out bugs and improvements
- Actionable suggestions with explanations
3. Interact with AI comments
cubic’s AI is interactive. You can chat with it, provide feedback, and request changes.Ask follow-up questions
Reply to any AI comment to ask for clarification:The AI will respond with more context.
Provide feedback
Help cubic learn by reacting to comments:
- Thumbs up if the suggestion is helpful
- Thumbs down if it’s not relevant
Request fixes
Ask cubic to generate a fix:If background agents are enabled, cubic can automatically apply the fix.
4. Set up your first custom agent
Custom agents enforce team-specific standards. Let’s create a simple one.Navigate to custom agents
- Go to cubic.dev/dashboard
- Select your repository
- Click Custom Agents in the sidebar
Create a rule
Click New Rule and define it using natural language:Example rule:You can also use code patterns:
For more advanced agent configurations, see Custom Agents.
5. Use background agents
Background agents automatically fix issues without manual intervention.Enable background agents
In your repository settings on cubic.dev, enable Background Agents.
Trigger a fix
When cubic identifies an issue, you can request a fix by clicking the Fix with cubic button in the GitHub comment, or by tagging cubic:If you want to control delivery, include “open a fix PR” or “push commits to this PR.”cubic will:
- Generate the fix
- Push commits to your PR branch or open a fix PR (depending on change size or your request)
- Update the comment with the result
6. Explore PR summaries
cubic automatically generates PR descriptions based on your code changes. When you create a PR, cubic will:- Analyze the diff
- Generate a summary including:
- What changed
- Why it changed
- Potential impacts
- Post it as the first comment
What’s next?
Now that you’ve experienced the basics, explore more features:- Key features: Deep dive into all AI review capabilities
- Custom agents: Advanced agent configurations and patterns
- Memory and learning: How cubic adapts to your codebase
- Interactive comments: Full list of AI commands and interactions
- Settings: Configure review behavior and preferences