Blog
Skip to main content

LiteLLM × Akto: Model-Based Detection Alongside Built-in Guardrails

Krrish Dholakia
CEO, LiteLLM
Ishaan Jaffer
CTO, LiteLLM

LiteLLM x Akto Partnership

Akto now runs natively inside the LiteLLM proxy as a chained guardrail.

LiteLLM already ships with built-in guardrails for fast, deterministic checks (regex-based PII, secret scanning, banned-word lists). Akto adds a second layer on top — model-based detection for the cases deterministic rules can't cover: prompt injection, semantic PII leaks, and custom policy violations that require an LLM to classify intent.

You run them together. LiteLLM's guardrails handle the cheap, fast checks; Akto handles the scenarios that need a model in the loop.

Guardrail Chaining: Client → LiteLLM Proxy → LLMs / MCPs / Agents, with LiteLLM Guardrails chaining to Akto

Akto runs in sync mode (block on violation before the LLM is called) or async mode (log and alert without adding latency). Configure it as a callback on your existing proxy — no app-level changes.

Get started: Akto guardrail setup guide

Read the full announcement on Akto's blog →

We're hiring

Like what you see? Join us

Come build the future of AI infrastructure.