llm-guard logo

llm-guard

archived
protectai/llm-guard

The Security Toolkit for LLM Interactions

GraphCanon updated Oct 6, 2026 · GitHub synced Oct 6, 2026

3.2k stars462 forksLast push Jul 8, 2026 Python MIT

Decision brief

Unverified catalog guidance: LLM Guard is a toolkit tailored for securing interactions with large language models, focusing on safeguarding against prompt injection and adversarial attacks.

Good fit when

  • Unverified catalog guidance: - You need to secure your application from sophisticated prompt injection techniques.
  • Unverified catalog guidance: - Your development process involves integrating LLMs into production environments where security is paramount.

Avoid when

  • Unverified catalog guidance: - If you are working in a low-security environment or with small-scale projects where advanced security mechanisms are not necessary.
  • Unverified catalog guidance: - In cases where integrating external libraries and ensuring Python version compatibility may introduce complexities that outweigh the benefits.
Requirements:
Min 2 GB RAM; Ensure you have Python version 3.9 or higher.; Some advanced features require additional libraries which are automatically installed as needed.

Observed Jul 12, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Archived (89d since push)
As of Oct 6, 2026
Provenance
Not a fork · Organization account
As of Oct 6, 2026
Security (OSV)
No lockfile
As of Jul 11, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install llm-guard

README installation instruction · observed Oct 6, 2026

PyPI

Relationship proposals(2)

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

LLM Guard provides tools and functionalities aimed at securing interactions with large language models, addressing issues such as prompt injection and adversarial machine learning.

Capability facts

Languages
python

Source: github.language+pyproject.toml · Oct 6, 2026

Categories

Graph entities

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Oct 6, 2026)

- Ensure you're using Python version 3.9 or higher. Confirm with: `python --version`.
Source link
Works with ChatGPTChatGPT

Source: README excerpt (regex_v1, Oct 6, 2026)

- Get started with [ChatGPT and LLM Guard](./examples/openai_api.py).
Source link

Tags

README

Installation Begin your journey with LLM Guard by downloading the package: Getting Started Important Notes : LLM Guard is designed for easy integration and deployment in production environments. While it's ready to use out of the box, please be informed that we're constantly impr...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.