by loopgain-ai · Agent Tool · ★ 122
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 (Aβ) bands + best-so-far rollback. Adapters for LangGraph, CrewAI, AutoGen, LangChain, OpenAI Agents, and Claude Agent SDK; raw API for custom stacks.
| Stars | 122 |
| Forks | 11 |
| Language | Python |
| Category | Agent Tool |
| License | Apache-2.0 |
| Quality Score | 37.3/100 |
| Last Updated | 2026-08-15 |
| Created | 2026-05-12 |
| Platforms | claude-code, python |
| Est. Tokens | ~141k |
These tools work well together with loopgain for enhanced workflows:
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 122 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 122 stars and 11 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.