AWS Introduces Greenlight to Draft and Formally Verify Policies for AI Agents
AWS has put Greenlight into preview, a service that drafts agent rules from documents and traces, checks them with automated reasoning, and enforces approved policies outside the agent. By Daniel Dominguez
AWS has launched AWS Greenlight, an automated reasoning service designed to automatically create, verify, and enforce policies for AI agents. This new tool can be integrated as a feature for Kiro and used as a plugin for Claude Code and Codex. Greenlight deploys approved policies to either Amazon Bedrock AgentCore Gateway or Strands Box.
The service addresses the challenge of incorporating rules directly into model prompts, which can often be disregarded. Instead, a developer specifies a rule like "deny any refund over $500" as part of a broader set of rules. Greenlight then drafts policies from procedures, regulations, recorded traces, and unwritten rules. These policies are validated by human review before enforcement.
After approval, Greenlight enforces the policies on the gateway or in the box, allowing the AI agent to continue working even if Greenlight is temporarily unavailable. The policies are written in Dogwood, an open-source language derived from Cedar, incorporating temporal conditions on previous calls within the same session.
Greenlight's automated reasoning process resembles that used in AWS Identity and Access Management (IAM) Access Analyzer, translating the rule set into formal logic. A solver then checks every potential sequence of calls during a session for any that violate the policies. The service can validate policies against the tool schema, replay recorded calls, and perform property checks, which result in either "Verified," "Not Verified," or "Inconclusive" outcomes.
However, some limitations apply, such as treating tool inputs as any value of their type, not reading IAM or a company directory, and assuming any well-typed tool return is possible.
In a practical test, AWS's refund sample policy was verified, but one rule failed due to a limitation in the policy's scope. After adding more specific rules, the checks passed. While most of the testing process was spent on setup rather than Greenlight, the service represents a significant step forward in AI safety and policy enforcement.
Rewritten by urgent.news; may contain errors — check the original.
Source: infoq.com
Read the original at infoq.com →
More from InfoQ on urgent.news
Report a problem with this story
Get the day's news by email. Daily, weekly or monthly. Sign up