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
2026-08-07126 stars today2026-10-25
Momentum

+0.0% in 30d, below the Multi-Agent Orchestration median of +1.5%.

Maintenance

Last commit 24 days ago, staler than the median of 8d.

How it compares in Multi-Agent Orchestration

loopgain
126
stars
+0.0% 30d
commit 24 days ago
Multi-Agent Orchestration median
271
stars
+1.5% 30d
commit ~8d ago
Leader · n8n
208.5k
stars
+1.3% 30d
commit today

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.

Maintain loopgain?

Claim this page to add your own call-to-action.

Claim this page