loopgain

by loopgain-ai · Agent Tool · ★ 124

About loopgain

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...

agent-orchestrationagenticagentic-aiai-agentsanthropicautogenclaudecontrol-theorycost-controlcrewai

Quick Facts

Stars124
Forks10
LanguagePython
CategoryAgent Tool
LicenseApache-2.0
Quality Score67.5490900097006/100
Last Updated2026-09-05
Created2026-05-12
Platformsclaude-code, python
Est. Tokens~21k

More Agent Tool Tools

Explore other popular agent tool tools:

View all Agent Tool tools →

Popular Python Agent Tools

Frequently Asked Questions

What is loopgain?

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.

What programming language is loopgain written in?

loopgain is primarily written in Python. It covers topics such as agent-orchestration, agentic, agentic-ai.

How do I install or use loopgain?

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.

What license does loopgain use?

loopgain is released under the Apache-2.0 license, making it free to use and modify according to the license terms.

View on GitHub → Browse Agent Tool tools