qmetrics.net

Best Open-Source Alternatives to Lakera Guard

Lakera Guard by Lakera is a commercial product. These open-source projects say they can replace it.

The most popular open-source alternative to Lakera Guard is NVIDIA-NeMo Guardrails, with 7.6k GitHub stars. Other open-source alternatives to Lakera Guard are Grepture. Most Lakera Guard alternatives here are AI Security & Privacy tools. The first 1 say in their own README or website that they can replace Lakera Guard (the quote is shown under each one); the other 1 do the same job, shown with their own description.

Stars and activity updated 27 November 2026.

Sort:Most starsRecentA–Z

Grepture

Open-source LLM gateway that redacts PII before requests reach providers

A proxy between an app and LLM APIs such as OpenAI and Anthropic. It detects and redacts PII, blocks or tokenizes sensitive content, restores values in responses, and logs traffic.

★ 12⟳ 3 days agoAGPL-3.0
Open Source Alternative to:Lakera GuardLiminaNightfall AI+1
“Lakera Guard Alternative for PII Redaction in LLM Apps: Grepture”

Also does the same job as Lakera Guard

These projects don't call themselves a Lakera Guard alternative, but two independent checks of their own description found they do the same main job.

NVIDIA-NeMo Guardrails

Programmable safety controls for LLM and agent apps

NeMo Guardrails is an open-source Python library that applies configurable input, output, and tool-call checks to conversational apps, RAG pipelines, and agents.

★ 7.6k⟳ 8 days agoApache-2.0
AI Security & PrivacyDesktop/CLI app
Open Source Alternative to:Lakera Guard
“NeMo Guardrails is an open-source library for applying programmable safety and security controls to LLM and agentic applications.”

Compare Lakera Guard alternatives

Questions about Lakera Guard alternatives

Is there an open-source alternative to Lakera Guard?

Yes. 2 open-source projects can replace Lakera Guard, for example NVIDIA-NeMo Guardrails and Grepture. 1 of them says so in its own documentation; the other 1 do the same job.

What is the best open-source alternative to Lakera Guard?

NVIDIA-NeMo Guardrails (7.6k GitHub stars) is the most popular open-source alternative to Lakera Guard on GitHub. Grepture has the most recent code changes. To run it on your own server, look at Grepture (self-hostable). The best choice depends on your needs: compare them side by side, for example NVIDIA-NeMo Guardrails vs Grepture.

Are the open-source alternatives to Lakera Guard free?

All of the 2 projects listed here are free to use under an open-source license, with no license fee: 1 permissive (such as Apache-2.0), 1 copyleft (such as AGPL-3.0). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.

Related commercial products

Limina

Limina

1 open-source alternative

Nightfall AI

Nightfall AI

1 open-source alternative

Skyflow

Skyflow

1 open-source alternative