How Uber Uses AI Agents to Delete Code at Scale
Uber engineers detail AutoClean, an automated system that uses AI agents and deterministic tooling to identify and delete stale feature flags and associated dead code across the company's codebases. The system combines PolyglotPiranha for boolean simplification, CI integration for fixing breakages, and CodeCourt for parallel agentic validation before routing clean diffs to human reviewers. According to the authors, the approach has successfully removed over 16,000 feature flags and one million lines of code. Open article →