Microsoft study finds inconsistent docs derail AI coding agents

devblogs.microsoft.com13 min read

Inconsistent software documentation hurts AI coding agents primarily by increasing token usage, adding extra steps, and occasionally causing broken builds when outdated instructions are followed. Testing across multiple models and real-world documentation contradictions revealed that agents frequently notice discrepancies but often follow incorrect guidance first, recovering only when tasks allow them to hit visible errors like 404s. The findings suggest that maintaining accurate docs and making products reliable second sources help mitigate these performance penalties. Open article →