Agent Security Indexbeta
Home / Prompt-injection firewalls & guardrails / PurpleLlama (Llama Guard, Prompt Guard, LlamaFirewall)

PurpleLlama (Llama Guard, Prompt Guard, LlamaFirewall)

Quick answer: PurpleLlama (Llama Guard, Prompt Guard, LlamaFirewall) is an open-source prompt-injection firewall and guardrail tool from Meta, released under the MIT (evals, Code Shield, LlamaFirewall); Llama Community License (models) license. Meta's set of open tools to assess and improve LLM security, including Llama Guard classifiers and LlamaFirewall.
Open source
PurpleLlama (Llama Guard, Prompt Guard, LlamaFirewall) at a glance
CategoryPrompt-injection firewalls & guardrails
Official sitegithub.com/meta-llama/PurpleLlama
MakerMeta
Ownership / acquisitionNot published / not yet verified
License modelOpen source
LicenseMIT (evals, Code Shield, LlamaFirewall); Llama Community License (models)
Public pricingFree (open source)
Source codemeta-llama/PurpleLlama
Last verified

Facts are taken from the vendor's own site, GitHub, or a linked public source. Blank means we could not confirm it, not that it does not exist. Vendors can request a correction for free.

Lab result

Not yet tested. Lab testing is in preparation. No tool on the site has a lab result yet.

About planned lab testing

Frequently asked questions

What is PurpleLlama (Llama Guard, Prompt Guard, LlamaFirewall)?

PurpleLlama (Llama Guard, Prompt Guard, LlamaFirewall) is an open-source prompt-injection firewall and guardrail tool from Meta, released under the MIT (evals, Code Shield, LlamaFirewall); Llama Community License (models) license. Meta's set of open tools to assess and improve LLM security, including Llama Guard classifiers and LlamaFirewall.

Is PurpleLlama (Llama Guard, Prompt Guard, LlamaFirewall) open source?

Yes. PurpleLlama (Llama Guard, Prompt Guard, LlamaFirewall) is open source under the MIT (evals, Code Shield, LlamaFirewall); Llama Community License (models) license. Source code: github.com/meta-llama/PurpleLlama.

How much does PurpleLlama (Llama Guard, Prompt Guard, LlamaFirewall) cost?

Published pricing: Free (open source). Checked on November 10, 2026; confirm current prices on the official site.

Who makes PurpleLlama (Llama Guard, Prompt Guard, LlamaFirewall)?

Meta.

What are alternatives to PurpleLlama (Llama Guard, Prompt Guard, LlamaFirewall)?

Other prompt-injection firewalls and guardrails listed here include Lakera Guard (now Check Point AI Guardrails), Prompt Security, NeMo Guardrails, Guardrails AI and LLM Guard. See all 17 in Prompt-injection firewalls & guardrails.