AWS Previews Greenlight to Verify and Enforce AI Agent Rules With Automated Reasoning
Suppose an AI agent receives a refund request, reviews the order, and calculates a refund. If refunds over a certain amount require a manager's approval, even a correctly calculated refund still needs approval.
On December 2, 2026, Amazon Web Services (AWS) announced AWS Greenlight, a service that uses automated reasoning to govern AI agent behavior.
AWS says an agent may depart from rules embedded in its reasoning if it prioritizes finishing the job. Greenlight enforces rules outside the agent. Tool calls that pass through the enforcement mechanism are blocked before execution if they violate a rule.
The initial setup allows only preapproved tools and network access. An agent assigned to process refunds can therefore be designed to work within a defined set of actions.
The separation lets AI decide what to do next while leaving the decision about whether it may proceed to a separate system. AI can assess the merits of a refund while a manager retains approval authority.
From natural language to rules that can be verified mathematically
Greenlight uses a large language model (LLM) to draft rules from business procedures, security standards, and operations manuals. It can also use past tool activity and information from AWS Context.
The generated rules are written in Dogwood, an open-source language for AI agents that extends Cedar, the language AWS uses for authorization. Dogwood can make permission for an action depend on previous actions.
For refunds requiring a manager's approval, for example, a rule accounts for both the refund tool and the approval tool. If the refund exceeds a threshold, the rule can require that the approval tool already have been called in the same session before allowing the refund.
AWS's technical documentation describes how to replay past activity to see which actions a new rule would have blocked. Greenlight also checks for names absent from tool or input definitions and rules that are redundant.
Automated reasoning represents the rules in formal logic and checks mathematically whether they allow combinations of actions that violate the specified conditions within a session. For rules that depend on previous actions, tests can also use sequences that satisfy and violate the conditions.
Even if all past refunds were handled correctly, future refunds could still go wrong. Automated reasoning can verify whether the specified conditions hold for combinations of actions that haven't been observed before.
AWS has used automated reasoning in IAM Access Analyzer and S3 Block Public Access. Technology used to verify combinations of permissions and settings now also applies to the order in which AI agents act and the conditions for allowing those actions.
Greenlight verifies rules, and the runtime enforces them
Once a reviewer approves the proposed rules and confirms deployment, Greenlight deploys them to Amazon Bedrock AgentCore Gateway or Strands Box.
Greenlight drafts and verifies the rules, while the deployment target makes runtime decisions. AWS documentation says agents can continue running even when the Greenlight service is unavailable.
AgentCore Gateway has a mode that blocks actions violating a rule and a mode that logs actions that would have been blocked. Teams can collect logs while assessing a new rule and enable enforcement when ready.
Strands Box is an open-source sandbox that uses OS-level isolation to define what an agent can access. According to the Strands Box technical explainer, actions within that boundary are evaluated when they pass through the rule enforcement mechanism.
The Greenlight preview is available as a Kiro extension and as plugins for Claude Code and Codex. After deployment, it can suggest improvements from agent activity logs, with human approval required before updating rules.
How far does verification go?
AWS's documentation on limitations describes where the automated reasoning results apply.
The analyzer uses the rules, tool specifications, and how the runtime records actions. It may confirm that a condition holds or return a result conditional on a specific tool behaving as expected. If a condition fails, it shows an action sequence the current rules would allow. Whether those actions can actually occur depends on tool behavior and other access controls. The analysis has a time limit and can return an inconclusive result.
The refund example also depends on assumptions behind the proof. A proof can establish that the approval tool is called before a refund, while the tool itself still has to check that the person approving it is a manager. The rules and the tool implementation both need to reflect what the business requires for approval.
The analyzer assumes the action history is empty at the start of a session. It excludes actions logged before deployment or under earlier rules, and actions outside the target runtime. Strands Box saves activity in batches, so recent unsaved events can be lost during an abnormal exit or shutdown. That can affect rules that rely on action history, such as those that cap the number of operations.
In Strands Box, rules are evaluated for actions that pass through the enforcement mechanism. Direct file access that the runtime already allows is governed by OS isolation and may be absent from the rule evaluation history.
To rely on mathematically verified rules in practice, the rules must reflect business intent and cover the relevant actions. Understanding a verification result helps identify which conditions the system design must satisfy.
People design the agent's permissions
In its December 2 announcement, AWS said Salesforce uses Greenlight to verify mathematically that Agentforce agents follow important business rules. It said Datadog is working on an integration to enforce controls such as limits on cumulative AI model spending.
AWS Greenlight is in preview. AWS's December 1 U.S. announcement listed Northern Virginia, Ohio, Oregon, Frankfurt, Ireland, Stockholm, and Sydney as supported Regions. Tokyo was absent from the launch list. The preview requires Mac or Linux, and AWS's setup documentation says Windows is unsupported.
The information provided to generate rules also matters. AWS's data handling documentation says selected source material and past actions displayed by Greenlight are also sent to the model provider used by the coding agent. Free-text fields in action records are replaced in the displayed data, but identifiers such as order numbers and email addresses are sent as recorded. AWS advises removing information that cannot be shared externally before using the records.
Delegating work to AI saves less time if a person must approve each intermediate step. If AI can make decisions within allowed boundaries while necessary approvals remain in place, people can spend more time designing the permissions they delegate to AI and less time monitoring each action.
If refunds can be delegated safely under the rules, the people who set those rules no longer have to attend to every refund. Automated reasoning could make that kind of autonomy possible by improving how work is delegated.
KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.
