Skip to main content
AI applications in production face two critical risks:
  1. Unpredictable agent behavior — AI agents can hallucinate, leak sensitive data, call unauthorized tools, or drift from their intended goals
  2. Harmful content generation — Models can produce toxic, biased, or policy-violating outputs that reach your end users
Know Your AI’s Monitoring and Firewall work together to address both:

Monitoring

See everything. Track every AI request, response, tool call, token, cost, and error in real time. Trace multi-step agent workflows as span trees. Catch anomalies before they become incidents.

Firewall

Block threats. Validate every input and output against content safety policies. Block jailbreak attempts, prompt injection, PII leakage, and harmful content — before they reach your users.

Architecture

What you can protect against

Getting started

1

Install the SDK

2

Get your DSN and Firewall API key

From the Know Your AI dashboard:
  • DSN: Settings → API Keys
  • Firewall API key: Product → Firewall → Generate Key
3

Initialize with both integrations

4

View dashboards

Open the Monitoring and Firewall Logs pages in your product dashboard to see real-time data.

Next steps

Real-time monitoring

Set up production monitoring with dashboards, tracing, and alerts.

Content firewall

Configure input/output validation and block harmful content.

Agent safety

Monitor and protect multi-step AI agent workflows.

Production recipes

Copy-paste recipes for common production setups.