WhoBuilt

AI Coding Agents Are Breaking Big Codebases

Oct 4, 2026· 12 min· 18K views·Watch on YouTube

Speaker

Dan Adler, CEO of Sourcegraph, speaks at AI Engineer about why AI coding agents make managing large codebases harder and what infrastructure teams need to keep them healthy.

Large codebases keep essential systems running

Adler says most software engineers work in large companies, where teams manage thousands of repositories and decades of code. He points to systems behind banking, insurance, shipping, transportation, aviation, payroll, and building operations as examples of software that depends on these codebases.

More generated code adds pressure

Coding agents are producing code faster, leaving teams with more to review. Adler argues that this volume is contributing to codebase decay: standards vary across repositories, duplicate code spreads, agents miss existing libraries, and cross-service dependencies become more brittle. He also says agents are uncovering vulnerabilities that require ongoing attention.

Agents need visibility across repositories

Adler says tools built for individual coding tasks do not give agents enough visibility into company-scale codebases. He describes a bank executive facing a supply chain vulnerability across 90,000 repositories, and argues that agents need infrastructure to search and understand code at that scale. Sourcegraph’s approach uses a code graph, search, and compiler-accurate analysis.

Batch changes target code at scale

Adler announces a beta product for applying changes across hundreds or thousands of repositories from a prompt. It combines agents where judgment is needed with deterministic scripts for consistent edits, and tracks rollout, CI status, and pull request comments. He describes a Mercari user who found 80 additional potential vulnerabilities after scanning two known affected repositories.

Takeaways

  • Treat code review capacity as a codebase health concern as AI-generated code increases.
  • Give agents searchable context across repositories so they can find existing libraries and dependencies.
  • Use deterministic scripts for repeated edits that need to stay consistent across repositories.
  • Track whether a change reached every affected repository, and monitor CI and pull request feedback.
  • Inventory what code and repositories are actually deployed before attempting company-wide fixes.

Mentioned in this talk

Search inside this talk

What was claimed 6

  • ceo of
    CEO
    “I'm Dan Adler, CEO at Sourcegraph.”
    YouTube
    Unverified1 source· Talk
  • feature
    Sourcegraph: Builds tools to give agents the ability to see, understand, and evolve large codebases.
    “This is what Sourcegraph is built around.”
    YouTube
    Unverified1 source· Talk
  • metric
    Agentic batch changes: Can execute changes across hundreds or thousands of repositories.
    “across hundreds or thousands of repositories at once”
    YouTube
    Unverified1 source· Talk
  • feature
    Agentic batch changes: Uses deterministic scripts for changes that do not require judgment and provides tracking and auditability.
    “deterministic scripts where it isn't. It also provides tracking and auditability”
    YouTube
    Unverified1 source· Talk
  • feature
    Agentic batch changes: Applies code changes across hundreds or thousands of repositories from a single prompt, iteratively rolling out changes and responding to CI status and PR comments.
    “execute code changes across hundreds or thousands of repositories at once, starting with a single prompt”
    YouTube
    Unverified1 source· Talk
  • launched
    Beta
    “Just today, we launched our new agentic batch changes product into beta.”
    YouTube
    Unverified1 source· Talk

Related talks