The guardrail layer for AI coding agents.
Pick your path. IDE extension or Claude Code terminal — both take under a minute.
Search LoopGuard in the Extensions panel, or run: ext install LoopGuard.loopguard
Full setup guide →LoopGuard activates automatically. The status bar shows it is running — no config needed.
Run LoopGuard: Sign In from the Command Palette to see your loops and token savings in the dashboard.
Create free account →Grab loopguard-ctx for your platform from GitHub Releases, then:
chmod +x loopguard-ctx && mv loopguard-ctx /usr/local/bin/Registers LoopGuard as an MCP server and installs a PreToolUse hook. No account needed.
loopguard-ctx setup --agent=claudeClose and reopen your terminal. Every file read Claude Code makes is now routed through the context engine automatically.
Full Claude Code guide →Every other context tool is passive — it compresses when you ask. LoopGuard is active. It watches, intercepts, and intervenes before the damage is done.
Every turn a stuck AI takes costs real money. LoopGuard watches both your diagnostics and your edit history. The moment it detects a loop — whether you're typing or an agent is running — it fires an alert with the exact time and token estimate burned.
LoopGuard sits between your editor and your AI. Every context request — manual copy or MCP-backed agent read — is filtered through the relevance engine. Focused signatures, exact error context, smaller project maps. The rest is dropped.
Every developer using AI hits these walls. LoopGuard was built to break them.
AI gives you the fix you tried 20 minutes ago — just renamed. You don't notice until you're three attempts in and an hour behind.
The AI gets your entire file on every message. It wastes tokens on unrelated code — and gives you worse answers because of the noise.
You don't realize you've been on the same bug for two hours until you check the clock. No circuit breaker. No alert. Just lost time.
Two independent detection methods run in parallel — diagnostic-based and edit-pattern. Either one can trigger. Catches loops even when the error message changes. Works with autonomous agents running in the background, not just manual sessions.
The Rust helper can parse structure, score lines for information density, and produce smaller focused reads for clipboard or MCP workflows. What remains: the signatures and nearby context your AI needs, without making every request drag along the whole file.
One extension. One binary. Every major platform and IDE — same experience across all of them.
In your IDE, inside your AI agent, or at the terminal — LoopGuard intercepts context at every point where noise enters your AI workflow.
Loop circuit breaker + relevance engine built in. Free forever. One click install, zero config. Hit a loop: instant alert with time and tokens burned. Copy context: AI gets the 7% that matters.
Wire LoopGuard once. Compatible agents can call LoopGuard's MCP tools for focused reads, compact search results, and cleaner shell output instead of grabbing full files every time.
`npm install` pumps 3,400 tokens of progress bars and resolved packages into your AI. LoopGuard intercepts it and sends 12 lines: the warning that broke your build, the peer conflict, the final status. Nothing else.
Every stuck AI turn costs money. Loops aren’t just frustrating — they have a line item.
Same error. 8 AI turns. Each turn: ~2,000 tokens context.
LoopGuard catches at turn 2. 2 turns × 140 tokens context.
5 loops/day × 22 working days = 110 loops/month.
110 × $0.47 = $51.70 saved per month — just on loop turns.
Add context reduction on every other request: ~$77/month total.
When you loop, you notice. When Claude Code, Cursor, or Codex workflows keep revisiting the same problem, token spend can climb quietly in the background. LoopGuard is designed to surface that waste and give you a smaller, more relevant next step.
Your agent read auth.ts three times this session? The fourth read costs 13 tokens — not 2,400. LoopGuard caches every file read and serves delta-only updates. Files your AI already knows don’t get resent.
Every other tool tries to make context smaller. LoopGuard decides what context should exist at all. The 200-line helper your AI keeps re-reading but never uses? It never gets sent again.
Start free. Upgrade when the ROI is obvious — and it will be.
60 seconds to install on Windows, macOS or Linux. The next time you hit a loop, LoopGuard catches it — and tells you exactly how much time you just saved.
Free forever · No credit card · Windows · macOS · Linux · Your code never leaves your machine