vstorm-co/pydantic-ai-shields
Guardrail capabilities for Pydantic AI — cost tracking, prompt injection detection, PII filtering, secret redaction, tool permissions, and async guardrails. Built on pydantic-ai's native capabilities API.
This project helps AI application developers ensure the safe, compliant, and cost-controlled operation of their Pydantic AI agents. It allows you to define rules that filter agent inputs and outputs, manage access to tools, and track expenses. The primary users are AI engineers and developers building applications powered by Pydantic AI agents.
Available on PyPI.
Use this if you are building an AI agent with Pydantic AI and need to implement robust safety, security, and cost-management features directly into the agent's capabilities.
Not ideal if you are not using Pydantic AI for your agent development or if you need a full, ready-to-deploy agent framework rather than specific guardrail capabilities.
Stars
27
Forks
4
Language
Python
License
MIT
Category
Last pushed
Mar 28, 2026
Commits (30d)
0
Dependencies
3
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/agents/vstorm-co/pydantic-ai-shields"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Featured in
Related agents
ucsandman/DashClaw
🛡️Decision infrastructure for AI agents. Intercept actions, enforce guard policies, require...
Dicklesworthstone/destructive_command_guard
The Destructive Command Guard (dcg) is for blocking dangerous git and shell commands from being...
microsoft/agent-governance-toolkit
AI Agent Governance Toolkit — Policy enforcement, zero-trust identity, execution sandboxing, and...
Pro-GenAI/Agent-Action-Guard
🛡️ Safe AI Agents through Action Classifier
project-codeguard/rules
Project CodeGuard is an AI model-agnostic security framework and ruleset that embeds...