CodeRabbit logoCodeRabbit logo
PlanEnterpriseCustomersPricingBlog
Resources
  • Docs
  • Trust Center
  • Contact Us
  • FAQ
  • Whitepapers
Log InGet a free trial
CodeRabbit logoCodeRabbit logo

Products

Pull Request ReviewsIssue plannerIDE ReviewsCLI ReviewsOSS

Navigation

About UsFeaturesFAQSystem StatusCareersDPAStartup ProgramVulnerability Disclosure

Resources

BlogDocsChangelogCase StudiesTrust CenterBrand GuidelinesWhitepapers

Contact

SupportSalesPricingPartnerships

By signing up you agree to our Terms of Use and Privacy Policy

discord iconx iconlinkedin iconrss icon
footer-logo shape
Terms of Service Privacy Policy

CodeRabbit Inc © 2026

CodeRabbit logoCodeRabbit logo

Products

Pull Request ReviewsIssue plannerIDE ReviewsCLI ReviewsOSS

Navigation

About UsFeaturesFAQSystem StatusCareersDPAStartup ProgramVulnerability Disclosure

Resources

BlogDocsChangelogCase StudiesTrust CenterBrand GuidelinesWhitepapers

Contact

SupportSalesPricingPartnerships

By signing up you agree to our Terms of Use and Privacy Policy

discord iconx iconlinkedin iconrss icon

You don’t need to implement that. Autofix will.

by
Konrad Sopala

Konrad Sopala

April 02, 2026

|

3 min read

April 02, 2026

3 min read

  • Meet Autofix
  • How it works
  • What happens when you trigger Autofix
  • Even though it’s auto you can still control it if you want
  • Try it out
Back to blog
Cover image

Share

https://victorious-bubble-f69a016683.media.strapiapp.com/Reddit_feecae8a6d.pnghttps://victorious-bubble-f69a016683.media.strapiapp.com/X_721afca608.pnghttps://victorious-bubble-f69a016683.media.strapiapp.com/Linked_In_a3d8c65f20.png

Cut code review time & bugs by 50%

Most installed AI app on GitHub and GitLab

Free 14-day trial

Get Started

Catch the latest, right in your inbox.

Add us your feed.RSS feed icon
newsletter decoration

Catch the latest, right in your inbox.

Add us your feed.RSS feed icon

Keep reading

You don’t need to implement that. Autofix will.

You don’t need to implement that. Autofix will.

You open a pull request. CodeRabbit reviews it and leaves a handful of comments. So now you do what every developer does: Read each comment Context-switch back into the code, Make the fix Push a n

Why do that stuff manually when you have Custom Finishing Touch recipes?

Why do that stuff manually when you have Custom Finishing Touch recipes?

Go check your pull requests real quick. If you’re like most devs, there’s at least one PR in there that’s almost done. The feature works, the logic makes sense, tests pass locally. If someone asked wh

A very brief history of AI coding, from Copilot to next-gen agents

A very brief history of AI coding, from Copilot to next-gen agents

How code models became coding assistants, how assistants became agents, and how the practice of software engineering began to reorganize around them.

Meet CodeRabbit Plan: Better plans. Faster delivery. Less rework

Meet CodeRabbit Plan: Better plans. Faster delivery. Less rework

The challenge Teams using coding agents need prompts that are clear, specific and context-aware. That's exactly why we built CodeRabbit Plan, a collaborative planning tool that turns vague ideas into

Get
Started in
2 clicks.

No credit card needed

Your browser does not support the video.
Install in VS Code
Your browser does not support the video.

You open a pull request. CodeRabbit reviews it and leaves a handful of comments.

So now you do what every developer does:

  • Read each comment

  • Context-switch back into the code,

  • Make the fix

  • Push a new commit

And wait for CI to run again. Multiply that by a dozen PRs a week and it adds up fast.

Why do it actually? The review already told you exactly what to change.

Meet Autofix

When CodeRabbit leaves review comments with clear fix instructions, Autofix can implement them for you.

The old way

Until now, the way forward was copy-pasting our Prompt for AI Agents block into your tool of choice.

The new way

Now you trigger Autofix and it applies all unresolved findings in one go.

https://youtu.be/tCbpNbdHdbo

You get two options for how the fixes land:

  • Commit to your current branch - fixes get pushed directly to the PR you’re already working on

  • Open a stacked PR - if you want to review the fixes independently before they touch your branch (a new PR is created from your feature branch)

Either way, nothing merges automatically. You review the changes like any other code and decide what ships.

How it works

Comment in the PR

To apply fixes directly to your branch

@coderabbitai autofix

To open a separate PR with the fixes

@coderabbitai autofix stacked pr

Both also accept auto-fix and auto fix if you forget the exact spelling, because nobody should have to remember whether it’s one word or two.

Checkbox in the PR walkthrough

In GitHub flows, CodeRabbit renders an Autofix section directly inside the review comment with interactive checkboxes. Check the box, and it runs - no command needed.

What happens when you trigger Autofix

When Autofix runs, here’s what’s happening under the hood:

  • Scans unresolved threads: CodeRabbit looks at all the review comments it created on the PR and identifies the ones that are still unresolved.

  • Gathers fix instructions: each CodeRabbit review comment includes a structured “Prompt for AI Agents” block with specific instructions, which Autofix collects

  • Applies the change - a coding agent implements the fixes with full repository context.

  • Runs verification - it executes a repository setup and build verification step to check that the fixes don’t break anything.

  • Delivers the result - even if verification fails, Autofix still delivers the generated changes so you can continue iterating. You’re never left empty-handed.

The whole point is to preserve your review workflow, not replace it. Autofix generates the diff and you decide whether it’s correct.

Even though it’s auto you can still control it if you want

Autofix processes all unresolved CodeRabbit review comments. If there’s a specific comment you don’t want it to touch - maybe you disagree with the suggestion, or you want to handle it differently - just resolve that comment manually before running Autofix. Hit the “Resolve conversation” button on GitHub, then trigger the command. Autofix will skip it.

This keeps you in control. Autofix is aggressive about applying what’s open, but it respects what you’ve explicitly closed.

Try it out

Autofix is available on GitHub in early access for Pro plan users.

If you’re tired of implementing review feedback that’s already been spelled out for you, give it a try. Comment on your next PR and see what comes back.

Get started with CodeRabbit