How to prevent AI coding agents from wasting tokens on large repositories
Proposed · by Mehrad Arbab · updated
Proposal: nothing has been run or linked yet.
The problem
AI coding agents often repeatedly scan large repositories, consume unnecessary context, and lose track of previous engineering decisions. This increases token usage and slows down development.
Proposed solution
Use a persistent project context file, a focused task scope, an incremental execution plan, and a concise progress ledger. Run targeted tests during implementation and broader regression tests before release.
Expected results
Less redundant repository analysis, more consistent task execution, and potentially lower token consumption. Controlled benchmarks are still needed.