Skip to content
AI AGENT SECURITY

Secure your AI agents

Validate every tool call before execution. Detect privilege escalation, monitor agent behavior, and block dangerous commands across OpenClaw, LangGraph, CrewAI, and more-all in real-time.

THE CALL, AND THE RETURN LEGfig. 01
blocked — the tool never runsagentcallvalidate callname · argumentstooloutputscan outputtwo stages1 — structural scandeterministic, no model call2 — llm judge, on a clean scanfail-open: an error never blocks
The exposure is the return leg. Tool output is content nobody on your side wrote, and it is scanned before it re-enters the agent's context — structurally first, with no model call, and by an LLM judge only when the structural scan is clean.

What is checked, and when

01
Tool Call Validation
Intercept and validate every tool call before execution. Block dangerous operations like file deletion, shell commands, and unauthorized API calls.
02
Privilege Escalation Detection
Detect and block attempts to escalate privileges, such as agents trying to modify permissions or access restricted resources.
03
Behavior Monitoring
Track agent behavior over time to establish baselines and detect anomalies like unusual tool usage patterns or rapid-fire operations.
04
Human-in-the-Loop
Require human approval for sensitive operations like sending emails, modifying user data, or executing financial transactions.
05
Session Isolation
Isolate agent sessions to prevent cross-contamination and limit the blast radius of compromised agents.
06
Real-time Alerts
Get instant notifications when suspicious agent behavior is detected. Integrate with Slack, PagerDuty, and webhooks.
07
Tool Injection Detection
Detect and block attempts to inject malicious tool calls or manipulate agent tool usage through crafted prompts targeting function-calling workflows.
08
Jailbreak Detection (LLM)
LLM-powered jailbreak detection catches sophisticated bypass attempts that evade traditional pattern matching, including multi-turn, encoded, and role-play attacks.
09
OpenClaw Agent Defense
Purpose-built protection for OpenClaw agents: defend against indirect prompt injection and tool-hijacking exploits, and validate skill marketplace packages.
10
Multi-Turn Intent Drift Detection
Detect crescendo attacks and slow-burn manipulation across multi-turn conversations. Identifies gradual intent drift before agents are compromised.
11
Agent Identity Registry
Register agents and issue a per-agent credential (pgag_, bcrypt-hashed at rest, shown once), rotatable and revocable through the API. Requests today carry a self-asserted agent ID; credential checking on the request path is on the roadmap, not yet enabled.
12
Behavioral Drift Detection
Establish behavioral baselines using tool-usage distributions and detect drift via Jensen-Shannon divergence. Alerts fire when an agent's behavior shifts beyond the configured threshold.
13
Tamper-Evident Audit Trail
Every audit event is SHA-256 hash-chained to its predecessor, forming a cryptographic append-only chain. Verify chain integrity over any time range with a single API call.
14
Content Safety Classification
Classify harmful intent using an LLM safety classifier. Detect violent, sexual, self-harm, and hateful content before it reaches your agents or users.
15
EU AI Act & ISO 42001 Aligned
Technical controls mapped to EU AI Act Articles 9-15 and ISO/IEC 42001 Annex A. Risk management, automated record-keeping, transparency, human oversight, and governance reporting, built in, not bolted on.
16
Framework Integrations
Native support for LangChain, LangGraph, CrewAI, OpenClaw, Pydantic AI, OpenAI Agents SDK, and Vercel AI SDK. Drop-in security for any agent framework.

How AI Agent Security Works

  1. 01

    Intercept

    Every tool call from your AI agent passes through PromptGuard's security layer before execution.

  2. 02

    Validate

    We validate the tool, arguments, and context against your security policies and behavioral baselines.

  3. 03

    Execute or Block

    Safe operations execute immediately. Dangerous or suspicious calls are blocked or require human approval.

Simple Integration

python
from promptguard import PromptGuard

pg = PromptGuard(api_key="your-api-key")

# Validate a tool call before execution
result = pg.agent.validate_tool(
    agent_id="agent-123",
    tool_name="execute_shell",
    arguments={"command": "rm -rf /"}
)

if result.action == "block":
    print(f"Blocked: {result.reason}")
    # Risk level: {result.risk_level}
else:
    # Safe to execute
    execute_tool(result.tool_name, result.arguments)

Why PromptGuard for AI Agents?

  • Included in all plans (even free tier)
  • Real-time tool call validation
  • Behavioral anomaly detection
  • Human-in-the-loop workflows
  • Self-hostable with open-source SDKs

Secure Your AI Agents Today

Start protecting your autonomous AI agents with enterprise-grade security. Free tier includes 10,000 requests/month.