AWS Greenlight puts AI agents under rules they can't see or change


A rule written into an AI agent’s prompt is a request. The agent can misread it, argue itself around it, or drop it when it gets in the way of finishing the task. AWS’s new Greenlight service, now in preview, takes the rules out of the agent altogether.
In its announcement on 1 December, AWS describes Greenlight as an automated reasoning service that “keeps your agent within bounds and on task”. You write policies in plain language, Greenlight turns them into fixed rules, and an engine outside the agent checks every action against them before it runs.
How it works
Automated reasoning uses mathematical logic to prove whether a statement holds in every case, rather than testing a sample of cases. AWS has used it for years to check that IAM policies and network settings do what they should. Greenlight applies the same method to agents.
According to Amazon’s write-up, Greenlight drafts rules from a company’s procedures, security standards and runbooks. It also infers rules nobody wrote down, from the agent’s past behaviour and AWS Context graphs. It then checks the rules for gaps and conflicts, including combinations of access that could lead to an action you didn’t intend. A person reviews and approves them.
The approved rules go to an enforcement engine that sits outside the agent’s harness, where the agent can’t see or change them. Amazon names Strands Box, an open-source agent sandbox, as one place the rules run. The What’s New post adds Amazon Bedrock AgentCore Gateway. Any action that breaks a rule is blocked.
AWS’s example is a customer service agent that can issue refunds, where Greenlight makes sure the required checks happen first. As the agent takes on new tools and data, Greenlight studies its traces and proposes updated rules for a person to compare and approve. Each agent also starts from a default setup with only the tools and network access you approve.
Where you can use it
Greenlight comes as a power for Kiro and a plugin for Claude Code and Codex. Amazon says you start by prompting “govern my agent”.
The preview runs in seven regions: US East (N. Virginia), US East (Ohio), US West (Oregon), Europe (Frankfurt), Europe (Ireland), Europe (Stockholm) and Asia Pacific (Sydney). AWS hasn’t published pricing or a date for general availability.
Amazon lists Salesforce, ServiceNow, Datadog and Accenture among the firms working with it. Salesforce is using it to check its Agentforce agents, and ServiceNow is pairing it with its own agent governance tool. Delta Air Lines and mortgage audit firm LoanLogics plan to use it with their own agents. AWS says support for multi-agent systems will come later.
The rest of the agent controls
Greenlight was one of several agent controls AWS announced on the same day, under an approach it calls “trust in depth”. They’re at different stages.
IAM for agents, in preview, gives each agent its own identity built on your existing IAM roles. You can reference it in policies and audit it in CloudTrail. AWS Assurance is generally available. It collects compliance evidence and maps it to more than 15 frameworks, including SOC 2, PCI DSS and FedRAMP, and it covers agents built on AgentCore. CloudWatch Omni now runs agent experiments that give a new agent version a pass or fail verdict before release, and estimates agent costs in preview.
What to do
If you run coding or operations agents that can delete or change things, pick one of those workflows and try Greenlight on it in a supported region. Bear in mind that it’s a preview. It doesn’t replace basic hygiene either, so keep each agent’s IAM permissions to the minimum the task needs, whether or not you add Greenlight on top.