
InfoQ · 3 min readBuilding with LLMs
AWS Introduces Greenlight to Draft and Formally Verify Policies for AI Agents
AWS Greenlight automatically drafts, formally verifies, and enforces policies for AI agent tool calls, separating rule enforcement from model prompts. It uses an LLM to generate rules in Dogwood, then applies automated reasoning to check all possible call sequences before deployment, reducing reliance on fragile prompt engineering.
- Dogwood extends Cedar with temporal conditions for session‑wide policy checks
- Greenlight validates policies via formal logic solving, but treats inputs as any typed value
- Enforcement occurs outside the model on AgentCore Gateway or Strands Box, requiring manual approval