An Agent Across 15,000 Repositories: Measure the Blast Radius Before You Hit Merge

Netflix measures the reach of library changes with Quasar; iFood runs agents across 15,000 repositories. What to take from both for AI in your own engineering.
A coding agent can now handle a change in a single repository in a few minutes. But a shared library does not end in its own repository – dozens of other services call its API, and an agent without the context of those repositories has no idea what it will break. Netflix built a tool called Quasar for this, which works out before a release exactly who uses the changed symbol. iFood, meanwhile, runs agents on tasks across 15,000 repositories at an average of 4 cents per run. Together they show what AI in software development looks like when it is taken seriously: less magic, more infrastructure, contracts and measurement.
Compatibility is not reach
A compatibility checker tells you that a change is breaking. It does not tell you whom it breaks. Netflix built an entire tool on that difference.
A typical case: you want to remove a deprecated method. The replacement has existed for several versions, the library's tests pass, and a tool such as Revapi correctly flags the removal as incompatible. The library producer still does not know what matters:
- whether anyone still calls the method,
- whether consumers sit on one version of the library or on three generations,
- whether another library wraps the API and multiplies the impact,
- whether a message to two teams is enough or a full migration campaign is needed.
Every technique in common use today sees only part of the problem. A dependency graph shows declared reach, not actual calls. Full-text search misses overloads, inheritance and the artifact version behind a call. Building every consumer would verify it reliably, but running that across the whole fleet is expensive.
Without data, two bad options remain: ship the breaking change and wait to see what falls over, or keep the old API forever because nobody knows the risk. Neither is an engineering decision.
How Quasar works under the hood
Quasar indexes symbol definitions and references across all repositories and answers two questions for every API change: what changed in the public API, and which repositories use exactly those changed symbols.
- Indexing in CI. On every build of a participating repository, a language-specific indexer runs and emits its output in SCIP (an open format for semantic code analysis from Sourcegraph). The key point is that every symbol has a stable identifier – a method in a library and a call to it in someone else's service can be matched even though the two repositories were indexed completely independently.
- Storage. An ingestion service stores API definitions and consumer references as Parquet in Amazon S3. For each reference it keeps the symbol identity, the dependency version and the location in the source.
- Query. Impact is calculated in Amazon Athena with a plain SQL join: the table of requested changes against the table of references, on the canonical symbol identifier. The result is a list of repositories, versions and files that call the removed method. Quasar also follows interface implementations and calls made through them, so each affected repository is counted only once.
- Pull request. A snapshot of API definitions is stored for every commit. Quasar compares base and head, splits symbols into added, removed and changed-signature, and sends the problematic ones to impact analysis. If one of the snapshots is missing, it says so – it does not substitute the state of the default branch, so that a missing comparison does not look like a clean diff.
- Interfaces. Results are available over REST, GraphQL and an MCP server, so an agent can read them too.
What comes out of it
In its article, Netflix shows an illustrative report for removing one method: 137 affected repositories, of which 86 are on version 4.2.1, 38 on 4.1.7 and a long tail of 13 repositories on 3.9.4. Alongside that come sample files and call lines, and the criticality of the library based on the most critical application that depends on it.
A report like that changes the plan. Instead of merging and waiting for failures, the producer keeps the method as deprecated, publishes a migration path, agrees it with consumers and tracks the long tail of old versions. The list of files and lines is also a ready-made backlog – for people and for agents.
What to watch out for
“We found no references” does not mean “nobody uses it”. Reflection, configuration, dynamic loading, old branches or incomplete indexing can hide consumers. That is why Quasar also returns the quality of the evidence: which commits are indexed, how fresh the consumer indexes are, and whether the result was truncated.
And languages are not equal. Usage queries work for the JVM, Go, Python, JavaScript/TypeScript and Rust. Assessing whether a change is breaking is so far supported only for the JVM and Protobuf – it can trace a change in a .proto file through the generated Java code all the way to consumers that never name the .proto directly.
The other side: the agent as a service behind a REST API
While Netflix works on how to give an agent context, Brazil's iFood worked on where to run agents in the first place. Tasks such as checking internal standards, fixing vulnerable dependencies or analysing code are not hard. Doing them in 15,000 repositories is. Individual teams used to build their own solutions, and they all hit the same wall: they lacked a runtime.
The result was an internal Remote Agents Platform. A team sends a prompt and environment requirements over a REST API, the platform runs the task on a dedicated runner in an isolated sandbox, and the result is collected later as a merge request. The sandbox runs on Ubuntu with toolchains for Python, Java, Kotlin, C#, TypeScript, Rust, JavaScript and Go. The agent has access to Nexus, GitLab, Docker, Snyk, Kubernetes and AWS.
Three technical decisions worth copying
- Deterministic steps around the agent. Cloning the repository, loading skills and creating a branch at the start, publishing the merge request and artifacts at the end – none of that needs a model. The agent runs only in the middle, where judgement is needed. That makes the workflow predictable.
- Output to a contract. The result of every session is processed through Structured Outputs into a predefined schema, whether the agent succeeded or not. Without that, there is no automatic way at scale to tell whether the agent completed the task.
- Cost per run as an architectural parameter. The platform has more than 25,000 runs and more than 27 billion tokens behind it, at an average of USD 0.04 per run. The model was chosen for its balance of intelligence, efficiency and speed, not for a single benchmark. At this volume, the cost per task decides what is worth automating at all.
The first major user was the security team. After moving to the platform, both the accuracy of fixes and the number of resolved vulnerabilities more than doubled. The security engineers did not have to build their own agent orchestration – calling the API was enough.
What to take from this even without 15,000 repositories
Most Czech companies do not have even a thousand repositories. But the problem shows up much earlier – a few shared libraries, an internal SDK or a common data model and three teams that rely on it are enough. Once you let agents in, changes arrive faster than anyone can trace them by hand.
- Separate compatibility from reach. A tool detects the breaking change (Revapi, japicmp, buf breaking for Protobuf). Who is affected has to come from a usage index. You need both.
- Index semantically, not textually. SCIP indexers exist for the main languages and are open source. Running them in CI and storing the output in cheap storage that can be queried with SQL is a well-bounded piece of work, not a year-long project.
- Return the quality of the evidence too. Every impact report should say how fresh the index is and what it cannot see. “We found nothing” without context is more dangerous than no report at all.
- Give the agent context through MCP. An agent that finds out who calls a public API before changing it will propose the migration as well. An agent without context just produces an incident faster.
- Wrap the agent in a deterministic workflow. Whatever a script can do, do with a script. Use the model only for the step that needs judgement.
- Require structured output. Success, failure and the reason in a schema a pipeline can process. Otherwise you do not know what the agents actually did.
- Measure the cost per task. Not per month, not per licence. Per task. Only then do you know what is worth automating.
- Leave the decisions to people. Netflix and iFood share the same principle: the agent supplies the evidence and does the routine work; the library owner decides on the release and the API.
Conclusion
Agents in software development are no longer an experiment with a chat in the IDE. At companies that deploy them at scale, they are becoming infrastructure: a runtime, contracts, a code index, cost metrics and clearly assigned responsibility. The speed an agent brings is only worth something when you know how far its change reaches.
At Devcity we help companies with exactly this transition – from the first agent in the pipeline to operations you can trust. If you are working out how to let agents into your own code without breaking production, get in touch.
Enterprise AI and data solutions at Devcity
Sources
This article draws on the following sources:
Netflix Builds Quasar to Measure the Blast Radius of Library API Changes – InfoQ
How iFood scales coding agents across 15,000 repositories – OpenAI, 24 November 2026

