artoo-corporation/D2-Python

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

40
/ 100
Emerging

This project helps software developers secure their AI applications by controlling what actions an AI agent can take. It allows you to define policies in a simple configuration file that specify which functions an AI can call, in what order, and with what arguments. The system takes these policy rules and enforces them at every step of the AI agent's execution, preventing unintended or malicious actions.

Use this if you are building an AI agent-driven application and need to ensure your AI only performs authorized actions, even when the AI itself decides the execution flow.

Not ideal if your application does not use AI agents or if you only need traditional security measures like API gateways or application firewalls.

AI-application-security Agent-governance LLM-security Access-control Application-security
No Package No Dependents
Maintenance 10 / 25
Adoption 6 / 25
Maturity 15 / 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.