HOL Guard v2.0.506 provides a privacy-first guard layer for local AI harnesses (Codex, Claude Code, Cursor, Gemini, OpenCode). It intercepts tool calls, validates them against user-defined policies, and rejects unauthorized operations without sending data to external services.
pip install hol-guardNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize HOL Guard with an API key and validate a tool call.
Update code to check result['allowed'] instead of just if result:
Change import to 'from hol_guard import HOLGuard'.
Ensure HOL_API_KEY environment variable is set before instantiating HOLGuard.
No dependency data recorded yet.