Amazon, as per usual at its re:Invent conference, announced a ton of new products and services, including several focused on security. One of them attempts to solve the issue troubling every corporation deploying AI agents: how to have them accomplish business tasks – without suffering a massive data breach because a bot exposed sensitive customer information to the public internet, or hacked another firm because that was the most efficient way to complete a task. Amazon’s answer is a new service called AWS Greenlight. Greenlight, available in public preview, combines policy-based controls and a computer science technique called “automated reasoning” to ensure agents behave as intended – and don’t do things like move money to the wrong account or expose customer data – while still allowing them to accomplish tasks without moment-to-moment oversight, according to AWS execs. “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,” Cami Novelli-Killeen, director of neurosymbolic AI, told The Register during an interview ahead of re:Invent. “We are trying to resolve this tension,” she said. “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.” One key to Greenlight is automated reasoning, which uses mathematical logic to prove, disprove, and analyze statements and system behaviors with mathematical certainty. Developers and product designers already use this technique to determine if hardware design or software systems meet specifications. AWS itself already uses automated reasoning in a capability called S3 Block Public Access, which verifies combinations of network configurations and access control policies to determine if an S3 bucket is open to the public internet, according to Novelli-Killeen. “We use it in a feature called IAM Access Analyzer,” she added. 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,” Novelli-Killeen said. Amazon now intends to use the same technique to ensure agents don’t go rogue. “The idea 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 use natural language to set rules that agents must follow, and the service uses automated reasoning to turn them into deterministic rules. According to AWS, it also “infers rules” based on AWS Context graphs and prior agent behavior, and then translates them into mathematical representations. If you haven’t heard of AWS Context, it’s a service announced over the summer that automatically maps relationships across users’ existing data into a knowledge graph, and provides agentic search so AI agents can access governed data relationships, business rules, and domain knowledge at runtime. Greenlight also pulls in Dogwood, an open source policy language designed for agents and their tools that uses temporal logic to set policies based on an agent’s recent events, not just the current request. “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,” Novelli-Killeen explained. “Think of it as defining a safety envelope for the agent within the universe of things that agents can do.” In addition to Dogwood, Greenlight also uses the Lean programming language, which, we’re told, is another way to mathematically prove agents will behave safely. AWS already uses Lean in multiple products, including Bedrock AgentCore for agentic safety. Greenlight then deploys the organization’s rules to an enforcement engine in Strands Box, an open source agent sandbox that sits outside the agent’s harness so the agents can’t change them. It then checks every agent action with the rules, and blocks any action that would break any rules. “The actual enforcement happens at a tool call,” Marc Brooker, VP and distinguished engineer of Agentic AI, told The Register. “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?” Plus, we’re told, Greenlight improves over time based on how the agent interacts with real-world scenarios, making recommended improvements to the rules to better steer the agent toward intended behavior. In the future, Greenlight will support multi-agent systems and deeper integration with AWS Context. As of today, developers can access Greenlight as a power for Kiro and as a plugin for Claude Code and Codex.®

