artoo-corporation/D2-Python

Detect and Deny - Deterministic Function-Level Guardrails for AI Agents

34
/ 100
Emerging

It provides fine-grained, declarative policy enforcement for Python functions using a decorator-based approach, integrating with both synchronous and asynchronous application frameworks like Flask, Django, and FastAPI. Policies, defined in YAML, enable role-based access control, detect and block dangerous sequences of tool calls, validate input arguments, and sanitize sensitive data in responses.

No Package No Dependents
Maintenance 10 / 25
Adoption 6 / 25
Maturity 9 / 25
Community 9 / 25

How are scores calculated?

Stars

17

Forks

2

Language

Python

License

Last pushed

Jan 16, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/agents/artoo-corporation/D2-Python"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.