· AI dev tools

AWS Greenlight, automated reasoning, helps control rogue AI agents

The ability to define a "safety envelope" for an AI agent within the scope of its possible actions is a key feature of AWS Greenlight.


This new service employs automated reasoning alongside other methodologies to precisely delineate the boundaries of what agents are permitted and forbidden from doing, subsequently ensuring adherence to those established guidelines.

During its re:Invent conference, Amazon unveiled a substantial array of new products and services, among which were several centered on security enhancements. One of these offerings specifically targets a pervasive challenge facing every corporation that deploys AI agents: how to enable them to execute necessary business functions without risking a substantial data breach—such as an agent exposing private customer details to the public internet—or compromising another entity by finding a more efficient path to task completion. Amazon’s proposed solution is a service named AWS Greenlight.

According to AWS executives, Greenlight, which is currently in public preview, integrates policy-based controls with a computer science discipline known as "automated reasoning." This combination ensures that agents operate as intended—preventing actions like transferring funds to an incorrect account or revealing customer data—while still allowing them to achieve their objectives without requiring constant, minute-by-minute supervision.

Cami Novelli-Killeen, director of neurosymbolic AI, shared with The Register prior to re:Invent, "When you give an agent access to a lot of tools, you also are increasing your exposure, increasing your risk that the agent might do something wrong." She elaborated on the goal: "We are trying to resolve this tension. Give customers a set of tools that allows them to preserve the autonomy of models, and take full advantage of the highly capable models that are available, while also injecting some determinism into that process."

A cornerstone of Greenlight’s functionality is automated reasoning, a technique that utilizes mathematical logic to establish, refute, and examine statements and system behaviors with absolute mathematical certainty. Developers and product designers currently utilize this method to verify whether software systems or hardware designs meet required specifications. Novelli-Killeen noted that AWS already employs automated reasoning within a feature called S3 Block Public Access, which checks network configuration combinations and access control policies to ascertain if an S3 bucket is accessible to the public internet. Furthermore, she mentioned, "We use it in a feature called IAM Access Analyzer," explaining that this automated reasoning capability "runs through all of the possible combinations of permissions in a set of IAM identities that you've given to access services in AWS, and ensures that a certain identity does not have access to certain resources."

Amazon now plans to apply this same rigorous technique to prevent agents from behaving erratically. The objective, as stated, is "to bring some of that determinism and the mathematical rigor that we use in other parts of our infrastructure to the agentic AI stack."

With Greenlight, organizations articulate their rules using plain language, and the service then employs automated reasoning to convert these into concrete, deterministic rules. Additionally, AWS states that the system "infers rules" by referencing AWS Context graphs and previous agent conduct, subsequently transforming these into mathematical representations. For those unfamiliar with AWS Context, it is a service introduced during the summer that automatically charts relationships across a user's existing data into a knowledge graph, thereby enabling agentic search so that AI agents can access governed data relationships, domain knowledge, and business rules dynamically.

Greenlight also incorporates Dogwood, an open-source policy language specifically designed for agents and their associated tools. Dogwood leverages temporal logic to establish policies based not only on the immediate request but also on an agent's sequence of recent activities. Novelli-Killeen illustrated this by saying, "You can say, for example, if you access this database that has confidential customer data, you cannot access the internet after that, so you can create rules that sequence events."

Beyond Dogwood, Greenlight also utilizes the Lean programming language, which is reported to be another means of mathematically guaranteeing safe agent operation. AWS already incorporates Lean into numerous offerings, including Bedrock AgentCore for safety in agentic workflows. The organization's defined rules are then deployed into an enforcement mechanism residing in Strands Box, an open-source agent sandbox situated externally to the agent's operational framework, thereby preventing the agents from altering these rules. This engine scrutinizes every action taken by an agent against the established policies, halting any movement that violates a rule.

Marc Brooker, VP and distinguished engineer of Agentic AI, informed The Register that "The actual enforcement happens at a tool call." He detailed the process: "We use a gateway that has that set of rules you define for your agent, and when the agent tries to call a tool, we intercept that call and run that against a set of policies to verify, based on what this agent has already done, is this run what is allowed going forward?" Furthermore, it has been communicated that Greenlight evolves over time by learning from how the agent engages with real-world scenarios, suggesting refinements to the rules to guide the agent toward its intended operation more effectively. Looking ahead, Greenlight is slated to provide support for multi-agent systems and deeper integration with AWS Context. Currently, developers can utilize Greenlight as a power for Kiro, or as a plugin for Claude Code and Codex.®

Why it matters

This tooling addresses a critical developer concern: ensuring autonomous AI agents do not cause data breaches or unauthorized actions. For developers building agentic workflows, Greenlight offers a mechanism to inject mathematical rigor and safety constraints into complex AI systems.

Earlier coverage

Related coverage

Also worth reading

  1. next.js 16.6.0-canary.4 released, adding Go syntax highlighting and Node.js 24 unit tests
  2. TypeScript 7.1-rc released for developers to download on npm
  3. next.js 16.6.0-canary.2 released, adds file uploads, updates docs, and more
  4. next.js 16.6.0-canary.1 released with 405 for forbidden Route Handler methods
  5. Angular 21.2.27 released, fixes component template capture during compile