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.

54
/ 100
Established

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.

AI development LLM application security AI ethics cost management agent safety
Maintenance 13 / 25
Adoption 7 / 25
Maturity 22 / 25
Community 12 / 25

How are scores calculated?

Stars

27

Forks

4

Language

Python

License

MIT

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.