loopgain: An open-source cost controller for AI agent loops — stops a loop when it's actually converged and rolls back

by loopgain-ai · Agent Tool · ★ 126

Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h

How to install loopgain

pip install loopgain
/plugin marketplace add loopgain-ai/loopgain-plugin

Taken from the project's README on GitHub.

Security audit verdict: SAFE · quality 68/100

None of the 42 rules matched — no credential harvesting, no data exfiltration, no curl-pipe-shell installer. Scanned against 42 published rules built on the SlowMist agent-security taxonomy, refreshed every 8 hours.

The quality score combines nine heuristic checks of the repo and its README: completeness, clarity, specificity, examples, structure, agent readiness, step-by-step content, instruction quality and security notes. It rates how well the project explains itself to an agent, not the code.

agent-orchestrationagenticagentic-aiai-agentsanthropicautogenclaudecontrol-theorycost-controlcrewai

Quick Facts

Stars126
Forks11
LanguagePython
CategoryAgent Tool
LicenseApache-2.0
Quality Score68/100
Last Updated2026-09-30
Created2026-05-12
Platformsclaude-code, python
Est. Tokens~21k

About loopgain

LoopGain An open-source cost controller for AI agent loops. AI agent loops waste time and money when they don't know when to stop. LoopGain measures the loop in real time and stops it the moment it has actually converged — and rolls back before it degrades — instead of running to a fixed cap.

loopgain alternative? Top 6 similar tools

Looking for a loopgain alternative? If you're comparing loopgain with other agent tool tools, these 6 projects are the closest alternatives on Agent Skills Hub — ranked by topic overlap, star count, and community traction.

  • eval-view by hidai25 · ⭐ 139

    Regression testing for AI agents. Snapshot behavior,diff tool calls,catch regressions in CI. Works with LangGr

  • agentic-ai-engineering by agenticloops-ai · ⭐ 382

    Hands-on tutorials for building AI agents from scratch. Learn LLM APIs, prompt engineering, tool calling, and

  • oreilly-ai-agents by sinanuozdemir · ⭐ 322

    An introduction to the world of AI Agents

  • agent-skills by simota · ⭐ 95

    90 specialist AI agents + 3 project-local extensions for Claude Code / Codex CLI / Antigravity CLI (agy). Anth

  • intellegix-code-agent-toolkit by intellegix · ⭐ 57

    Automated loop driver, slash commands, council automation, MCP browser bridge, and portfolio governance for Cl

  • Octopoda-OS by RyjoxTechnologies · ⭐ 504

    The open-source memory and observability layer for AI agents — persistent memory, loop detection, hash-chained

More Agent Tool Tools

Explore other popular agent tool tools:

View all Agent Tool tools →

Popular Python Agent Tools

How this security grade is produced

Grades come from a rule-based scan built on the SlowMist agent-security taxonomy: 42 published rules, covering credential harvesting, data exfiltration, curl | sh installers and more. It is a first-layer scan, not a manual audit — we say so rather than overstate it.

The scale of the problem is documented independently: Liu et al. (2026), in a study of 31,132 agent skills, report that 26.1% contain security vulnerabilities. Our own full-catalog census is published as a citable open dataset.

Sources & who's responsible:

View on GitHub → Browse Agent Tool tools