$npx skillfedfor your agent

guardrails-ai-types

Offical Guardrails AI Types

With conditionsPyPI Artificial IntelligenceReleased Jul 2026122.8K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — guardrails_ai_types-0.5.0-py3-none-any.whl
v0.5.0 · released 2026-07-10 · Python <4,>=3.10 · 1 runtime deps: pydantic

Yes, if you are using the guardrails-ai SDK to validate LLM outputs or create guarded chat completions. The package provides essential type definitions with minimal overhead (one pydantic dependency), active maintenance, and permissive licensing. Install it as part of your guardrails-ai setup for type safety and IDE support.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later (supports_current); designed as a types package for use with the guardrails-ai SDK client.
  • Low friction install with a single runtime dependency on pydantic.
  • Actively maintained with recent commits and releases within the past month.

License · maintenance · safety

permissive license (permissive) — MIT License permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

last release 2026-07-10 (35 days) · last repo commit 2026-07-10 · 2 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 122,775 downloads/mo, #11,934 on PyPI

Verify before relying

pip install guardrails-ai-types

from guardrails_ai.sdk import Guard, ValidationOutcome

# Use imported types in your guardrails client code
guard: Guard = await client.guards.retrieve(name="my-guard")
validation_outcome: ValidationOutcome = await client.guards.validate(name="my-guard", llm_output="Hello, world.")
  • Whether this package is intended for direct installation or primarily as a transitive dependency of guardrails-ai-sdk.
  • What specific validation rules or guardrail types are included beyond the core Guard and ValidationOutcome classes shown in the excerpt.
Same gist for agents: .md · .json

What it is and what it does

guardrails-ai-types is a types package providing Pydantic-based data structures for the Guardrails AI REST client. It defines the core types—Guard, ValidationOutcome, and related structures—needed to interact with the guardrails-api service for validating LLM outputs and creating guarded chat completions. The package serves as the type layer for the guardrails-ai SDK, enabling type-safe Python code when working with remote guardrails services.

The package is actively maintained and has low installation friction, depending only on pydantic. It supports current Python versions (3.10+) and is distributed under the MIT License, making it freely usable in both open-source and commercial contexts.

Use it for

  • Type-checking guardrails client code when validating LLM outputs against remote guard definitions.
  • Building type-safe applications that create and manage guarded chat completions with streaming support.
  • Defining validation outcomes and summaries when integrating LLM safety checks into production systems.
  • Enabling IDE autocomplete and static analysis for guardrails-ai SDK method calls and responses.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are using the guardrails-ai SDK to validate LLM outputs or create guarded chat completions.

The package provides essential type definitions with minimal overhead (one pydantic dependency), active maintenance, and permissive licensing. Install it as part of your guardrails-ai setup for type safety and IDE support.

Install

guardrails-ai-types on PyPI

Before you install

Low friction install with a single runtime dependency on pydantic. Actively maintained with recent commits and releases within the past month.

Requires Python 3.10 or later (supports_current); designed as a types package for use with the guardrails-ai SDK client.

License in practice

MIT License permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install guardrails-ai-types

from guardrails_ai.sdk import Guard, ValidationOutcome

# Use imported types in your guardrails client code
guard: Guard = await client.guards.retrieve(name="my-guard")
validation_outcome: ValidationOutcome = await client.guards.validate(name="my-guard", llm_output="Hello, world.")

Verify before relying

  • Whether this package is intended for direct installation or primarily as a transitive dependency of guardrails-ai-sdk.
  • What specific validation rules or guardrail types are included beyond the core Guard and ValidationOutcome classes shown in the excerpt.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release <4,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pydantic
MaintenanceActively maintained 35 days since the last release
Last repo commit
First released
Downloads122,775 / month, #11,934 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: guardrails_ai_types-0.5.0-py3-none-any.whl

Tags

Capabilities
guardrails ai typesllm output validation typesguarded chat completionsguardrails api client typespydantic types for guardrailsvalidation outcome typesguard configuration types
Topics
llm-safetytypes-and-validationguardrails

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “guardrails ai types”

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also guardrails-ai · guardrails-hub-types · nemoguardrails · openresponses-types · datarobot-moderations · openai-guardrails · flake8-typing-imports · pydantic-ai-shields · k8 · llm-guard