Loopgain AI Agent
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 is an open-source ai agent by loopgain-ai, written mainly in Python, with 126 GitHub stars and the Apache-2.0 license. Its code was last updated Oct 26, 2026. The latest PyPI release is loopgain 0.6.5, published Sep 30, 2026, with 54 downloads last week.
Scan summary: scanned Nov 5, 2026 at commit 8f8c0e4. No capabilities flagged by our checks. Scan policy
What Loopgain can touch
- Our checks did not find this. The tool may still do it.Run shell commandsNot seen in this scan
- Our checks did not find this. The tool may still do it.Run dynamic codeNot seen in this scan
- Our checks did not find this. The tool may still do it.Read or write filesNot seen in this scan
- Our checks did not find this. The tool may still do it.Read environment and secretsNot seen in this scan
- Our checks did not find this. The tool may still do it.Control a web browserNot seen in this scan
- Our checks did not find this. The tool may still do it.Connect to databasesNot seen in this scan
- Our checks did not find this. The tool may still do it.Read or send messagesNot seen in this scan
- Our checks did not find this. The tool may still do it.Touch money or tradingNot seen in this scan
- Our checks did not find this. The tool may still do it.Connect to the internetNot run in this scan
"Not seen" means our checks did not find it, and the tool may still do it. Covers commit 8f8c0e4, Nov 5, 2026. See the scan policy.
Before you install Loopgain
AgenticMart scanned Loopgain on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.
What it can access
- An AI agent decides its own next steps and calls whatever tools you give it, so its risk depends on the access you grant.
Before you install
- Pin the version you reviewed instead of always installing the latest release.
- Read the tool list or scripts before the first run, and keep approval prompts on for actions that write, send or delete.
- Maintained by loopgain-ai on GitHub, 126 stars and 11 forks. Popularity is not proof of safety.
- Last code change: Oct 26, 2026.
- Open-source license: Apache-2.0.
Loopgain is an open-source ai agent by loopgain-ai, written mainly in Python. 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.
At a glance
- Stars
- 126
- Forks
- 11
- Language
- Python
- License
- Apache-2.0
- Created
- May 2026
- Last update
- Oct 26, 2026
- Type
- AI Agent
- Price
- Free
Topics
Questions about Loopgain
What is 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.
Who maintains Loopgain?
Loopgain is maintained by loopgain-ai on GitHub (loopgain-ai/loopgain). AgenticMart lists it from public repository data.
Is Loopgain safe to use?
AgenticMart scanned Loopgain on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.
What license does Loopgain use?
It is published under the Apache-2.0 license.
Loopgain alternatives
View more →Similar ai agents in Developer Tools, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.
| Name | Stars | Licence | Last updated | Scan |
|---|---|---|---|---|
| Loopgain (this page) loopgain-ai | 126 | Apache-2.0 | Oct 26, 2026 | Scanned, no flagged issues |
| Deepseek Harness deepseek-ai | 268k | MIT | Oct 30, 2026 | Scanned, no flagged issues |
| Ponytail DietrichGebert | 182k | MIT | Oct 29, 2026 | Scanned, no flagged issues |
| Orca stablyai | 112k | MIT | Nov 1, 2026 | Scanned, no flagged issues |
| Deer Flow bytedance | 85k | MIT | Nov 1, 2026 | Scanned, no flagged issues |
| Ruflo ruvnet | 80k | MIT | Nov 1, 2026 | Scanned, no flagged issues |