loopgain-ai/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.

126
Stars
11
Forks
39.7
Radar Score
Stable
Momentum

Scoring Breakdown

Impact33.6
Velocity34.4
Health56.9

Growth Metrics

7-Day Stars
+0
30-Day Stars
+0
Acceleration
x
Language
Python

Why it ranks

Modest but positive momentum.

AI AgentsTop 61% globally
View on GitHub