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

57views this month

3.2k stars462 forksLast push Jul 8, 2026 Python MIT

Decision brief

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

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

Avoid when

  • - If you are working in a low-security environment or with small-scale projects where advanced security mechanisms are not necessary.
  • - 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
PyPI

How it fits your stack(2)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

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.