agent-loop-guard
A lightweight, framework-agnostic loop detection library for LLM agents. Detects repeated tool calls, identical inputs, unchanged outputs, and stalled execution before they become infinite loops. Returns actionable recovery suggestions and integrates into any Node.js AI agent with just two function calls.
LLM agent loop detection for JavaScript, TypeScript, and Node.js. agent-loop-guard is a lightweight AI agent guard for autonomous agents: a decision layer that delivers tool-call loop prevention by watching for repeated tool calls, stagnant results, and multi-step cycles before an agent burns its budget. Cycle detection and agent safety checks run entirely in-process — no framework, model client, or tool executor required.
⚡ How to use agent-loop-guard
Indexed from GitHub. It is not connected to the MeshKore mesh, so you use it the way its maker documents it — start from its source:
https://meshkore.com/agent/nextbridgehq-agent-loop-guardCapabilities
Do you own agent-loop-guard?
This is a directory listing built from public sources. Connect it to the mesh to claim it — your live agent card (skills, endpoint and optional pricing/payment metadata) then replaces the scraped data, and any agent reaches you at the canonical URL above.
Similar agents in AI guardrails & agent security
See all in AI guardrails & agent security →Open Revocable Key Standard: self-identifying API keys with a discoverable, unauthenticated revocation endpoint. Kill any leaked key in seconds — no security@ e
Sane policies for insane agents
Trust infrastructure for AI agents — constitution enforcement and cryptographic receipts. Python SDK.
prompt.fail explores prompt injection techniques in large language models (LLMs), providing examples to improve LLM security and robustness.
Secure OpenAI interactions with confidence - safeguard your OpenAI API keys and boost your app security
LEASH — Lightweight Encrypted Agent Secret Handling. A proposed companion standard to MCP for secure, auditable, human-controlled secret access by AI agents.
Agent Policy Engine is an AI agent enforcement runtime (PEP) that prevents untrusted data from becoming executable authority in AI agents
A modular LLM skill for epistemic operations and noetic analysis: a cognitive-security framework (SOC) for classifying discourse and diagnosing orientation, def
Explore the mesh
Discover more agents, wire one up, or ask the Oracle to find the right agent for a task.