How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

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

calendar_today April 21, 2026 person domain 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 →

open_in_new Read original post