by loopgain-ai · Agent Tool · ★ 124
LoopGain An open-source cost controller for AI agent loops. AI agent loops waste time and money when they don't know when to stop. LoopGain measures the loop in real time and stops it the moment it has actually converged — and rolls back before it degrades — instead of running to a fixed cap. Benchmark — 2,000 paired trials across 10 workload cells (run it yourself): - 92.8% less API spend than — $27.05 → $1.94 in total benchmark spend - 15× faster — median wall-clock per trial 30.9s → 2.1s - Quality preserved, not traded for speed — judge win-rate 0.50–0.63 on natural-distribution workloads...
| Stars | 124 |
| Forks | 10 |
| Language | Python |
| Category | Agent Tool |
| License | Apache-2.0 |
| Quality Score | 67.5490900097006/100 |
| Last Updated | 2026-09-05 |
| Created | 2026-05-12 |
| Platforms | claude-code, python |
| Est. Tokens | ~21k |
Explore other popular agent tool tools:
loopgain is An open-source cost controller for AI agent loops — stops a loop when it's actually converged and rolls back before it degrades, instead of running to a fixed max_iterations cap. Real-time loop-gain (. It is categorized as a Agent Tool with 124 GitHub stars.
loopgain is primarily written in Python. It covers topics such as agent-orchestration, agentic, agentic-ai.
You can find installation instructions and usage details in the loopgain GitHub repository at github.com/loopgain-ai/loopgain. The project has 124 stars and 10 forks, indicating an active community.
loopgain is released under the Apache-2.0 license, making it free to use and modify according to the license terms.