Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Module decomposition cut agent token use 32% on follow-up feature additions (krv.ai)
2 points by sgathrid 10 hours ago | hide | past | favorite | 1 comment
 help



Refactoring code with Topos cleans up your program structure. Agents optimize for simpler ASTs and lower coupling scores via MCP.

We ran a controlled experiment: implement 4 features into two identically-functioning repos -- one that had been refactored using Topos and one that has not been -- using Gemini-CLI w/ gemini-3.1-pro-preview.

Findings: - 32.6% fewer tokens to add features to the Topos-optimized repo - 22.9% faster - 24.6% cheaper

Measures, concepts, and details of the experiment are provided in the Topos docs.

Docs: https://docs.krv.ai/topos/ Github: https://github.com/Krv-Labs/topos




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: