Skip to main content
AI agents present unique risks compared to simple chat completions. They make autonomous decisions, call tools, access external systems, and execute multi-step workflows. A single compromised step can cascade through the entire pipeline. Know Your AI gives you full visibility and control over agent behavior.

What can go wrong with agents?

Trace every agent step

Use the tracing system to build a complete picture of what your agent does:

Example: traced agent with tool calls

In the tracing dashboard you’ll see:

Intercept suspicious agent behavior with hooks

Use beforeRequest hooks to enforce agent policies — what the agent can and cannot do:

Block unauthorized models

Enforce token limits

Block sensitive keywords in inputs

Detect PII in outputs

Monitor agent behavior with after-response hooks

Track what your agents are actually doing in production:

Log all tool calls

Track cost and alert on spikes

Combine monitoring + firewall for full protection

The most robust setup uses both layers together:
This gives you: