AWS Greenlight uses automated reasoning to prove AI agent policies
AWS launches Greenlight, a service that mathematically proves the safety of AI agent actions by verifying external policies.
Amazon Web Services (AWS) has launched AWS Greenlight, a new service designed to address the trust deficit preventing enterprises from deploying autonomous AI agents. Announced at the re:Invent conference in Las Vegas, Greenlight is currently in preview as a power for Kiro and a plugin for Claude Code and Codex. The service helps developers write policies governing an agent's tool calls and then mathematically proves that those policies hold under all possible execution paths.
The core mechanism distinguishes Greenlight from traditional guardrails. Instead of asking a second large language model whether an action is allowed—a probabilistic approach known as LLM-as-a-judge—Greenlight uses automated reasoning to provide deterministic control outside the agent itself. Jean-Baptiste Tristan, a senior principal applied scientist at AWS, explains that while the agent is a black box, the policies enforcing its behavior are not. By translating these policies into mathematical logic using the open-source Dogwood language, Greenlight can verify properties such as ensuring a passenger always holds a confirmed ticket before any cancellation occurs.
This approach aims to solve the 'pilot-to-production' stall common in enterprise AI. According to Tristan, many agent projects fail because teams cannot gain sufficient confidence in their safety. Sandboxes isolate execution but do not prove logical correctness across complex scenarios. Greenlight analyzes agent traces from evaluation runs or production incidents to suggest necessary rules. Once approved, it generates formal proofs that these rules prevent specific failures, such as unauthorized privilege escalation or incorrect transaction handling, regardless of the agent's internal state.
While providing strong guarantees for defined properties, Greenlight does not prove that every business outcome is correct or that the agent's reasoning is flawless. It verifies that the enforced boundaries hold against any history of actions, including attempts to circumvent rules. For production environments, AWS recommends layering these controls with other security measures, such as Strands Box sandboxes during development and AgentCore Runtime for tenant isolation, creating what Tristan calls a 'stack of trust in depth.'