Back to browse
GitHub Repository

Runtime safety net for LLM agents. Detects token spirals, kills doomed tasks early, tells you exactly why. Rust core, Python SDK. pip install state-harness

7 starsPython

I applied Lyapunov stability theory to detect when LLM agents spiral

by visha1v·Jun 11, 2026·2 points·0 comments

AI Analysis

●●●●GemBig BrainZero to OneSolve My Problem

Lyapunov stability theory catches token spirals before your budget explodes.

Strengths
  • Applies control theory mathematics to LLM agent monitoring, genuinely novel approach
  • Classifies failure patterns like context spirals and retry storms with specific fixes
  • Rust core with Python SDK, pip installable with zero extra LLM calls
Weaknesses
  • Split BSL/Apache licensing may limit enterprise adoption
  • Only detects token-based spirals, not semantic drift or policy violations
Category
Target Audience

Teams deploying LLM agents in production

Similar Projects

AI/ML●●●Banger

I applied Lyapunov stability theory to detect when LLM agents spiral

Lyapunov stability theory for LLM loops beats hard budget caps any day.

Big BrainSolve My ProblemShip It
visha1v
511d ago
Developer Tools●●Solid

Agent Firewall – Go proxy to kill LLM death spirals

Wire-protocol circuit breaker for agents when LangSmith costs too much.

Solve My ProblemShip It
wuweiaxin
213mo ago
AI/ML●●●Banger

LoopGain – Cut agent API spend by measuring when loops stop improving

1921 electrical engineering oscillator math stops AI loops at convergence.

Big BrainWizardry
fitz2882
211d ago