Skip to main content

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

AI Code Review

New

Review pull requests and code diffs directly on GitHub and GitLab with Cody CLI intelligence.

One-Click CLI Commands

Trigger Cody CLI commands from browser context menus on any code block or file.

Inline Suggestions

Get AI-powered suggestions while browsing documentation, Stack Overflow, or code repositories.

Secure & Private

The extension communicates only with your local Cody CLI instance. No data sent to third-party servers.

Installation

1. Install Cody CLI

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.

cody auth login

4. Configure Preferences

# 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

PlatformStatusFeatures
GitHubSupportedPR review, inline suggestions, file context
GitLabSupportedMR review, inline suggestions, file context
BitbucketSupportedPR review, file context
Stack OverflowSupportedInline suggestions on code blocks
MDN Web DocsSupportedInline suggestions
Custom SitesSupportedContext 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
ℹ️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.