Lakera
Lakera is an AI security company building runtime defenses for generative AI applications. Its flagship Lakera Guard API screens prompts and responses for prompt injection, jailbreaks, PII leakage, unsafe content, and policy violations, while Lakera Red provides automated red teaming and risk assessment for GenAI systems. Lakera follows an API-first architecture with a managed SaaS platform, regional endpoints, self-hosted deployments for regulated environments, and a free Gandalf training game that has driven much of the prompt injection research community.
Lakera publishes 3 APIs on the APIs.io network. Tagged areas include AI Security, LLM Security, Prompt Injection, Guardrails, and Red Teaming.
Lakera’s developer surface includes documentation, API reference, getting-started guide, changelog, engineering blog, pricing, signup flow, and 6 more developer resources.
APIs
Lakera Guard
Lakera Guard is a low-latency screening API that inspects text content sent to or from LLMs and flags threats including prompt injection, jailbreaks, PII, profanity, and policy ...
Lakera Red
Lakera Red is an automated red teaming product that probes GenAI applications for jailbreaks, prompt injection, data leakage, and other adversarial failures, then produces a ris...
Gandalf
Gandalf is Lakera's free interactive game that teaches prompt injection by challenging players to extract a secret from an LLM across progressively harder defenses. It has becom...
Features
Detects direct and indirect prompt injection attempts targeting LLM-powered applications and agents.
Identifies attempts to bypass system prompts, safety policies, and model guardrails.
Screens prompts and responses for personally identifiable information leakage.
Flags unsafe, toxic, or policy-violating content in user inputs and model outputs.
Configurable detection policies scoped to projects, models, and use cases.
Hosted endpoints in US, EU, and APAC regions for data residency and latency.
On-premises and VPC deployments for regulated industries that cannot send data to a SaaS.
Model Context Protocol server for embedding Lakera Guard into AI clients like Claude Code and Cursor.
Use Cases
Screen inputs and outputs of chatbots, copilots, and RAG applications for prompt injection and unsafe content.
Inspect tool inputs, retrieved context, and agent reasoning steps for indirect prompt injection.
Govern employee use of public LLMs and prevent sensitive data exfiltration.
Run automated adversarial assessments against pre-production GenAI applications.
Self-host Guard in financial services, healthcare, and government environments with strict data residency.
Integrations
Wrap OpenAI calls with Guard screening for input and output safety.
Screen prompts and responses from Anthropic Claude models.
Drop-in callbacks and chains for integrating Guard into LangChain applications.
Screen queries and retrieved context in LlamaIndex RAG pipelines.
MCP server for surfacing Lakera Guard inside Claude Code, Cursor, and other MCP clients.
Self-hosted Helm-based deployments with health, readiness, and liveness probes.