Agentic Batch Changes is now in public beta
Agentic Batch Changes is now in public beta: an AI agent that scopes, executes, and ships large-scale code migrations across hundreds of repositories until every PR is mergeable.

Agentic Batch Changes is now in public beta: an AI agent that scopes, executes, and ships large-scale code migrations across hundreds of repositories until every PR is mergeable.
One migration. Every repository.
Large-scale code changes are one of the most expensive, error-prone, and tedious things engineering teams do. Not because the change itself is hard, but because doing it across hundreds of repositories, catching every variation, reacting to CI failures, and getting every PR to a mergeable state is an enormous coordination problem.
Every engineering team eventually faces the same version of this problem. A dependency needs upgrading. An API changes and every caller needs updating. A security vulnerability drops and the fix needs to reach every exposed repository before the next audit window. The hard part is not knowing what change to make. The hard part is executing it safely at scale.
Until now, engineering teams had four options: do it manually, build brittle one-off automation, ask a coding agent to clone hundreds of repositories locally and trust it to make it through the rollout, or avoid the rollout and let the backlog grow.
Today we're launching Agentic Batch Changes in public beta. It's what you use when the migration is too complex to automate on your own.
Agentic Batch Changes is an AI agent built on Sourcegraph's Batch Changes execution engine and code search. You describe the migration you want to run in plain language. The agent takes it from there.
Here's the loop:
Engineers review and approve every changeset before it merges. The goal is always mergeability: not just opening a PR, but a PR that's ready to merge.
Anything a single coding agent can do in one repository, Agentic Batch Changes can orchestrate across all of your repositories at the same time.
Mercari, the Japan-based marketplace platform, has been using Agentic Batch Changes during the experimental preview. Patrick Klitzke, Team Lead at Help Center at Mercari, used it to identify a GitHub Actions environment-variable injection vulnerability across their codebase and begin patching it at scale.
"I looked at a GitHub injection issue where you have to set environment variables correctly. I was able to fix it with one prompt on both the Help Center frontend and backend, then extended this to all repos in Mercari. I found around 80 potential repos affected," Klitzke said.
The thing that stood out wasn't speed. It was how much judgment the agent exercised without requiring intervention. Mercari's repositories have similar setups, but not the same setup. Scripted automation would have collapsed at the first variation. The agent handled each repository individually.
"With the help of Agentic Batch Changes, you're able to handle repos that have similar, but not identical setups. A normal scripted change would most likely be a text search and replace operation without any context of how it's actually used," Klitzke said.
Canva has also been in the preview, using it to split Batch Changes by code ownership across a Bazel monorepo.
Agentic Batch Changes is designed for the kind of code change that has historically been too complex to automate. Use cases that work well today:
We're excited to share this product with you today, so you can help shape it! This is a public beta. There may be rough edges, and we're shipping fast, because the core capability is working in real customer environments and having real impact already. We've been using this tool daily for the past several weeks.
Agentic Batch Changes is made for multi-repo fleet-wide changes, not single-repo tasks. It is made for orchestration of large-scale changes, when coordinating them yourself would be tedious. For single-repo coding tasks, Claude Code or Cursor will serve you better.
We'd love to learn about your migration needs, and believe this tool will help you run real migrations. If you run into something that doesn't work, tell us. Your feedback will directly shape what we build next.
Agentic Batch Changes is available today in public beta for Sourcegraph Cloud customers. It's free during the beta period. Self-hosted availability arrives July 8, 2026 with Sourcegraph 7.5.
Visit sourcegraph.com/agentic-batch-changes or contact us to get started.

With Sourcegraph, the code understanding platform for enterprise.
Schedule a demo