loopgain
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.
loopgain-ai/loopgain
View on GitHub ↗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.
loopgain grew +0.0% in the last 30 days, ranks 786th of 1,009 in Multi-Agent Orchestration, last commit 24 days ago.
Star trajectory
79 days tracked+0.0% in 30d, below the Multi-Agent Orchestration median of +1.5%.
Last commit 24 days ago, staler than the median of 8d.
How it compares in Multi-Agent Orchestration
Ranked 786th of 1,009 by stars.
- Language
- Python
- License
- Apache License 2.0
- Contributors
- 3
- Forks
- 11
- Watchers
- 2
- Open issues
- 1
- Releases
- 1
- Created
- 2026-05-12
- Stars this week
- +0
You've seen where loopgain stands today.
Get the moves before everyone else: the 5 Multi-Agent Orchestration repos climbing fastest, every Tuesday.
Free weekly digest. Double opt-in, unsubscribe anytime.