AI Engineer

AI Coding Agents Are Breaking Big Codebases — Dan Adler, Sourcegraph

Published 2026-10-04 · Duration 12:23

Summary

The talk addresses the critical challenge of maintaining massive, decades-old codebases (tens of thousands of repositories) in the era of AI coding agents. While agents accelerate development, they also accelerate codebase decay through duplicated code, drifting standards, and new vulnerabilities. Dan Adler argues that the bottleneck is not model quality, but the infrastructure required for large-scale code visibility. Sourcegraph introduces 'Agentic Batch Changes,' a product designed to execute code changes across thousands of repositories from a single prompt, ensuring auditability and consistency across complex, distributed systems.

Download summary

Key takeaways

  1. The Scale Problem

    Most software industry employment is in large enterprises managing thousands of repositories and decades of code history, making codebase ownership increasingly difficult.

  2. Codebase Decay 4:17

    AI-generated code, while fast, is causing decay by proliferating duplicated code, creating brittle cross-service dependencies, and introducing new vulnerabilities.

  3. Visibility is Infrastructure

    The core problem is the volume of code; agents cannot understand what they cannot see. Large-scale code visibility and a comprehensive 'code graph' are essential infrastructure requirements.

  4. Agentic Batch Changes

    Sourcegraph launched 'Agentic Batch Changes,' a frontier agent that allows owners to execute code changes across hundreds or thousands of repositories from a single prompt, providing necessary tracking and auditability.

Technical details

  • Codebase Architecture 300s

    Large enterprises manage massive codebases, often comprising tens of thousands of repositories and millions of lines of code, which exceed the capacity of standard context windows.

  • Agentic Development 202s

    AI coding agents are accelerating development but require infrastructure to manage cross-repository changes and ensure consistency across distributed microservices.

  • Sourcegraph Solution

    The proposed solution involves building a foundational 'code graph' that provides deep visibility, enabling 'Agentic Batch Changes' to patch vulnerabilities or implement features across vast numbers of repos simultaneously.

Mentioned resources

Channel & topics

Watch on YouTube · Back to latest

This independent, AI-assisted summary is provided for commentary and informational purposes. It may contain errors or omit important context. Please watch the original video for the creator's complete presentation. Video, thumbnail, and related copyrights belong to their respective owners.