Prose2Policy (P2P): A Practical LLM Pipeline for Translating Natural-Language Access Policies into Executable Rego
arXiv cs.AI / 3/18/2026
📰 NewsDeveloper Stack & InfrastructureTools & Practical UsageModels & Research
Key Points
- Prose2Policy (P2P) is an LLM-based tool that translates natural-language access control policies into executable Rego for Open Policy Agent.
- It provides a modular end-to-end pipeline including policy detection, component extraction, schema validation, linting, compilation, and automatic test generation and execution.
- On the ACRE dataset, it achieved a 95.3% compile rate for accepted policies, with automated testing achieving an 82.2% positive-test pass rate and a 98.9% negative-test pass rate.
- The approach targets Zero Trust and compliance-driven environments, prioritizing deployment reliability and auditability of policy-as-code.
Related Articles
We Scanned 11,529 MCP Servers for EU AI Act Compliance
Dev.to
The Complete Guide to AI Prompts for Content Creators
Dev.to
Automating the Chase: AI for Festival Vendor Compliance
Dev.to
From Piles to Protocol: AI for Vendor Compliance at Scale
Dev.to
MCP Skills vs MCP Tools: The Right Way to Configure Your Server
Dev.to