
AWS Greenlight Explained: AI Agent Governance, Automated Reasoning and Kiro Integration
How AWS Greenlight turns business rules into verified, enforceable policies for autonomous AI agents.
Introduction
AI coding assistants and agent frameworks have made it easier to build applications that can reason, call tools and complete multi-step tasks. We can now create agents that retrieve customer information, update records, process transactions and interact with enterprise systems.
However, as agents become more autonomous, another question becomes important: how do we ensure that an agent follows the business rules and security requirements governing those actions?
A system prompt can instruct an agent to follow a particular procedure. For example, an agent might be told to verify a customer's identity before processing a refund. But instructions in a prompt alone cannot guarantee that the agent will always follow that procedure. The agent might skip a step, interpret an instruction differently or take an unexpected sequence of actions.
This is the problem AWS is addressing with AWS Greenlight, announced in Preview at AWS re:Invent on December 1, 2026.
Greenlight introduces automated reasoning into agent governance. It helps translate business procedures and operational rules into policies, verifies those policies and deploys them to the agent's execution environment, where actions can be checked before they are performed.
AWS has used automated reasoning for more than a decade to check the correctness of critical systems, including IAM and VPC. With Greenlight, AWS is applying this approach to autonomous agents.
1. What problem does AWS Greenlight solve?
Consider an AI agent built to handle customer support requests.
You give it access to
- Customer account information.
- Order management APIs.
- Refund APIs.
- Customer communication tools.
You instruct the agent
"Process customer refunds, but any refund above $500 requires manager approval."
The problem is that a system prompt provides instructions to the agent; it does not independently control whether a tool invocation is allowed.
For example, the agent might
- Retrieve the customer order.
- Check refund eligibility.
- Call the refund API directly.
- Skip the manager approval step.
The problem becomes more challenging when agents have access to multiple tools. Each tool might have legitimate permissions when considered independently, but a particular combination or sequence of actions could violate a business requirement.
For example, the agent may have permission to retrieve customer orders and permission to initiate refunds. Those permissions alone do not ensure that the required manager approval happens before a refund is processed.
This is where Greenlight comes in. It converts business rules into policies and verifies that the agent cannot execute prohibited sequences of tool calls.
For the refund example, a policy could require the agent to obtain manager approval before processing a refund above the specified threshold. Greenlight can also examine previous agent execution traces to identify actions that would have violated the proposed policy.
The key idea: The agent can decide how to perform a task, but Greenlight-controlled policies determine which actions it is allowed to execute and under what conditions.
In a traditional application, developers define the execution sequence in application code or workflow definitions. The application follows that predefined path.
With an AI agent, the developer provides the available tools, instructions and objectives. The agent determines which tools to invoke and how to proceed based on the task and context.
For our refund example, the agent has access to

The instruction might be "For refunds above $500, obtain manager approval before processing the refund."
The agent could follow this instruction correctly in many scenarios. But the system prompt itself does not intercept or prevent a direct invocation ofprocess_refund.
Even if we test the agent with 50 different scenarios, we have not necessarily covered every possible sequence of tool calls.
This is the new challenge with agentic applications how do we enforce business rules independently of the agent's decisions?
The evolution of agent policy governance in AWS
Another important part of understanding Greenlight is that AWS had already introduced agent-governance capabilities before December 2026.

Dogwood and AgentCore temporal policies are particularly relevant.
Traditional authorization policies generally evaluate the current request. Temporal policies can also consider what happened earlier in the same agent session.
For example:
- Did the agent obtain approval before initiating a transaction?
- Did a test run successfully before the coding agent pushed its changes?
- Was the same transaction approved, rather than a different transaction?
- Has the agent exceeded a permitted number of operations within a specified period?
These capabilities were already possible through Dogwood and AgentCore's policy engine.
So, what does Greenlight add?
Greenlight makes the policy-governance process more accessible and automates several activities that developers would otherwise need to perform themselves.
Without Greenlight, a team could build a solution using existing policy engines and Dogwood. However, the team would need to identify the business requirements, translate them into policy definitions, validate the schemas, develop test scenarios, analyse policy behaviour and manage deployment.
Greenlight brings these activities together through a coding-agent workflow.
It can
- Read existing business procedures and security documentation.
- Learn from previously recorded agent tool calls.
- Propose policies based on documented and previously undocumented requirements.
- Identify gaps, conflicts and potentially unintended combinations of permissions.
- Simulate previous agent execution traces against the proposed rules.
- Use automated reasoning to check whether prohibited action sequences are possible under the defined policy model.
- Generate positive and negative test sessions for temporal policies.
- Present the results for human review and approval.
- Deploy approved policies to AgentCore Gateway or Strands Box.
AWS also describes starting agents from a safe default configuration, with only the tools and network access that developers approve. As an agent takes on additional tools and data, Greenlight can propose updated rules based on its latest execution traces.
The real contribution of Greenlight is automating policy discovery, generation and verification, rather than introducing business-rule enforcement for the first time.
3. What is AWS Greenlight? Is it a new AWS service or a developer tool?
AWS Greenlight is a new automated reasoning service for AI agents, currently available in Preview under AWS Service Terms.
However, its delivery model is different from conventional AWS services.
It is distributed as
- A Power for Kiro.
- A plugin for Claude Code.
- A plugin for OpenAI Codex.
Developers access Greenlight through their coding agents rather than starting from a conventional service-management console.
Why can't I find AWS Greenlight in the AWS Management Console?
This was one of the first things I wanted to understand while exploring the announcement.
The current AWS Getting Started Guide describes a developer-oriented workflow. Greenlight is installed locally and integrated with the coding agent. Its local scripts and browser-based pages help developers review the proposed policies and make decisions.
The browser pages are part of this local workflow. The AWS Greenlight service is called when automated reasoning checks are required.
The AWS documentation explicitly states that Greenlight runs no server and that its pages open from files on the developer's computer. The current documentation does not describe a conventional, console-first Greenlight management experience.
**Another important detail is how Greenlight uses AI. **
The coding agent's configured model helps interpret the requirements and draft proposed policies. The AWS Greenlight service provides the automated reasoning capability to check the policies.
This brings together two different capabilities: the flexibility of an LLM to understand business requirements and the formal analysis needed to check whether the resulting policies meet defined properties.
4. How does AWS Greenlight work?
At a high level, Greenlight follows four stages.

There are a few capabilities worth understanding.
Start with a safe default
Greenlight supports starting with a restricted configuration in which the agent only has access to approved tools and network destinations.
This gives developers a way to expand the agent's capabilities deliberately rather than assuming every available tool should be accessible.
Discover existing business rules
Business rules are rarely documented in one place. They may be spread across standard operating procedures, security documents, organisational knowledge and the way an agent has been operating.
Greenlight can analyse these sources, including previous agent execution traces, and recommend policies based on the information it finds.
It can also infer proposed rules from how the agent has previously used its tools. These are suggestions, not automatically approved business requirements.
Resolve conflicting requirements
Business documents are not always consistent.
For example, one procedure might require manager approval within the same support ticket, while another might specify approval within the previous 24 hours.
Greenlight identifies conflicting or incomplete requirements and asks the developer to resolve them.
Verify and enforce
Once the policies are generated, automated reasoning checks them. Developers review and approve the policy set before it is deployed.
The approved policies are then enforced outside the agent's own reasoning process.
An important distinction is that Greenlight does not simply ask another LLM whether an action is safe. It uses automated reasoning to analyse policy rules and the possible sequences of tool calls permitted by those rules.
5. How does automated reasoning verify policies?
This part is the most interesting technical aspect of Greenlight.
In traditional testing, developers define test cases based on expected application behaviour. They execute the tests and validate whether the application produces the expected results.
For an agent, the number of possible execution paths can be considerably larger. An agent may select different tools, provide different inputs and execute operations in different sequences depending on the task and context. **i am relating something similarto leetcode problem test case genration. **
Testing a few expected scenarios does not establish that the agent will always follow the required business rules.
Greenlight checks proposed policies in up to five ways, depending on the available sources and policy definitions.
The five policy verification checks

Let us understand test cases with the refund example
system prompt - An agent must not process a refund above $500 unless manager approval has been recorded for the same transaction.
The agent has four tools
-
get_order_details
-
check_refund_eligibility
-
request_manager_approval
-
process_refund
Greenlight generates policies that enforce the required sequence of operations.
For a policy that depends on previous tool calls, it creates two example sessions to check the expected behaviour.
Test case 1: Valid sequence – Refund should be allowed
- Retrieve order details.
- Check refund eligibility.
- Request manager approval.
- Approval response: approved = true.
- Process the same refund transaction.
Test case 2: Invalid sequence – Refund should be denied
- Retrieve order details.
- Check refund eligibility.
- Attempt to process the refund.
- No manager approval exists for this transaction.
Greenlight checks whether the proposed policy allows the first sequence and denies the second.
This is important because a policy could be syntactically valid but still express the business requirement incorrectly. Checking both the permitted and prohibited scenarios helps identify such mistakes.
These generated test cases are not intended to replace application integration tests. They specifically check whether the policy produces the expected authorization decision for the example sessions.
How are test cases different from historical simulation?
These two checks serve different purposes.
Simulation uses historical execution data. It replays the agent's recorded tool calls against the proposed policies to show which past calls would have been denied.
Generated test cases use representative sessions. They construct two examples for a temporal policy: one that follows the rule and another that violates it.
For example, replaying ten previous refund transactions might show that the proposed policy would have blocked three of them. That is useful, but those ten transactions do not necessarily cover every possible sequence.
The generated test cases provide concrete positive and negative examples, while property checking addresses the broader question of whether a prohibited sequence is possible under the policy model.
6. How does Greenlight work with Kiro?
AWS has made Greenlight available as a Power for Kiro, allowing developers to interact with its policy-generation and governance workflow through a coding agent.
The current AWS Getting Started Guide specifically documents the integration through Kiro CLI.
6. How does Greenlight work with Kiro?
AWS has made Greenlight available as a Power for Kiro, allowing developers to interact with its policy-generation and governance workflow through a coding agent.
The current AWS Getting Started Guide specifically documents the integration through Kiro CLI.
Only the v3 engine loads AWS Greenlight.
The Greenlight Power is then available through Kiro.
A developer can begin the governance workflow using a natural-language instruction
govern my agent
Greenlight takes the developer through six stages.
Step 1: Agent selection
Greenlight asks which agent needs governance.
The documented options include:
- Amazon Bedrock AgentCore Gateway.
- Strands Box.
- No Target, which allows policies to be generated and checked without deploying them.
The developer selects the AWS account, Region and relevant gateway or box.
Step 2: Sources
Greenlight asks which information it should use to understand the business rules.
The sources can include local documentation, such as SOPs and security procedures, previous agent tool-call records and AWS Context, where the organisation uses it.
For example, we could provide a password-reset procedure containing the required identity-verification steps. Greenlight can also examine recorded tool calls to understand how the agent has been operating.
Step 3: Clarifications
Business procedures are not always precise.
Greenlight identifies conflicting or incomplete requirements and asks the developer to resolve them.
For example:
- Does identity verification need to happen within the same support session?
- What happens when verification fails?
- Should an approval expire after a particular period?
The developer reviews these questions and provides the required decisions.
Step 4: Decisions
Greenlight generates proposed policies and presents scenarios illustrating which actions would be denied.
For the password-reset example, it might identify a sequence in which the agent calls
reset_password without first successfully calling verify_user_identity .The developer reviews the proposed behaviour and makes any necessary changes.
Step 5: Approval
Greenlight generates a policy report containing the proposed policies and verification results.
The developer reviews the policies, their source requirements, the properties checked and any assumptions or gaps.
The policy set requires human approval before deployment
Step 6: Enforcement
After approval, Greenlight deploys the policies to the selected execution environment.
For AgentCore Gateway, developers can initially use log-only mode to observe which calls would have been denied without blocking them. Once the results have been reviewed, the policies can be promoted to enforcement mode.
For Strands Box, approved policies are written into its Dogwood policy file.
AWS Greenlight for Agents+1
One additional detail from the Kiro documentation is worth noting: policy approval and deployment commands should continue to require explicit user confirmation. AWS advises against using Kiro's trust-all-tools mode for the Greenlight workflow. This preserves human oversight over changes that affect what the agent is allowed to execute.
9. Things to consider before adopting Greenlight
- Development environment: AWS currently supports macOS and Linux; Windows is not supported. The documented Kiro integration uses Kiro CLI. WSL2 may be worth exploring, but it is not listed as an officially supported setup.
- Regional availability: Preview is available in US East (N. Virginia and Ohio), US West (Oregon), Europe (Frankfurt, Ireland and Stockholm), and Asia Pacific (Sydney). Mumbai is not currently supported.
- Data handling: Information read by the coding agent, including execution traces and potentially sensitive values such as email addresses and card numbers, is sent to its configured model provider. Tool calls, policies and schemas are sent to AWS Greenlight for analysis. AWS states that these inputs are not retained by the service, while simulation results are stored in the customer's S3 bucket. Recorded identifiers are not masked.
- IAM and human approval: Greenlight requires AWS credentials with separate read and enforcement permissions. Scope these permissions carefully and retain explicit developer approval for policy deployment.
- Policy verification limitations: Verification depends on the available tool schemas, execution history and assumptions about tool responses. Greenlight cannot independently validate external facts, such as whether a receipt number is genuine or an approver is authorised. An Inconclusive result means the analyzer could not establish the property; it should not be treated as successful verification.
Conclusion
The announcement of AWS Greenlight highlights an important consideration as organisations move from AI assistants to autonomous agents.
Business-rule enforcement has existed for a long time. Traditional applications implement it through application logic, workflow orchestration and authorization controls. AgentCore and Dogwood have also introduced ways to govern agent tool calls, including rules that depend on the history of previous actions.
What Greenlight adds is a more accessible way to discover, generate, verify and manage these policies.
I find the combination particularly interesting. Existing business procedures and agent execution history can be used to propose policies. Automated reasoning checks whether the policies enforce the intended requirements, and developers review them before deploying them to the runtime environment.
The Kiro integration brings this governance workflow into the developer experience. Rather than manually translating every business requirement into policy definitions, developers can use their existing documentation and agent execution history as starting points.
From an application architecture perspective, this introduces another design consideration. Alongside agent identity, IAM permissions, tool access and application security, we also need to define and enforce the business conditions governing the sequence of agent actions.
As organisations move towards more autonomous AI applications, I think this approach will become an important part of designing and governing agentic systems.
In Part 2, I'll explore the AWS Greenlight architecture in more detail, including the policy development and verification workflow, Dogwood policies, and the two runtime enforcement options: Amazon Bedrock AgentCore Gateway and Strands Box.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article