
Guardrails AI is an open-source Python framework for developers who need to check what goes into an LLM and what comes back. It runs within your application or as a self-hosted service. The framework uses the Apache 2.0 license and helps address risks such as policy violations, hallucinations, and data leakage before outputs reach users.
Guardrails Hub supplies prebuilt validators for specific risks. You can combine them into input and output guards, so an application can apply several checks to the same request or response. The guards detect, measure, and mitigate risks, with runtime controls that can block problematic outputs.
The framework also helps generate structured data from LLMs. It works with Pydantic models to describe the output an application expects, which matters when software needs defined fields rather than free-form text. For teams that want validation separate from their application, a Flask-based server exposes guards through a REST API.
The broader platform covers testing and training data as well as runtime checks. It generates realistic synthetic datasets for fine-tuning, distillation, and prompt optimization. Its agent evaluations generate scenarios aimed at edge cases and risky outcomes, then quantify where an agent fails. The platform supports work across LLMs and deployment environments; the Python framework provides the application-level guards and standalone validation service.
Claim this page with an email at guardrailsai.com. Guardrails AI gets the verified badge, and you can upgrade the listing to be featured on localhosted. Proud to be listed? Put our badge on your site.
Want more people to find Guardrails AI?Promote it
Something wrong or outdated on this page?
59.9KUpdated 57 minutes ago
#Guardrails#MCP#Multi-user access
LiteLLM gives platform teams one place to manage access to LLMs across providers. Its self-hosted AI gateway puts cloud services and internal or locally hosted models behind an OpenAI-compatible API, so applications can change models without changing their integration. Developers can also use its Python SDK directly.
3.2KUpdated 3 months agoMIT
#Guardrails
LLM Guard is a Python security toolkit for developers building applications around large language models. It checks prompts and generated responses for risks such as prompt injection, sensitive data exposure and harmful language. The project is archived and no longer maintained, including its associated models on Hugging Face.
7.2KUpdated 23 hours ago
Docker#Guardrails#LLM tracing#Tool calling
1.5KUpdated 3 years agoApache-2.0
Web#Guardrails#Semantic search
496Updated 3 years agoApache-2.0
Docker · Web#Guardrails#Semantic search
27.3KUpdated 20 hours agoMIT
macOS · Windows · Linux#Code execution#MCP#Tool calling
NeMo Guardrails is an open-source Python toolkit for developers who need control over how an AI assistant responds and uses tools. It runs within your application or as a self-hosted server, including in Docker. The library uses the Apache 2.0 license.
Rebuff is a prompt injection detector for developers building LLM applications that accept untrusted input. It combines checks for suspicious prompts with a record of past attacks and tests for leaked prompt content. The project is archived and no longer maintained.
Vigil is a self-hosted security scanner for developers and researchers who want to check LLM inputs and responses for prompt injection, jailbreak attempts, and other suspicious content. It combines several detection methods and includes attack signatures and datasets, so teams can assess known threats without building every detector themselves. It is experimental alpha software for research and is open source under Apache 2.0.
Cua gives AI agents access to computers they can inspect and operate, with tools for desktop automation, local virtual machines, and hosted fleets. It's for developers building agents that work across native apps and browsers, or evaluating how well those agents complete computer tasks. You bring the agent and model.