AI Cloud Architect

Agent Distraction

GoogleBlog post by Sam Saccone and Madhuri GarikapatiGoogle Developers Blog

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Google measured that stale TODO(bug/...) comments in code lead agents to unprompted detours in 6% of sessions where they see them, costing more steps, tokens and wait time.

Who it is for

Teams running coding agents on large codebases that need to judge whether stale TODO comments are slowing agent work.

Key points

  • Across Google's traces, 13% of file-reading sessions exposed agents to TODO or FIXME bug references.
  • In 6% of encounters the agent acted on the bug ID; 83% of those actions were unprompted.
  • Google reports unprompted detours add 70% more steps, 77% more tokens and 105% more wait time per session.
  • Google's cleanup agent removed thousands of obsolete TODOs over six months with over 95% reviewer acceptance.