AI dev tools —

AWS Greenlight launches automated reasoning service to prove AI agent safety

The deployment of AWS Greenlight, a novel service employing automated reasoning, signifies a significant step toward providing assurance regarding the capabilities and limitations of artificial…

AWS Greenlight launches automated reasoning service to prove AI agent safety

The deployment of AWS Greenlight, a novel service employing automated reasoning, signifies a significant step toward providing assurance regarding the capabilities and limitations of artificial intelligence agents. This offering addresses a major hurdle for enterprises whose pilot programs involving agents are currently stalled due to insufficient trust in their operational safety.

Announced during AWS's re:Invent conference in Las Vegas, Greenlight is currently available in a preview capacity, functioning as a power source for Kiro and as a plugin for Claude Code and Codex. Its function involves assisting developers in defining the governance policies for an agent's utilization of tools; however, its most critical capability is the mathematical validation that these defined policies are, in fact, upheld. Market participants such as Salesforce, ServiceNow, Delta Air Lines, and Accenture have indicated their interest in leveraging this new capability.

Jean-Baptiste Tristan, a senior principal applied scientist at AWS, informed The New Stack that moving an agent from a pilot phase to full deployment requires a substantial duration, and this transition is frequently associated with a relatively high rate of failure. He elaborated that the core difficulty lies in achieving sufficient conviction that an agent is secure enough for deployment. Organizations require clear knowledge regarding the resources an agent can access and the precise conditions under which it is permitted to finalize a transaction. While sandboxes offer some assistance, Tristan characterized them as merely "one piece of the puzzle, an important one."

In a demonstration, an airline's AI agent attempted to relocate a group reservation to an alternative flight. Although the agent failed to generate a new ticket for one of the two passengers, it proceeded to cancel the original ticket for that passenger. This occurred because the agent adhered to a guideline stipulating that the original ticket must be canceled once a replacement is issued, yet it overlooked the fact that this was a group booking. Tristan noted that if policies governing the agent are not deterministic, the agent risks being confidently incorrect about its actions, leading to undesirable system states.

Greenlight initiates its analysis using the agent's operational traces, which can originate from evaluation runs or, if an issue has already manifested, from live production environments. It can also process information derived from developer documentation or direct conversation with the developer. The objective, as stated by Tristan, is to aid customers in determining "what is it that they could or should prove about their system." During the demonstration, Greenlight suggested the requirement that every passenger must consistently possess a confirmed ticket. Upon developer approval of this suggestion, the service generates a novel set of policies, verifies that this property is maintained under those policies, and enables one-click deployment of the agent. Subsequently, Greenlight continuously monitors the agent's behavior post-deployment, proposing new rules for the team's ratification.

Automated reasoning, which is the foundation of this technology, builds upon a major breakthrough in mathematics: the formalization of what constitutes a proof of a mathematical assertion. This advancement allows software to either automatically generate proofs or verify the validity of existing ones. Tristan explained that instead of depending solely on testing—which involves supplying a specific set of inputs and anticipating the resulting output—automated reasoning permits the specification of a desired property using mathematical language, allowing one to then prove the code satisfies that property.

AWS has utilized this technique internally within its own services for several years, notably in Zelkova, which translates Identity and Access Management policies into logical formulas and subjects them to solver checks. The volume of these solver calls escalated from approximately one thousand per day to one billion within five years. Furthermore, in 2025, AWS integrated this methodology into generative AI via Automated Reasoning checks within Bedrock Guardrails, which validate model outputs against organizational mandates.

Tristan clarified that the focus is on "Proving the rules, not the agent," because the agent itself can be considered a "black box" whose exact internal operations are not fully known. He stressed that numerous policies exist externally to the agent, governing its conduct, and Greenlight is designed to prove the characteristics of these policies. A team possessing thousands of policies can query whether its agent could ever interact with a transactional tool, receiving a definitive answer that remains valid "for every possible action that the agent might take, so for any history," even when the agent is actively attempting to circumvent the established rules.

The policies themselves are authored in Dogwood, the open-source policy language released by AWS in August, which enhances Cedar by incorporating rules that account for prior agent actions. Greenlight converts these into mathematical logic and presents them to automated provers. While AgentCore Policy can already identify rules that are either excessively permissive or overly restrictive, Greenlight advances this by proving the validity of business properties, such as the passenger rule, and by generating policies directly from the agent's execution traces. Additionally, Greenlight avoids relying on a secondary model to adjudicate whether an action is permissible, circumventing the LLM-as-a-judge paradigm common in guardrail tools, including Kiro's "Approve for me" feature. Tristan asserted, "What we do is we provide deterministic control that lives outside of the agent, so that it's properly out of the reach of the agent." For production environments, he advocates a layered control strategy, commencing with AWS's open-source Strands Box sandbox during development, followed by AgentCore Runtime for tenant isolation and identity assignment, encased within a VPC, and restricting tool access solely through the AgentCore Gateway. Tristan termed this approach "a stack of trust in depth."

Regarding the associated trade-offs, Tristan acknowledged that checking every action introduces some latency, which he described as "not negligible," yet this delay is minor when contrasted with the time an agent dedicates to its own internal reasoning. He suggested that the primary effort resides in the creation of the policy set. The most challenging aspect of developing Greenlight, Tristan mentioned, was not the formal methods themselves, but rather anticipating the specific requirements customers would possess in the six-to-twelve-month timeframe. Once AWS established the pertinent questions, the mathematical execution was described as "the fun part."

The development of tools like Greenlight reflects a broader industry movement among platform providers to introduce verifiable guarantees around increasingly complex and autonomous software components. This focus on provable correctness is essential as market participants begin to delegate more sophisticated operational tasks to AI agents.

Why it matters

For operators deploying AI agents, trust and safety are critical roadblocks to production. Greenlight addresses this by mathematically verifying that agent control policies hold under all possible conditions. This offers a new layer of deterministic control outside the agent's black box.

ai-devtoolscloud

Related coverage

Elsewhere in this edition