2606.26649

Total: 1

#1 Autoformalization of Agent Instructions into Policy-as-Code [PDF] [Copy] [Kimi] [REL]

Authors: Adam Mondl, Matthew Maisel, John H. Brock

Agent safety in high-stakes domains requires formal policy enforcement, but most existing approaches either rely on probabilistic guardrails (fine-tuned classifiers, prompt-based steering) that offer no formal guarantees, or on hand-coded symbolic enforcement that does not scale to the breadth of real policy specifications. We present an autoformalization pipeline that translates agent prompts, MCP tool descriptions, and natural language policy documents into formally verified policies using an LLM-based generator-critic loop. The resulting policies are written in the Cedar Policy Language. On the MedAgentBench benchmark, our autoformalized policies cover substantially more of the source natural-language specification than the hand-coded symbolic enforcement in prior work.

Subjects: Artificial Intelligence , Cryptography and Security

Publish: 2026-06-25 06:23:15 UTC