
# XClaw AgentGuard Framework v2.3.1 Security detection library for AI agents. 12 detectors, you call them explicitly. ## Quick Start ```python from xclaw_agentguard import PromptInjectionDetector, JailbreakDetector detector = PromptInjectionDetector() result = detector.detect("user input") if result.detected: print(f"Threat: {result.threat_level}") # Your app decides: block, log, or continue ``` ## The 12 Detectors | Detector | Catches | |----------|---------| | PromptInjectionDet
# xclaw-ag-tool-guard > **Framework:** [XClaw AgentGuard v2.3.1](https://github.com/neil-njcn/xclaw-agentguard-framework) Tool invocation validation for OpenClaw agents. Prevents dangerous commands and policy violations. ## Installation ```bash openclaw skills install https://github.com/neil-njcn/xclaw-ag-tool-guard.git ``` ## Usage ```python from xclaw_ag_tool_guard import ToolGuard guard = ToolGuard() result = guard.validate("exec", {"command": "ls -la"}) if result.allowed: execute