> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cubic.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Key features

> Explore the core features of cubic’s AI-powered code review.

## Spots bugs and suggests improvements

The AI automatically scans every pull request for a wide range of issues, including logic errors, style inconsistencies, and potential security vulnerabilities.

Comments and suggestions are added directly to the pull request, making them easy to review and address.

<img src="https://mintcdn.com/cubic-2/AzoJeLhtvGZBEz71/ai-review/images/example-flag.png?fit=max&auto=format&n=AzoJeLhtvGZBEz71&q=85&s=d5c1b074300fb0b8db37b9342b602033" alt="AI code review flag" width="1614" height="662" data-path="ai-review/images/example-flag.png" />

## Ultrareview

When a pull request needs extra scrutiny, you can ask cubic for an Ultrareview. Ultrareview runs a
longer review using cubic's most capable review models, which is useful for risky migrations,
security-sensitive changes, or complex refactors.

Learn how to request one in [Interactive comments](/ai-review/interactive-comments).

## Background agents

cubic can automatically fix issues in the background. When the AI spots a problem, you can click
the **Fix with cubic** button or explicitly tag cubic in the current comment, for example with
`@cubic` or `@cubic-dev-ai`, to generate and apply fixes without manual intervention.

<video src="https://mintcdn.com/cubic-2/xfSZ1OCpUQhXsXtm/changelog/images/fix-progress.mp4?fit=max&auto=format&n=xfSZ1OCpUQhXsXtm&q=85&s=f095dd041a58ea4288e63a1e885a011b" autoPlay loop muted playsInline className="border border-zinc-800 rounded-lg" data-path="changelog/images/fix-progress.mp4" />

## Coding agents and local workflow

You can run cubic locally as well as on GitHub. Connect cubic to Cursor, Claude Code, VS Code, Codex, Gemini CLI, or another coding agent to run local reviews, inspect PR feedback, and ask codebase questions without leaving your workflow.

* Start with [Connect cubic to your IDE](/ide/agent-setup) when you're ready to install cubic in the tool you already use
* Use [Local CLI review](/ide/cli-review) if you want cubic to review code before you open a pull request

## CLI for local reviews

Run AI code reviews locally before pushing to GitHub. The [cubic CLI](/ide/cli-review) is intentionally faster and less thorough than cubic's cloud PR review, so treat it as a pre-flight check for uncommitted changes, branches, or specific commits rather than expecting identical findings.

```bash theme={null}
curl -fsSL https://cubic.dev/install | bash
cubic review
```

<img src="https://mintcdn.com/cubic-2/nl5nAUh5YEMjFC0f/ai-review/images/cli/cli-results.png?fit=max&auto=format&n=nl5nAUh5YEMjFC0f&q=85&s=4bb0213fd5ab5e58ae5a380cf8bd7a43" alt="cubic CLI results" width="1200" height="864" data-path="ai-review/images/cli/cli-results.png" />

## Learns from you

The AI adapts to your team's feedback. When you react to a suggestion or provide a correction, the AI remembers.

This helps reduce false positives over time and tailors advice to your specific codebase and coding standards.

## Always up to date

When you push new commits to an open PR, cubic reviews only the incremental changes. Comments are only posted when new issues are discovered—you won't see repeated feedback on previously reviewed code.

This makes reviews faster and reduces noise as you iterate on your PR.

## Up-to-date library knowledge

cubic has access to current documentation for the libraries and frameworks in your stack. This means suggestions account for the latest APIs, deprecations, and best practices—not outdated patterns from months-old training data.

## AI wiki

Automatically generate searchable documentation for your codebase. The [AI wiki](/wiki/ai-wiki) indexes your repository and answers questions in plain English—great for onboarding, understanding unfamiliar code, or getting architecture diagrams on demand.

<img src="https://mintcdn.com/cubic-2/AzoJeLhtvGZBEz71/ai-review/images/wiki-doc.png?fit=max&auto=format&n=AzoJeLhtvGZBEz71&q=85&s=30a09472ff2f2d6391fc989c880104ad" alt="Wiki documentation" width="3504" height="2126" data-path="ai-review/images/wiki-doc.png" />

## PR summaries

Automatically generate clear and concise descriptions for your pull requests to help reviewers quickly understand the purpose and impact of the changes.

The AI analyzes your code changes and creates comprehensive summaries that include what was changed, why it was changed, and any potential impacts.

<img src="https://mintcdn.com/cubic-2/HCO3YkxKI7zMTeHt/ai-review/images/ai-description.png?fit=max&auto=format&n=HCO3YkxKI7zMTeHt&q=85&s=fdfda62a2bf9c92270f0f824caf985d7" alt="AI-generated PR descriptions" width="1670" height="628" data-path="ai-review/images/ai-description.png" />

## Custom agents

Define custom agents to enforce team-specific standards and domain-specific guidelines.

This allows you to check for internal API usage patterns, adherence to architectural decisions, or deprecated functions. You can create agents using natural language or code patterns.

<img src="https://mintcdn.com/cubic-2/AzoJeLhtvGZBEz71/ai-review/images/rules-library.png?fit=max&auto=format&n=AzoJeLhtvGZBEz71&q=85&s=7d6a1ad6818665c8b7bf7247e9a6c586" alt="Custom agents library" width="3504" height="2126" data-path="ai-review/images/rules-library.png" />

## Cross-repo reviews

When two repositories depend on each other — like a backend API and the frontend that consumes it — you can link them so cubic flags cross-repo impact during review. Reference a companion PR from the PR description and cubic will track when it ships the matching change.

Learn more in [Linked repositories](/ai-review/linked-repositories).
