AI agents now run shell commands, edit files, install packages and call APIs on their own — which is the whole point, and also the whole problem. One confused step and an agent deletes the wrong directory, leaks a credential or ships something it should not. HOL Guard and Phinq are two free, open-source projects built to stand between the agent and that damage, and they openly cite each other as the closest alternative. The real difference is where in your stack they stand guard: HOL Guard protects the machine you are coding on, Phinq gates the agents you run in production.
HOL Guard: an antivirus-style watchdog for coding agents
HOL Guard runs locally on your own machine and inspects what your AI coding agent is about to do — every shell command, file edit and package install — before it happens, blocking anything that looks dangerous. It watches for the classic nightmares: secrets about to be exposed, prompt-injection attempts, malicious packages. It supports more than 13 agent platforms, including Claude Code, Cursor, GitHub Copilot CLI, Codex and Gemini CLI, ships installers for macOS, Windows and Linux, and runs without any cloud account. License is Apache 2.0, price is zero.
The honest limits: there is no paid tier and no commercial support channel published, which teams with procurement requirements will notice. It is a young project, and its scope is the developer workstation — it is not built to be the approval layer for a fleet of production agents. And it overlaps squarely with Phinq, something both projects acknowledge.
Phinq: a human-approval gate with an audit trail
Phinq sits between your agent and the outside world at runtime: when the agent attempts something risky — deleting a file, reading a credential, sending money — Phinq holds the action and waits for a human to approve it before it actually executes. Two design choices matter here. It fails closed: anything not explicitly approved is blocked, rather than the reverse. And it keeps a hash-chained, tamper-evident audit log, which is the artifact compliance people actually ask for after an incident. It is MIT-licensed, self-hostable, and works with Claude, OpenAI, LangChain, CrewAI, AutoGen and any MCP-speaking agent. A hosted version, Phinq Cloud, is in early access.
The honest limits: it is young, with no published production case studies or usage numbers yet; Cloud pricing is unknown; and a human-in-the-loop gate adds real latency to agent workflows by design — that is the feature, but it means it suits irreversible actions, not every step.
Side-by-side
| HOL Guard | Phinq | |
|---|---|---|
| Where it sits | Your own machine, next to the coding agent | Runtime gateway in front of production agents |
| Decision model | Blocks what looks dangerous, automatically | Fail-closed: holds risky actions for human approval |
| Audit story | Local protection, no compliance artifact | Hash-chained, tamper-evident audit log |
| License | Apache 2.0, free, no cloud account | MIT, free, self-hostable; Cloud in beta |
| Maturity | Young; 13+ agent platforms supported | Young; no production case studies published yet |
| Best for | Developers running Claude Code, Cursor and co. locally | Teams running agents in production with compliance needs |
The honest answer is that many teams will eventually want both layers, because they protect different things. Pick HOL Guard today if your exposure is a coding agent with shell access on your laptop — it is the two-minute install that stops the rm-the-wrong-thing class of accident. Pick Phinq if you are deploying agents that touch customers, money or credentials, and you need both a brake and a provable record of who approved what. Both are young projects, so evaluate accordingly. The same shelf also holds Axtary and Clawvisor, which approach agent-action control from the checkpoint and authorization-gateway angles respectively.