AWS has put Greenlight into preview, giving organisations a way to check what an AI agent tries to do against enforceable rules. Amazon's 1 December announcement describes an automated reasoning service that helps teams translate business policies into rules, then places the enforcement mechanism outside the agent's own decision loop. The release addresses a common deployment problem: an agent may be able to handle a task, while the organisation still needs a reliable way to restrict its actions.

For a software team, an approval limit or a rule about customer data is familiar material. The challenge is that a language model can read the rule and still respond differently to similar situations. AWS wants teams to express the policy in a form a separate component can evaluate consistently at the point an agent requests an action.

What the policy checks actually cover

Greenlight can help draft rules from written procedures and past agent behaviour. AWS says the service translates the rules into a formal representation and can analyse how they work together before deployment. It deploys the rules to Strands Box, the open-source sandbox AWS identifies as the enforcement layer. An action that violates a deployed rule is blocked there.

Imagine a support agent that can propose credits for a delayed shipment. The organisation might allow routine credits up to a defined amount and require a human reviewer for a larger one. The relevant variables could include the order value, the credits already issued and the action being requested. Once those variables and the rule are defined, the decision about whether to let a covered action proceed can be evaluated consistently even when the conversation varies.

The result depends on the policy and the information the enforcement layer receives. A check on single transactions behaves differently from a check against a cumulative amount. A rule that relies on a customer's classification can only use the classification available at the point of decision. Precision about the rule's inputs and the actions within its scope is therefore as valuable as precision in the rule itself.

Why automated reasoning and testing both matter

Automated reasoning is useful because it can examine properties of the formal rules across combinations that a team might overlook in a set of examples. A team can ask whether two requirements leave an impossible choice or whether an action that should be restricted can satisfy the rules it has written. One reason AWS draws attention to the approach is its use of formal methods in other areas of cloud services, including the analysis of AWS access policies.

Testing answers questions around the rules as well. It can show whether a tool provides the necessary information, whether blocked actions fail in a way people understand, and whether a workflow sends the right explanation to a reviewer. Reviewing the decisions can also reveal that a technically correct rule slows down a process because it sends too many situations for approval. These are questions about how an enforced policy works in a business.

Greenlight can observe agent behaviour and recommend changes. AWS says teams can compare and approve the proposed rules. That gives an operations team a way to respond when a rule is too broad or a workflow starts encountering exceptions it rarely saw before. Rule ownership matters here. Payroll, travel and customer service can each have rules that look similar on paper, yet fall under different managers and approval processes.

A preview that starts with a bounded workflow

AWS says developers can try Greenlight through Kiro, Claude Code and Codex integrations. The company also describes interest from organisations in travel, lending, enterprise software and observability. In a preview, a suitable starting point is a workflow with clearly defined actions and deliberate exceptions. A narrow approval process can reveal whether people are comfortable with the proposed rules, whether the runtime sees the information it needs, and whether reviewers can tell why a request was held.

An agent whose only output is a draft may benefit from a different kind of control from an agent that can change an account or place an order. The work is to establish which effects are possible and which should pass through the policy check. An organisation that grants an agent access to several systems should consider whether all the consequential actions go through the intended control.

The business case comes from reducing the cost of oversight without losing a clear route for exceptional cases. If routine work can proceed within an approved policy, reviewers have more time for requests where context and judgement matter. Greenlight's preview puts a formal policy tool and a runtime enforcement point in front of teams that are trying to make that division work. Its value depends on the scope they choose, the quality of the rules they accept and the evidence they keep about how those rules behave after deployment.