A purchasing agent prepares a $1,250 order for replacement laptops. Company policy requires a manager to approve any purchase above $1,000. Before accepting the order, the purchasing system needs evidence that a manager approved that specific transaction, including its amount.
AWS introduced AWS Greenlight in preview on December 1, 2026, at re:Invent. The service helps teams turn business requirements into rules that can be enforced before an AI agent calls a tool. An agent can still put together the order on its own. Submitting it depends on satisfying the purchasing rules configured by the company. AWS preview announcement
From a written policy to a check on an action
Greenlight can use selected documents and records of an agent’s previous tool calls to draft policies in Dogwood, an open-source language for expressing what an agent is allowed to do. If two procedures specify different approval thresholds, the team decides which requirement to use. It also reviews the resulting rules before deployment.
AWS uses automated reasoning to analyze those rules. The service expresses them in formal logic and searches for sequences of tool calls that would allow a prohibited outcome. It can also replay recorded calls to show how the new rules would have affected work the agent already did. One check covers possible sequences under the policy and its assumptions. The other shows the effect on observed behavior. AWS Greenlight setup guide
Once the team approves and activates a policy, Amazon Bedrock AgentCore Gateway or Strands Box enforces it. The model still proposes the tool call. The gateway or sandbox evaluates that call against the active rules and can block it before the tool runs. The same call under the same conditions gets the same policy decision. AWS Greenlight FAQ
What a purchase approval would look like
Say the purchasing agent has one tool to fetch approvals from the purchasing system and another to submit orders. A policy could allow an order above $1,000 only if a previous tool call returned a manager’s approval for the same order, supplier and amount. The following examples assume that all other purchasing checks pass.
| Proposed order | Evidence available to the policy | Result under this rule |
|---|---|---|
| $850 | No approval on record | Can proceed below the threshold |
| $1,250 | Purchasing system confirms approval for that order, supplier and amount | Can proceed with a matching approval |
| $1,350 | Purchasing system confirms approval for the same order and supplier at $1,250 | Blocked until the revised amount is approved |
The quality of that approval signal matters. An agent can fill in an approval field by itself. A trustworthy check needs the purchasing system to provide the approval, or the order tool to validate it independently. AWS’s documentation distinguishes between checks it can verify and checks that depend on assumptions about how a tool behaves. Some checks can also return an inconclusive result. AWS Greenlight limitations
An approval threshold also needs to cover every route the agent can use to submit the order. The gateway can enforce rules on the calls it receives. The purchasing system’s own access controls still determine who can place an order through other routes. DemystIA’s guide to permissions and approvals for AI agents
What teams can try in the preview
Developers can use Greenlight from Kiro, Claude Code or Codex with an AWS account that has preview access in a supported region. AWS lists Frankfurt, Ireland and Stockholm among the supported European regions. Teams can also write and check a policy against a description of their agent’s tools before choosing a deployment target. AWS preview announcement · AWS Greenlight FAQ
An AgentCore gateway can run policies in log-only mode, which records the calls they would deny. A purchasing team could use that mode to see whether routine orders still go through as expected before switching on enforcement. A practical measure of the pilot is how many routine orders the agent can handle while the cases that need a manager still reach one. AWS Greenlight setup guide
