morgana-anti-infinite-loop-v2Lightweight anti-infinite-loop guard for LLM agents — healing > kill, predictive, zero-dep, 9 layers of protection. Standalone package (stdlib + numpy option...
Install via ClawdBot CLI:
clawdbot install kofna3369/morgana-anti-infinite-loop-v2Grade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Calls external URL not in known-safe list
https://clawhub.ai/p/morgana-anti-infinite-loop-v2Audited Oct 1, 2026 · audit v1.0
Generated Oct 1, 2026
A solo developer runs a Claude-powered coding assistant that retries failing test fixes indefinitely, burning API tokens and never converging. Morgana v2 detects entropy collapse 5-10 iterations before the loop and injects a healing directive that reformulates the repair strategy instead of killing the session.
A startup deploys an LLM support agent on LangChain that gets stuck paraphrasing the same clarifying question to frustrated customers. The guard's predictive entropy layer catches the collapse and switches the agent to an escalation path, preserving the customer relationship and avoiding wasted tokens.
An AI research team orchestrates AutoGen agents in a data-processing pipeline where two agents wait on each other's output forever. The opt-in multi-agent extra uses a DFS deadlock graph to detect cycle formation across agents and trigger a coordinated healing intervention.
A fintech company runs nightly LLM jobs that occasionally loop and rack up thousands of dollars in inference costs. Morgana's token-cost awareness and pre-flight plan check (regex, zero LLM) catch malformed prompts before execution and stop loops mid-run, cutting runaway spend.
An IoT team deploys Llama-based agents on constrained hardware without room for heavy dependencies. Morgana's zero-dep core (stdlib only) provides all 9 protection layers while torch and numpy remain optional, keeping the footprint minimal on edge devices.
The zero-dependency core stays MIT-licensed and free, driving adoption through ClawHub and GitHub. Advanced extras like KAN, embeddings, and multi-agent support become paid tiers or enterprise licenses for teams needing the full 9-layer stack.
Offer a hosted API endpoint that teams route their agent telemetry through, with the guard running server-side and returning healing directives. Removes the integration burden and provides centralized loop analytics across all customer agents.
Sell tailored adapters for proprietary harnesses (custom LangChain forks, internal agent frameworks) plus SLA-backed deployment and monitoring. High-touch engagement for large orgs with strict compliance needs around agent behavior.
💬 Integration Tip
Wrap your agent's action loop with a single AntiLoop(mode="heal", max_iter=10) guard and check result["intervene"] each iteration — the 3-line quickstart gets you protected in 30 seconds without touching your existing harness.
Scored Oct 1, 2026
Security-first skill vetting for AI agents. Use before installing any skill from ClawdHub, GitHub, or other sources. Checks for red flags, permission scope,...
Security scanner for AI agent skills. 9 built-in detection signatures. Identifies secrets, unsafe execution patterns, and prompt injection. Sub-50ms results.
Wallet anti-theft guard. One-click scan for high-risk wallet approvals to protect user assets. Use when a user asks for a wallet security check, wallet healt...
Comprehensive security audit for an agent's full skill stack. Chains scanner, differ, trust-verifier, and health-monitor into a single assessment with priori...
GEO Audit — AI Search Visibility Checker for ChatGPT, Perplexity, Claude & Gemini. 29-point GEO readiness checklist: robots.txt AI crawler access, Index...
Senior SecOps engineer skill for application security, vulnerability management, compliance verification, and secure development practices. Runs SAST/DAST sc...