Skip to main content
Every Greptile review comment includes a Fix in X button. Click it, and the issue gets sent straight to your coding agent with full context: the file, line numbers, the comment, and the suggested fix. Your agent opens, applies the fix, and you review the diff. No copy-pasting, no switching between tabs.
Currently supports Claude Code, OpenAI Codex, Cursor, and Devin.

Enable org-wide

Org admins can go to Code Review Settings at the organization level and scroll to the Default Coding Agents section to turn on Fix in X for the org. The badge shows up on every PR review. Users who click it without having set up their own agent get walked through setup.

Setup

1

Install the Greptile Bridge

Navigate to the Personal Settings menu in the upper-right corner of the page → Review Settings. Under the Fix with AI section, you’ll see a prompt to link your profile and to install the bridge app. The bridge is a small CLI that sits on your machine and routes fix requests from GitHub to your local agent.
npm install -g greptile
Once installed, the dashboard shows a green checkmark with Greptile bridge app connected.
Review Settings page showing Fix in X section with bridge install instructions
2

Choose your coding agents

In the same section, click the Choose your coding agents dropdown and select the agents you want to use. You can pick from Claude Code, Cursor, Codex, and Devin.
Agent selection dropdown showing Cursor, Codex, and Devin options
The button label on PR comments updates to reflect your choice. The preview on the right shows what the badge will look like on your review comments.
Fix in X section after connecting with agent selected

Using Fix in X

Once setup is done, the flow looks like this:
1

Greptile reviews your PR

When you open or update a PR, Greptile posts its review. Each inline comment gets a Fix in X button, and the review summary has a Fix All in X button at the bottom that sends every issue at once.
Greptile PR summary with Fix All in Claude button
2

Click the button

Your browser asks permission to open Greptile Fix. Click Open “Greptile Fix” to continue. You can select Always open to skip this prompt going forward.
Browser dialog asking to open Greptile Fix
3

Point it to your local repo

Greptile Fix asks you to select the local directory where your repo lives. This tells it where to open your agent.
4

Your agent fixes the code

Your coding agent fires up with a detailed prompt that includes every flagged issue: file paths, line numbers, the review comment, and suggested code changes. The agent works through them one at a time.
Claude Code receiving a detailed fix prompt from Greptile
Review the changes your agent proposes, then commit when you’re happy with them.
5

Comments resolve automatically

When you push a commit that touches the flagged files, Greptile marks the corresponding review comments as addressed.

Troubleshooting

Make sure your GitHub account is linked in Settings → User → Linked Accounts, you’ve selected at least one coding agent, and the Greptile Bridge is installed (npm list -g greptile).
This usually means the bridge isn’t installed or local network access isn’t enabled. Reinstall with npm install -g greptile and check that local network permissions are granted in your dashboard settings.
The agent uses the review comment and suggested code as guidance, but it may interpret things differently depending on context. Always review the diff before committing.