HOL Guard

Open-source security layer for AI coding agents: checks commands, secrets, packages and MCP calls before they run.
AI Categories: AI Agents
Pricing model: Freemium, Gratis (open source) / Guard Cloud da $4,99/mese

What is HOL Guard?

HOL Guard is a security layer for AI agents that work on your computer, such as Claude Code, Codex, Cursor or GitHub Copilot CLI. It sits between the agent and the operating system and checks actions before they run: terminal commands, file access, package installs and MCP server calls. It is developed by Hashgraph Online (HOL), open source under the Apache-2.0 license, and has close to 900 stars on GitHub.

Coding agents already have their own permission systems, but each one handles them differently. HOL Guard applies the same rules to every installed agent and adds checks that are usually missing: exposed secrets, prompt injection in tool results, and vulnerable or malicious packages.

Main Features

How Does HOL Guard Work?

You install it from the terminal with pipx (Python 3.10 or newer) and run the setup wizard, which finds the agents on your machine and asks before every change. From then on HOL Guard hooks into the agents through their native hooks or an MCP proxy, and for each action decides whether to allow it, block it or ask for approval, according to your policy.

Everything runs locally, without an account, through a command line and a browser dashboard. The optional Guard Cloud service adds history shared across machines, alerts and, on team plans, shared policies and central management. The authors themselves warn that scanning is not a safety guarantee: it reduces risk, it does not remove it.

Who is HOL Guard for?

Use Cases

Pricing

HOL Guard running locally is free and open source, with no account. The optional Guard Cloud service starts with the Solo plan at $4.99 a month (2 devices and 30 days of history) after a 3-day trial; Pro and Team plans add more features for companies.

Pros and Cons

Pros:

Cons:

Final Verdict

HOL Guard is a sensible addition for anyone who lets AI agents work on their machine, especially with third-party MCP servers and packages. The free local version is enough for most developers; the Cloud is for people managing several machines or a team. Treat it as a second layer of protection, not a replacement for the agent's own permissions and common sense.