Full-Code · Enterprise Platformsactive

Lakera Guard

Type: full-code · Vendor: Lakera · Status: active · Status in practice: emerging

Links: homepage docs

Lakera Guard wraps a real-time security firewall around a GenAI application, screening every user input, reference document, tool response, and model output so attacker-planted instructions cannot override the agent's objective.

Description. Lakera Guard is a runtime security platform that sits between an application and its LLM and inspects each interaction through a single Guard API call. It detects direct and indirect prompt injection, jailbreaks, content violations, and data leakage, and blocks compromised instructions reaching connected tools before agents act on them.

Agent loop shape. Sits inline on every user interaction and agent step, screening inputs and the model output before either is acted on.

Primary use cases

  • Securing customer-facing GenAI assistants against prompt injection
  • Protecting tool-using agents from compromised retrieved content
  • PII leakage prevention in LLM I/O

Key concepts

  • AI security firewallA runtime layer between the app and the LLM that inspects every interaction for attacks before they are acted on.
  • Guard API input-output-guardrailsA single API call per interaction that screens inputs, reference content, tool responses, and outputs.
  • Prompt Defense prompt-injection-defenseThe guardrail that detects direct and indirect prompt injection and jailbreaks.
  • Data leakage prevention pii-redactionDetection, masking, and blocking of PII and confidential content in prompts and outputs.

Patterns this full-code implements —