Course

Agent Hooks

Secure your agentic IDEs and agent frameworks with Guardrail Hooks — interception points that enforce security policy at every high-risk step

7 lessons
53 min

Lessons (7)

5 min

1. Introduction to Agent Hooks

Understand what makes agentic systems different from traditional AI and how Guardrail Hooks provide mechanical security enforcement at every critical step

EngineeringSecurity & ComplianceProduct & StrategyExecutive
8 min

2. The Threat Landscape for Agentic Systems

Learn the attack vectors unique to agentic IDEs and agent frameworks — and why traditional security tools are not designed to catch them

EngineeringSecurity & ComplianceProduct & Strategy
8 min

3. The Four Hook Points

Deep dive into the Pre-LLM, Post-LLM, Pre-Tool, and Post-Tool hooks — what each one inspects, what it can block, and how they provide layered defense

EngineeringSecurity & ComplianceProduct & Strategy
8 min

4. Installing Hooks on Your IDE

Step-by-step installation of Guardrail Hooks for Cursor, Claude Code, Kiro, GitHub Copilot, and Claude Desktop

EngineeringSecurity & Compliance
8 min

5. Installing Hooks for Agent Frameworks

Add Guardrail Hooks to LangChain, LangGraph, CrewAI, OpenAI Agents SDK, and Strands with framework-specific integration snippets

EngineeringSecurity & Compliance
8 min

6. Configuring Your Guardrail Policy

Master the guardrails_config.json file — hook events, detectors, sensitive tools, per-workspace vs global config, and common configuration patterns

EngineeringSecurity & Compliance
8 min

7. Observability and Monitoring

Use hook event logs to investigate incidents, track security trends, and produce audit-ready evidence of agent security enforcement

EngineeringSecurity & ComplianceExecutive