loopgain

by loopgain-ai · Agent Tool · ★ 122

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

agent-orchestrationagenticagentic-aiai-agentsanthropicautogenclaudecontrol-theorycost-controlcrewai

Quick Facts

Stars122
Forks11
LanguagePython
CategoryAgent Tool
LicenseApache-2.0
Quality Score37.3/100
Last Updated2026-08-15
Created2026-05-12
Platformsclaude-code, python
Est. Tokens~141k

Compatible Skills

These tools work well together with loopgain for enhanced workflows:

  • asqav-sdk — semantic(0.18)+complementary+shared_fw(crewai,langchain)+rare_topics+same_lang+similar_pop+shared_platform (81%)
  • eval-view — semantic(0.28)+complementary+shared_fw(crewai,openai)+rare_topics+same_lang+similar_pop+shared_platform (80%)
  • innovation-lab-examples — semantic(0.19)+complementary+shared_fw(crewai,langchain,openai)+rare_topics+same_lang+similar_pop+shared_platform (76%)
  • agent-audit — semantic(0.16)+complementary+shared_fw(autogen,crewai,langchain)+rare_topics+same_lang+similar_pop+shared_platform (75%)
  • Adrian — semantic(0.21)+complementary+shared_fw(langchain,openai)+rare_topics+same_lang+similar_pop+shared_platform (73%)

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 122 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 122 stars and 11 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