Collibra, Databricks Unity Catalog, Alation, Purview — your team has spent years classifying data and defining policy. The moment an AI agent retrieves that data, none of it applies. AutoPIL closes that gap.
AutoPIL sits between your catalog governance and your agent frameworks. Policy flows in from the catalog. Enforcement decisions flow out to the audit log. Agents never need to know governance exists.
| Channel | source_type | Use case |
|---|---|---|
| Python Decorator | sdk | Python microservices, scripts, notebooks |
| Async Decorator | sdk | Async Python agents (FastAPI, async frameworks) |
| MCP Server | mcp | Claude Desktop, any MCP-compatible agent |
| REST API | rest | Any language: Go, Java, Ruby, PHP, .NET |
| ASGI Middleware | api | FastAPI / Starlette apps — HTTP-layer enforcement |
| LangChain | langchain | LangChain agents, chains, and LCEL pipelines |
| LlamaIndex | llamaindex | LlamaIndex query engines and retrievers |
| Gemini | gemini | Google Gemini function-calling agents |
| OpenAI Agents | openai_agents | OpenAI Agents SDK function tools |
| AWS Bedrock | bedrock | Bedrock Agents via boto3 / aioboto3 |
Each request is bound to a session ID and agent role. The session TTL is resolved from the policy YAML, with a global fallback. Concurrent requests never bleed context — async variants use ContextVar for safe isolation.
The policy engine evaluates role, source, sensitivity level, and session age. Sensitivity decay rules tighten the effective ceiling as the session ages — no operator action required. Decision is ALLOW or DENY — no partial access.
Every decision — ALLOW and DENY — is written to the audit log immediately. Event includes role, user, source, decision, policy name, timestamp, and event ID.
After the audit write, alert rules run against the event. Violations trigger configurable alerts via webhook or email delivery — compatible with Slack, PagerDuty, Teams, and any HTTP endpoint.
Every enforcement decision contributes to the PIL Score — a 0–100 governance health index computed over the rolling 30-day window. Scope Integrity, Governance Coverage, Isolation Safety, Source Registration, and Trend. The score, its band, and a 30-day sparkline are visible in the dashboard and queryable via API.
Most tools govern data before agents exist or after they've already run. AutoPIL is the enforcement point in between — at the moment of retrieval, before context is assembled.
| Approach | Governs at | Enforces at retrieval | Framework-agnostic | AutoPIL |
|---|---|---|---|---|
| Data catalog Collibra, Alation, Purview |
Metadata & classification layer | No | No | Yes — extends catalog policy into enforcement |
| IAM / RBAC AWS IAM, Azure RBAC, Okta |
Identity & query access | No | No | Yes — operates after IAM, at context assembly |
| Output filters LLM guardrails, response scanning |
Model response layer | No | Partial | Yes — blocks before data enters context, not after |
| Prompt guards Input sanitization, injection detection |
User input layer | No | Partial | Yes — governs data retrieval, not prompt text |
| Vector DB permissions Pinecone namespaces, Weaviate RBAC |
Single store, at query time | Partial | No | Yes — cross-store, cross-framework, policy-consistent |
| Platform-native governance Databricks Unity Catalog policies |
Data platform query layer | Partial | No | Yes — extends platform policy to any agent framework |
Tell us what catalog you're running. We'll show you exactly how AutoPIL extends it to your agent stack — without reclassification, without rework.