Sourcegraph, the code intelligence platform that helps enterprise engineering teams understand, oversee, and evolve their codebases, announced the general availability of Agentic Batch Changes for Sourcegraph Cloud customers. Agentic Batch Changes is the frontier agent for code change at scale, built on the indexing and change-management infrastructure Sourcegraph has run for the world's largest codebases for years. One prompt plans, executes, and tracks a change across hundreds or thousands of repositories. Anything a single coding agent can do in one repository, Agentic Batch Changes can orchestrate across all of a customer's repositories at the same time.
Sourcegraph announces general availability of Agentic Batch Changes
AI agent for large-scale code changes across enterprise codebases
Plans, executes, and tracks changes across hundreds or thousands of repositories
Introduces outcome-based pricing based on changesets merged
Supports GitHub, GitLab, Bitbucket, Azure DevOps, and Gerrit
During beta, customers merged nearly a thousand changesets
"Every engineering leader I talk to has a list of changes that need to happen everywhere. Those are the projects that never get staffed," said Dan Adler, CEO of Sourcegraph. "Batch Changes already merges half a million changesets a year for the largest enterprises in the world. Agentic Batch Changes now plans that work itself and adapts to each repository, and it has already merged nearly a thousand changesets for early adopters during our beta. You describe the change once and it keeps working until the pull requests are ready to merge, with the speed and confidence of changing a single repository."
Every engineering team eventually faces the same challenge: a change that needs to happen everywhere. 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. Sourcegraph has been helping the owners of the largest codebases in the world make these changes for years with Batch Changes, which creates pull requests across all affected repositories and tracks their progress until they are all merged.
With Agentic Batch Changes, an engineer describes the change once, in plain language. A coordination agent uses Sourcegraph code intelligence to scope the work across the customer's indexed codebase, builds a plan, and validates its approach in a single repository before generating the full set of diffs. It then pushes changes out in batches. It handles the variation between repositories, reacts when CI fails, and keeps working until the pull requests are ready for an engineer to review and merge. It tracks merge status for every pull request in one place.
With general availability, Agentic Batch Changes introduces outcome-based pricing. The coordination agent, the part that plans and directs the work, is priced on the number of changesets merged into the customer's codebase. If it opens a pull request and the team decides not to merge it, the customer does not pay for that pull request. Sourcegraph's outcome-based pricing model is the result of a growing demand from engineering leaders industry-wide looking for more clarity in the costs they are charged for AI use.
During the Beta, customers merged nearly a thousand changesets created by Agentic Batch Changes on work that ranged from security remediation to library migrations.
Mercari, a Japan-based marketplace, turned to Agentic Batch Changes for a security fix across many repositories. Patrick Klitzke, Team Lead at Mercari, used it to identify a GitHub Actions environment-variable injection vulnerability across Mercari's codebase and began patching it across the affected repositories. "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. With the help of Agentic Batch Changes, you're able to handle repos that have similar, but not identical setups."
At Canva, the work was a library migration. William L., Senior Software Engineer at Canva, used Agentic Batch Changes to carry it across the company's repositories and track every pull request through to merge from one place. "We used Agentic Batch Changes to raise and merge 50+ pull requests across our repos as part of a library migration. The web UI made it easy to track each PR and its status. Without it, we would have been managing either huge PRs or spreadsheets; instead, Agentic Batch Changes made the process easier for both reviewers and me."
Agentic Batch Changes is built for the changes that have been hardest to roll out reliably across a large codebase, including:
Dependency upgrades with breaking changes
Security remediation
Code pattern updates that need judgment
New APIs and libraries
CI pipeline modernization
End-of-life deadlines
Users start by planning a change with the coordination agent, which drives an Agentic Batch Change. For each part of a plan, the coordination agent decides whether the change needs a coding agent or, more often, a script. That routing is deliberate: it avoids paying for a coding agent to work out the same change a hundred times over. Where a change needs judgment, the agent delegates to Claude Code or Codex, with repository-specific instructions and codebase context through the Sourcegraph MCP. When CI fails, the agent adjusts its approach and tries again. Engineers see diffs as they are generated. They review and approve every changeset before it merges.
About Sourcegraph
Sourcegraph is the code intelligence platform for large, complex codebases. As the context layer for an organization's entire codebase, Sourcegraph helps engineering teams understand and navigate increasing codebase complexity and fragmentation while reducing technical debt and security risks. It gives agents and developers the context they need to make faster decisions, improve the quality and accuracy of AI-generated code, and execute codebase-wide changes with confidence.