What is AWS Greenlight, and how does it verify agent tool calls?
AWS Greenlight, in preview since December 1, 2026, turns business rules into verified policies that AgentCore gateways or Strands Box enforce on tool calls.
Key takeaways
- AWS Greenlight entered preview on December 1, 2026 and runs inside Kiro, Claude Code or Codex.
- It drafts Dogwood policies from your procedures and recorded tool calls, then verifies them with automated reasoning.
- An AgentCore gateway or Strands Box enforces approved policies outside the agent.
- The preview runs in seven AWS Regions, and pricing is not published.
On this page
AWS Greenlight is an AWS service, in preview since December 1, 2026, that turns your business rules into policies for an AI agent's tool calls. It uses automated reasoning to verify the policies before you turn them on [1][2]. The policies are enforced outside the agent, on an Amazon Bedrock AgentCore gateway or in a Strands Box, so the agent cannot change them. A call that breaks a rule is blocked before it runs [7].
What is AWS Greenlight?
AWS Greenlight is a policy builder and checker for agents, and it runs inside your coding agent. The user guide calls the service "AWS Greenlight for Agents" and says it turns business rules into policies that control which tool calls an agent can make [2]. You install it as a power in Kiro or as a plugin in Claude Code or Codex. Then you start by typing "govern my agent" [1].
The idea is to move rules out of the system prompt. AWS's FAQ says a system prompt guides the model but enforces nothing deterministically. Greenlight instead turns the requirements it can enforce into policies, checks them before deployment and enforces them outside the model [6]. Amazon's launch article says the separation is deliberate, because rules inside the reasoning loop could be bypassed or ignored [1].
The policies are written in Dogwood, an open source policy language for AI agents that extends Cedar, the authorization language AWS already uses. A Dogwood policy can depend on earlier calls in the same session, for example "deny a password reset unless the user's identity was verified first" [2].
How does AWS Greenlight work?
Greenlight splits the work into two phases. It writes and checks policies before deployment. Your gateway or box then enforces them on every tool call. Greenlight itself is used only to write and check, so your agent keeps working even if the Greenlight service is unavailable [2].
The guide's example is a refund procedure that needs a manager's approval for any refund over USD 500. Greenlight writes a policy that denies a larger refund until the approval call has happened. It then replays last week's calls to show which refunds the policy would have stopped. Finally, it verifies that no sequence of calls in a session lets such a refund through without that approval [2].
Before you turn a policy set on, Greenlight checks it in up to five ways, depending on your sources [2]:
| Check | What it does |
|---|---|
| Validation | Rejects policies that name a tool or field missing from your tool schema |
| Simulation | Replays your agent's recorded calls and shows what each policy would have denied |
| Analysis | Finds redundant policies, tools no call can reach, and tools any input can reach |
| Property checks | Proves whether something can ever happen, for every possible call |
| Test cases | Writes a passing and a failing session for each history-dependent policy |
The property checks are the part that sets Greenlight apart from ordinary tests. A solver searches every possible sequence of calls in a session for one that breaks a rule. If it finds none, the rule is verified [2]. Each answer is Verified, Verified assuming, Verified not replayed, Holds only for these spellings, Not verified or Inconclusive. A Not verified answer comes with a trace, which is a sequence of calls ending in the forbidden one [4].
Here is the policy the tutorial shows for a help desk agent. It denies reset_password unless verify_identity returned verified: true for the same user within the last 24 hours of the session [3]:
forbid (principal, action == AgentCore::Action::"helpdesk___reset_password", resource is AgentCore::Gateway)
unless temporal {
formerly within 24h AgentCore::Action::"helpdesk___verify_identity"::response{
input.user_name: context.input.user_name, output.verified: true, eventResource: resource }
};What does this mean for teams running AI agents?
For teams, the main change is that a written procedure can become a rule the agent cannot talk its way around. Greenlight also shows which rules it could not enforce. The report gives each rule from your sources a status: In proposal, Not enforced, Not in proposal, Not enforceable or From a dropped source [3]. A rule about what free text does, such as an SQL query, is usually not enforceable. In that case the report suggests a fix, such as giving the tool a read-only database user.
The review steps are built for a person who owns the procedure, not for an automated-reasoning specialist. On the Clarifications page, Greenlight lists conflicts between documents, ambiguous passages and values that only the agent supplies [3]. For the last kind, you choose whether to trust the agent. A receipt number the agent types in can be checked for presence, but not for truth. On the Decisions page, each proposed policy that would deny calls your agent already made appears as a scenario, and you answer "Deny it or allow it?"
Companies named at launch include Delta Air Lines, which plans to use it for travel policies, LoanLogics, which plans to check loan actions against policy, and Salesforce, which is using it to check that Agentforce agents honor business rules [1]. The product page quotes LoanLogics reporting a 95% reduction in time from a guideline change to a production rule. That is a vendor-supplied figure [7].
How do you set up AWS Greenlight?
You need a Mac or Linux computer (Windows is not supported yet), Rust to build the Dogwood CLI, and Kiro CLI, Claude Code or Codex. You also need an AWS profile in one of seven Regions: us-east-1, us-east-2, us-west-2, eu-central-1, eu-west-1, eu-north-1 or ap-southeast-2 [5]. The FAQ adds that your account needs preview access [6]. On a gateway, attach a policy engine, send application logs to CloudWatch Logs, and have your agent send the x-amzn-bedrock-agentcore-policy-session-id header with a new ID for each task [5].
The tutorial estimates about 5 minutes to install and about 10 minutes for the first proposal, plus your review time. The workflow has six steps [3]:
- Agent. Pick the profile, Region and target: AgentCore Gateway, Strands Box, or No Target to write and check policies without deploying them.
- Sources. Choose past tool calls, documents in the project folder, AWS Context, or a mix, and a look-back window from 1 minute to 30 days.
- Clarifications. Settle conflicts, assumptions and values that depend on the agent's word.
- Decisions. Deny or allow each scenario a proposed policy would block.
- Approval. Read the report, ask questions, then type
approve. Approving saves a version but does not turn it on. - Enforcement. On a gateway, start in log only mode, then promote to enforce.
You can question the proposal in plain language before approving it. The tutorial uses prompts like these [3]:
govern my agent
check: can the agent ever issue a refund without a manager's approval?
what happens if the agent refunds $2,000 to order 1234 with no approval?On a gateway, choose "Log only (Recommended)", let the agent work, ask "what would it have denied?", and type promote when the results look right. Type roll back to undo the last change. A Strands Box has no log only mode; Greenlight writes a marked block into the box's policy.dw file, and the box enforces it from the next run that loads the file [3].
Greenlight does not change your credentials or IAM permissions. On a gateway it changes only its own policies, named with a pb_ prefix, and the engine's mode [2]. After enforcement, it can also run two read-only stack checks. One uses IAM Access Analyzer to find role permissions beyond what AgentCore recommends. The other uses Network Access Analyzer to find network paths that bypass the gateway [3].
What are the limits and open questions?
A verified property covers your policies, not your whole system. The analyzer treats each input as any value of its type and assumes a tool can return any value of the right type. It also does not see controls outside the policies, such as IAM or checks inside the tool. A trace therefore shows that your policies do not stop a sequence, not that the sequence will happen [4]. Some checks come back Inconclusive because the analyzer runs under a time limit [4].
There are hard numbers to plan around. Simulation replays calls against at most 40 policies at once. Duplicate and property checks take up to 200, and each policy can be at most 10,000 characters [4]. On an AgentCore gateway, amounts are rounded to 4 decimal places before comparison, so a limit of "more than 500.0" allows 500.00004. The guide suggests writing "500.0 or more" or using a whole-number field in cents [4]. A Strands Box saves call history about once a second, so a crash can lose the latest calls that history-dependent policies rely on [4].
Data handling needs a decision before you use real traffic. Greenlight runs on your coding agent's model, and the coding agent sends what it reads, including recorded tool calls with values such as email addresses and card numbers, to its model provider [5]. As of December 3, 2026, neither the launch article nor the FAQ states pricing for the preview [1][6]. The tutorial says you pay for the AWS resources you use, such as the gateway, CloudWatch Logs and an S3 bucket [3]. Amazon also says support for multi-agent systems is planned, with no date [1].
Frequently asked questions
What is AWS Greenlight?
AWS Greenlight, called AWS Greenlight for Agents in its user guide, is an AWS preview service that turns business rules into policies controlling which tool calls an AI agent can make. It uses automated reasoning to verify those policies before you turn them on.
Where does AWS Greenlight enforce its policies?
An Amazon Bedrock AgentCore gateway's policy engine or a Strands Box enforces the policies, outside the agent. Greenlight only writes and checks them, so the agent keeps working if the Greenlight service is unavailable.
Why not put agent rules in the system prompt instead?
AWS says a system prompt guides the model but does not enforce anything deterministically. Greenlight enforces rules as policies outside the model and reports which requirements it cannot enforce.
Which coding agents and operating systems does AWS Greenlight support?
It installs as a power in Kiro and as a plugin in Claude Code or Codex. It needs a Mac or Linux computer, since Windows is not supported yet.
Does a verified result mean my agent can never break the rule?
No. A verified property covers your policies under stated assumptions, and the analyzer does not see IAM, tool internals or what tools actually return. Some checks also come back Inconclusive.