AWS Greenlight Gives AI Agents Rules They Can’t Simply Ignore

AWS Greenlight enters preview, giving IT teams a way to enforce business rules on AI agents without relying solely on the models to follow instructions.

Dec 2, 2026
AWS Greenlight Gives AI Agents Rules They Can’t Simply Ignore

AWS Greenlight introduces mathematical verification and external policy enforcement to enterprise AI agent governance. Image: Amazon Web Services (AWS) / re:Invent 2026 keynote

We may earn from vendors via affiliate links or sponsorships. This might affect product placement on our site, but not the content of our reviews. See our Terms of Use for details.

An AI agent might be very good at issuing refunds. That’s not particularly comforting if it’s also very good at issuing refunds it shouldn’t.

On Dec. 1, Amazon Web Services (AWS) introduced AWS Greenlight in preview at re:Invent 2026. The service helps developers turn business requirements into policies, verify them using mathematical logic and enforce them outside the AI model.

A company could let an agent handle refunds without giving it the final say on every transaction. If manager approval is required, an external policy engine could block the request until that condition is met.

When an instruction becomes a rule

Greenlight uses Dogwood, an open-source policy language that extends AWS’s Cedar authorization language. It proposes policies based on business procedures, agent documentation and activity logs. Developers can also describe requirements in plain English and review the resulting rules.

Advertisement

In AWS’s documented refund example, an agent needs manager approval to issue a refund exceeding $500. Greenlight can analyze whether the modeled sequence of tool calls permits the agent to bypass that requirement, accounting for earlier actions within the same session.

Teams can replay past agent activity to see which actions a proposed policy would have blocked. Greenlight can also look for gaps or conflicts that routine testing might miss, although its analysis is not always conclusive.

Once approved, policies must be activated separately through Amazon Bedrock AgentCore Gateway or Strands Box, AWS’s agent sandbox. The company’s deployment guidance explains the differences:

  • AgentCore Gateway: Log-only mode records violations but doesn’t stop them. A refund that breaks company rules could still be processed.
  • Strands Box: Policies take effect on the next run that loads the updated policy file. There is no equivalent log-only option.

Administrators can configure individual gateway policies, but the policy engine must be in enforcement mode to block calls.

Greenlight supplements identity and access management (IAM) rather than replacing it. Like the restrictions on AI agents in Amazon WorkSpaces, its protections depend on how administrators configure the environment.

Advertisement

Even the math has its limits

The math can be right even when the policy is wrong. André Platzer, a professor at the Karlsruhe Institute of Technology, told IEEE Spectrum that errors can arise when translating natural-language requirements into formal logic.

Suppose company policy requires approval for refunds of $500 or more, but the generated rule applies only to amounts above $500. The policy could pass verification while letting a $500 refund slip through.

AWS also notes that AgentCore Gateway rounds monetary amounts to four decimal places, which can affect the enforcement of precise thresholds.

AWS’s documented limitations include requirements that cannot be enforced using the information available to its policy engine. As with AI agent access to Google Workspace, administrators must restrict alternative routes that could let agents bypass configured protections.

According to AWS’s preview announcement, Greenlight is available as a Kiro power and as plugins for Claude Code and Codex. It supports seven AWS regions: Northern Virginia, Ohio, Oregon, Frankfurt, Ireland, Stockholm and Sydney.

Advertisement

AWS has not announced a general availability date, and preview capabilities remain subject to change. Customers pay for supporting resources, including gateways, Amazon CloudWatch Logs and Amazon S3 storage.

Before giving an agent access to real money, try making it break the rules in a test environment. Submit a refund above the approval threshold without manager approval, then repeat the request with valid approval.

With enforcement enabled, the first request should be blocked and the second allowed, provided it meets all other policy requirements. Check both before putting the agent to work.

Thinking about putting AI agents to work on your team? Explore AI courses from The Neuron Academy to build the skills to evaluate where agents can help and where you still need a human in the loop.