Secure your LLM tools with easy peasy authorization. One decorator, instant security. Zero infrastructure.
Runtime-optimized authorization that identifies security issues at the code level, not just endpoints.
Just add @d2_guard to your functions. Extremely simple code that replaces hundreds of lines of auth logic.
Define all authorization logic in YAML/JSON policy files—no code changes needed. Updates propagate in under a minute. Policy validation catches typos before they reach production.
Three layers of protection: RBAC controls who can call what, Guardrails, and Sequence Enforcement prevents multi-step attacks like data exfiltration.
Input validation constrains function arguments before execution. Output sanitization removes PII. Output validation denies calls with unexpected returns. All with unified operators.
Built for high-performance production systems with minimal overhead and intelligent caching.
Every authorization decision emits telemetry. Track denials, sequence violations, and sanitization actions. OpenTelemetry integration for production monitoring and debugging.
Replace hundreds of lines of authorization logic with a single decorator.
Start free with local mode. Scale to cloud for production with enterprise features.
Per month
Per month
For large organizations
Tell us about your use case and we'll help you get started.