AWS is putting a mathematical enforcement layer between AI agents and the tools they use, aiming to make autonomous actions more predictable without relying solely on prompts or human approval at every step. The service, AWS Greenlight, is in preview and uses automated reasoning to check whether proposed agent policies hold across possible sequences of tool calls.
Companies increasingly want agents to carry out tasks that involve sensitive information or consequential decisions, but an agent may interpret instructions unpredictably or attempt actions its developers did not anticipate. Adding people to approve each step can reduce risk, but also slows work. AWS says Greenlight is designed to enforce rules outside an agent’s reasoning process, so the agent cannot alter or disregard those rules.
Rules enforced beyond the agent’s control
With Greenlight, teams describe the boundaries an agent should follow in natural language. The service uses a large language model to draft policies from that direction and from company material such as procedures, runbooks, security standards and business data. Automated reasoning then translates the policies into deterministic checks. AWS says customers do not need specialist knowledge of the underlying mathematical methods to begin suggesting rules.
Those checks are applied through a gateway to each tool call. Greenlight follows a deny-by-default approach: an agent is not permitted to use a tool or connect to a network destination unless it has been explicitly approved. The policy layer is intended to remain separate from the agent’s own reasoning loop, while evaluating whether its requested actions comply with the rules.
AWS says the service can assess possible sequences of actions rather than only checking a handful of test cases selected by developers. The rules may also account for what has already happened during a task, and identify combinations of permissions that could create risk even when each permission appears acceptable on its own. The distinction is important: agents generate probabilistic responses, but tool calls are structured requests with fields and values that can be checked against formal rules.
Greenlight is available as a power for Kiro and as a plugin for Claude Code and Codex. It can also be used with agents behind an Amazon Bedrock AgentCore gateway or in an open-source agent sandbox. AWS says teams can prompt the service to govern an agent and receive suggested rules. After deployment, the system may propose policy adjustments based on new situations; teams can review and approve those changes.
Formal checks still depend on sound policies
Automated reasoning is not new to AWS. The company says it has used the technique in production for more than a decade to analyze security, networking and cryptography systems. It also underpins services including IAM Access Analyzer and S3 Block Public Access. Greenlight applies that approach to the rules governing agent actions, rather than treating an agent’s own assurances as sufficient protection.
Frank Dickson, principal analyst at Dickson Research, said the service’s distinguishing feature is checking the rules before they are applied to an agent. He also noted that external policy enforcement already exists: Amazon Bedrock AgentCore includes Policy, which uses AWS’s Cedar policy language, while Microsoft released its open-source Agent Governance Toolkit in April. In Dickson’s view, Greenlight’s additional emphasis is on analyzing action sequences, rules that depend on task history and risky combinations of permissions.
Still, a proof can establish only that a stated rule holds under the assumptions used to assess it; it cannot establish that the rule captures the right business intent. Company policies may be incomplete, ambiguous or understood differently across legal, security, finance and operations teams. A precise limit on a refund can be enforced, for example, while an instruction to use good judgment requires interpretation. The quality of the outcome therefore depends on people defining and validating policies carefully.
Preview leaves important operational questions
Shashi Bellamkonda, principal research director at Infotech, said that human review and conventional testing can miss actions no one thought to examine. A separate checkpoint could still block an agent that has been misled by an instruction, he said, provided the relevant action passes through that checkpoint. That qualification matters: protections depend on the gateway covering the action and on connected tools accurately reporting what they did.
Dickson likewise cautioned that the analysis relies on assumptions about tools and the specific runtime and gateway being checked. A mistaken identity result, an unmodeled destination or a value written in an unanticipated form can fall outside the proof. AWS documents limitations, including cases where a verdict may be inconclusive; its check does not establish that an agent cannot reach a different gateway. Bellamkonda also raised the unanswered question of how Greenlight handles an action for which no policy exists: blocking it, allowing it or escalating it for human review.
AWS has said that support for multi-agent systems and deeper integration with its AWS Context offering are planned, not yet available. The company has named Accenture, PwC, Salesforce and ServiceNow as organizations planning to use or exploring the service. With Greenlight still in preview, its performance in messy operational workflows and the terms for moving policies to another provider remain open questions. For businesses, the approach offers a way to make agent permissions more systematic, but dependable governance will still require well-defined rules, appropriate coverage and scrutiny of the assumptions behind each check.