September 22, 2026
PR keeps moving after review: Agent Merge fixes feedback and CI failures
On September 2, 2026, Microsoft added Agent Merge to VS Code 1.136 in preview. The AI agent handles review feedback, failed checks, and merge conflicts, then reruns builds and tests. It repeats the cycle until the PR is ready to merge.

Visual Studio Code
@code
🏃🏽♂️ Agent Merge: Keep your PR from getting stuck in VS Code Meet Agent Merge, an experimental feature in VS Code. It is a powerful way to keep a pull request moving after it opens. Delegate review comments, failed checks, and merge conflicts to the agent; have it make the necessary fixes, rerun builds and tests, and keep working until the PR is ready to merge. ➡️ https://aka.ms/Doc/Agent-Merge
· 22.7K views
Previously, developers handled review feedback, CI failures, and merge conflicts themselves. Now Agent Merge handles this loop in a linked agent session, editing and syncing the PR branch.
How to enable it. Enable `chat.agentMerge.enabled`, open an agent session linked to the PR, and select Agent Merge → Enable Agent Merge. In the menu, you can select blockers to fix and allow merging. Auto-merge is disabled by default.
You can create a draft PR with Agent Merge in one action through `Create Draft PR & Agent Merge`. While the PR remains a draft, the agent will not merge it.
On September 15, Microsoft added a command to VS Code 1.139 Insiders that lets an agent create a PR and enable Agent Merge itself for the current session.
Source

