- /
- Creators/
- Cole Medin — AI Agents & Agentic Coding/
- Your Coding Agent Wastes SO MANY Tokens Just Finding Code - Here's the Fix/
Your Coding Agent Wastes SO MANY Tokens Just Finding Code - Here's the Fix
YouTube · Watch/Read · (gathered 2026-09-30)
- Cole Medin argues that coding agents are highly inefficient and costly because they waste the majority of tokens and time searching and reading code to identify relevant sections for edits, rather than directly writing or modifying code.
- The solution presented is Sonar Vortex, a tool built on Sonar that provides direct lookups for code relationships (e.g., what classes implement an interface, what calls a function) down to the file and line, eliminating the need for inefficient searching.
- Implementing Sonar Vortex can lead to significant token savings (demonstrated 80,000 tokens for search vs. same for lookup + follow-up, with a study showing 6-34% savings), offers real-time graph refreshes (~1ms), and supports Java, C#, JavaScript, TypeScript, Python, and Rust via SonarQube Cloud with the Sonar Agent Essentials add-on.