PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Loop Detection Python Packages

Python packages with the GitHub topic loop-detection. Sorted by monthly downloads, with stars and forks.
bmdhodl
agentguard47

Python runtime checks for AI agents: budgets, loops, retries, and local traces. Zero runtime dependencies. MIT.

3K 4 3
SahilSelokar
loopbrake

Brakes for stuck AI agents. Learns how long your agent's tasks normally take, stops the one that runs way past that, and says why. For Claude Code, Codex and your own Python agents. Runs locally, zero dependencies.

2K 1 1
RyjoxTechnologies
octopoda

Persistent Memory Kernel for AI Agents — crash recovery, shared memory, audit trail, real-time dashboard

2K 487 65
loopgain-ai
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.

1K 126 11
ENDEVSOLS
longguard

In-flight circuit breaker & loop recovery for LangGraph, LangChain, OpenAI & Anthropic agents. Catches reasoning loops, prevents runaway LLM costs with budget hard caps, and auto-injects Reflect & Pivot prompts.

653 7 1
xli498
mimo-stable

Cross-model LLM degenerate loop detection and engineering guardrails. MiMo is the initial case study; this project does not claim model-level repair.

293 0 0
MrPredic
drift-detector-agent

Behavioral drift detection for LLM agents — catch vocabulary loss, tool changes, loops, and stagnation before they break production.

175 1 0
tazsat0512
reivo-guard

Open-source guardrails that auto-kill runaway AI agents — budget enforcement, loop detection, quality verification

136 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology