Open-source antivirus and firewall for AI agents: block risky tools, secret access, prompt injection, malicious packages, MCP servers, plugins, and skills at runtime.
![]() | Stop risky AI actions before they compromise your machine. HOL Guard is a local-first security layer for AI agents, tools, plugins, skills, MCP servers, and package installs. Install HOL Guard Read the documentation PyPI Package ( hol-guard)Report an Issue |
|---|
HOL Guard reviews agent actions before they run: shell commands, file access, package installs, and MCP tool calls. It detects secret exposure, destructive operations, prompt injection, and supply-chain risks, then allows, blocks, or requests approval according to your policy. It sees only the events each agent exposes to it: the support matrix lists, for each agent, the event surfaces Guard hooks and the actions it does not cover.
Run it locally without an account. Use the CLI and local dashboard to manage protection, resolve approvals, and inspect decision history. Optional Guard Cloud adds shared history, team policy, and fleet management.
Get started · Supported agents · Plugin scanner · Documentation · Contribute an extension · Contribute an adapter · Development
Thank you to our sponsors for supporting HOL Guard. Some sponsor links are referral links.
Sponsorship does not change Guard's security decisions or coverage.
Requires Python 3.10 or newer, pipx, and a matching native runtime. Check the platform support and Windows ARM64 setup notes before installing.
pipx install hol-guard
hol-guard init
The first-run wizard discovers supported agents and walks you through protection setup. It asks before each setup change, including opening the dashboard, installing agent integrations, and connecting optional cloud services.
Python recommendation: Use Python 3.11 or newer for the pipx installation shown above, in line with pipx's current installation guide. HOL Guard itself supports Python 3.10+, so this is a setup recommendation, not a change to the package's minimum supported Python version.
Check your installation:
hol-guard --version
hol-guard status
To update an existing installation:
hol-guard update
For manual setup, see the installation guide. Annotated release notes with upgrade context live at hol.org/guard/releases; raw releases and prereleases are on the GitHub releases page.
| Surface | Protection |
|---|---|
| Shell commands and file access | Reviews destructive operations, sensitive file access, credential exposure, and suspicious outbound commands. |
| Package installs | Evaluates supported package-manager operations against supply-chain intelligence before installation. |
| Plugins, skills, and agent configuration | Inventories local artifacts and reviews new or changed tools before launch. |
| MCP servers and tools | Inspects server configuration and reviews tool calls through supported hooks and managed proxies. |
| Prompts and tool results | Screens supported events for prompt injection and sensitive content. |
| Approvals and evidence | Routes decisions to native prompts or the approval center, and records local receipts for review. |
Descubra as ferramentas mais usadas pela nossa comunidade.
Sem dados de popularidade ainda.