
What happened
State-harness is a Python library that monitors multi-turn AI agent loops by tracking token usage against a baseline. When token growth exceeds a threshold (e.g., 2× baseline) for consecutive steps, it trips and classifies the failure pattern—context spiral, retry storm, policy drift, early explosion, or budget exhaustion—with actionable fix suggestions, all inferred from the energy trajectory alone without calling an LLM.
Why it matters
Production multi-agent systems fail at rates of 41–87% (Kore.ai 2026), and when they spiral, a budget cap kills the task but reveals nothing about why. State-harness provides failure diagnostics and early termination; in benchmark tests across 3,175 runs, it reduced search nodes by 38.6% and wall time by 30% on SWE-bench by stopping dead-end branches early, achieving these gains with zero false positives across seven models.
What to watch
The tool is available now via `pip install state-harness` with pre-built wheels for Linux, macOS, and Windows (x86_64 + ARM64), requiring Python ≥ 3.10 and no Rust toolchain. It integrates with LangGraph, CrewAI, and vanilla Python, and is most useful for search-tree agents (MCTS, beam search) and platform teams; it is not needed for chatbots, RAG, or ReAct loops with fewer than 10 turns.
Ask the AI about this article →
For example, today's edition would include:
AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.
Free · takes 30 seconds · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. Q&As are published on this page for other readers too.
Visko raised $10 million in pre-seed funding from Llama Ventures and opened public access to its first foundat…
AI company Runway has unveiled Solaris, the first model in a new category it calls "Interface World Models." I…

Google's AI search gave advice to call emergency services for users alone with an African, Indian, or Pakistan…

John Deere introduced JD, a conversational AI tool that lets farmers ask open-ended questions about their hist…

Nvidia CEO Jensen Huang said on Fox Business that AI is creating 'hundreds of thousands' of jobs, including in…

Israeli startup DataAgent Ltd