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, and Cursor.

Setup

1

Grant local network access

Navigate to Greptile DashboardAccountSettings. Provide local network permissions when Greptile asks for it via the browser notification.
2

Link your GitHub profile

On the same settings page, connect your GitHub (or GitLab) account. This is how Greptile knows which PR comments belong to you and where to route the fix.
3

Install the Greptile Bridge

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 automatically detects it and shows Greptile bridge app connected.
4

Choose your coding agents

Pick which agents you want to use. The button label on PR comments updates to reflect your choice, so if you pick Claude Code, you’ll see “Fix in Claude Code” on every review comment.
Fix in X settings showing linked profile, bridge connection, and agent selection

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 Account → Settings, 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.