Search

Search tools, categories and pages, or ask the assistant.

HOL Guard logo

HOL Guard

hol.org

Local-first runtime control that intercepts risky AI agent actions before they execute.

Overview

HOL Guard adds local policy checks to supported AI coding-agent actions. It can allow, ask for approval, or block covered actions such as destructive commands, secret access, software installs and data movement before they run. Coverage depends on the agent integration and action type; it is not a guarantee that every harmful action will be stopped.

Guard Local is free and open source and can operate without a cloud account or internet connection. Supported integrations listed on the official site include Claude Code, Codex, Cursor and OpenCode. Local decisions and activity history help users review agent behaviour.

Optional paid Guard Cloud plans add cross-device history, alerts and team policy features. The pricing page says Cloud sync stores redacted decision summaries rather than source code or secret material.HOL Guard is a desktop security tool that sits between AI coding agents and your machine, intercepting risky actions before they run. It works locally on your computer—your files never leave your machine—and can allow, ask for approval, or block actions like destructive shell commands, secret access, software installs, and data exfiltration.

The tool supports major coding agents including Claude Code, Cursor, Codex, OpenCode, and others. It applies configurable policies to supported action boundaries, maintains an audit trail of decisions, and can optionally sync approvals and policy across devices via Guard Cloud. Guard is free and open source; paid plans add team features and cross-device synchronization.

Key features

  • Pre-action interception of shell commands, MCP calls, and package changesP
  • Local-first policy enforcement with optional cloud sync
  • Audit trail and decision history with evidence exportL
  • Support for Claude Code, Cursor, Codex, OpenCode, and other agents
  • Team policy sharing and approval workflows via Guard Cloud
  • GitHub secret monitoring and credential scanningO
  • Plugin and MCP supply-chain inspection via plugin-scannerA
Pros
  • Runs entirely on your machine with no required cloud connection
  • Free tier includes full local protection and policy enforcement
  • Open source with transparent security research and benchmarksO
  • Supports multiple AI coding agents with harness-specific coverage
  • Minimal performance overhead (millisecond-level latency)L
  • Detailed evidence and redacted decision history for complianceO
Cons
  • Cannot prevent prompt injection attacks, only reduce impact at action boundariesA
  • Coverage varies by agent and supported action types
  • Requires manual policy configuration for custom workflows
  • Cloud features (sync, team policy) require paid subscription
  • Not a replacement for endpoint security, DLP, or secrets management
Use this if
You need pre-action control over AI agent commands and want to keep decisions local. Use if you're concerned about destructive commands, secret access, or data exfiltration from coding agents.
Skip this if
You need complete prompt-injection prevention or a cloud-only solution. Skip if you require network-level controls or don't use AI coding agents.

Best for

Developers using AI coding agents who want pre-action control over risky commandsTeams needing shared security policies for AI agent workflowsOrganizations requiring audit trails and approval workflows for agent actionsUsers concerned about secret exfiltration and destructive commands

Alternatives

Native agent controls (Claude Code, Cursor built-in settings)

Compare HOL Guard alternatives

More Security

Compare all
View Microsoft Defender
Microsoft Defender

Security application that provides always-on protection for personal and family devices against online threats.

View Proton VPN
Proton VPN

Privacy-focused virtual private network service created by the team behind Proton Mail.

View dotenvx
dotenvx

Secure environment variable manager with encryption, auditing, and multi-environment sync.

View hCaptcha
hCaptcha

Enterprise security platform that provides real-time bot detection, AI agent verification, and fraud prevention.