---
title: "Chrome Extension"
description: "AI-powered code review and CLI commands directly in your browser"
canonical: "https://docs.ainative.studio/docs/cody-cli/chrome"
last-updated: "2026-10-03T21:47:10.764Z"
---

# Chrome Extension

Source: https://docs.ainative.studio/docs/cody-cli/chrome

> AI-powered code review and CLI commands directly in your browser

## Cody CLI Chrome Extension

Use the Cody CLI Chrome extension for AI-powered code review, inline suggestions, and CLI commands — right in your browser.

## Features

<CardGrid cols={2}>
  <FeatureCard title="AI Code Review" badge="New">Review pull requests and code diffs directly on GitHub and GitLab with Cody CLI intelligence.</FeatureCard>
  <FeatureCard title="One-Click CLI Commands">Trigger Cody CLI commands from browser context menus on any code block or file.</FeatureCard>
  <FeatureCard title="Inline Suggestions">Get AI-powered suggestions while browsing documentation, Stack Overflow, or code repositories.</FeatureCard>
  <FeatureCard title="Secure & Private">The extension communicates only with your local Cody CLI instance. No data sent to third-party servers.</FeatureCard>
</CardGrid>

## Installation

### 1. Install Cody CLI

<PackageInstall npm="npm install -g @ainative/cody-cli" />

### 2. Install the Chrome Extension

Download and install from the Chrome Web Store.

### 3. Connect the Extension

The extension auto-detects your local Cody CLI instance on first launch.

```bash
cody auth login
```

### 4. Configure Preferences

```bash
## Enable auto-review on PRs
cody config set chrome.autoReview true

## Set preferred AI model
cody config set chrome.model claude-sonnet-4.5
```

## Supported Platforms

| Platform | Status | Features |
|----------|--------|----------|
| GitHub | Supported | PR review, inline suggestions, file context |
| GitLab | Supported | MR review, inline suggestions, file context |
| Bitbucket | Supported | PR review, file context |
| Stack Overflow | Supported | Inline suggestions on code blocks |
| MDN Web Docs | Supported | Inline suggestions |
| Custom Sites | Supported | Context menu commands |

## How It Works

The Chrome extension acts as a bridge between your browser and your local Cody CLI instance:

1. **Browser** — Detects code blocks, PR diffs, and documentation on supported sites
2. **Extension** — Extracts relevant context and sends it to the local CLI
3. **Cody CLI** — Processes the request using the AINative API
4. **Extension** — Renders the response inline in your browser

<Callout type="info" title="Local-First Architecture">
All communication stays between your browser and your local machine. The extension never sends code directly to cloud services — it always goes through your authenticated Cody CLI instance.
</Callout>

## Related

- [Cody CLI Security](/docs/cody-cli/security)
- [Getting Started](/docs/getting-started/quick-start)
