Automating Feature Flag Cleanup at Scale with Multi-Agent LLM Systems: An Industrial Experience at DoorDash
TL;DR - DoorDash developed a multi-agent LLM system that automates stale feature-flag removal from live rollout-data retrieval through pull-request creation. It produced engineer-approved PRs for 45 of 50 evaluated flags, suggesting practical viability at repository scale.
- Integrates MCP-based rollout queries, Jira ticket processing, code cleanup, and PR creation.
- Targets 56,000+ flags across 623 repositories, with 1,659 identified as stale.
- Each cleanup averaged 13.8 minutes and $4.79, versus an estimated 1–2 hours manually.
- The paper evaluates reliability boundaries and shares lessons for similar production multi-agent systems.