← Latest products

LoopGain

Stop agent loops with control theory, not max_iterations. 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.

LibraryOpen source

126 stars · GitHubexternal site

Visit github.comexternal site

Reactions (1)

Similar products

by description similarity

  1. AI Circuit Breaker

    circuit-breaker-sage.vercel.app

    Reverse proxy to stop agent infinite loops

    Hacker News9 pts

  2. SwarmClaw

    github.com

    Orchestration dashboard for OpenClaw and AI agents

    Hacker News5 pts

  3. AgentGuard

    github.com

    Auto-kill AI agents before they burn through your budget

    Hacker News47 pts

  4. Shikigami

    shikigami.dev

    run AI coding agents in parallel, each in a Git worktree

    Hacker News7 pts

  5. Hierarchal Agent Loop Optimizer

    Hacker News27 pts