Be first to know. Be ready to defend.

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

Illustration headed AWS Greenlight sets rules AI agents can't change. A terminal box shows an agent action being checked: the agent calls issue_refund with an order and amount; the rule says required checks come first; the check runs outside the agent; the result is blocked because the checks were not done; the agent cannot see the rules. A footer reads: how, automated reasoning, not prompts. Chips read Preview, Seven AWS regions, Kiro, Claude Code, Codex.Illustration headed AWS Greenlight sets rules AI agents can't change. A terminal box shows an agent action being checked: the agent calls issue_refund with an order and amount; the rule says required checks come first; the check runs outside the agent; the result is blocked because the checks were not done; the agent cannot see the rules. A footer reads: how, automated reasoning, not prompts. Chips read Preview, Seven AWS regions, Kiro, Claude Code, Codex.
On this page
  1. How it works
  2. Where you can use it
  3. The rest of the agent controls
  4. What to do

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.

How AWS Greenlight governs an AI agent. Step 1, draft the rules from procedures, security standards, runbooks and past agent traces. Step 2, prove they hold together, as automated reasoning finds gaps and conflicts between rules. Step 3, a person approves them before they go live. Step 4, enforce outside the agent: every action is checked before it runs and actions that break a rule are blocked. Step 5, propose updates from fresh traces, for approval. Rules deploy to Amazon Bedrock AgentCore Gateway and Strands Box.How AWS Greenlight governs an AI agent. Step 1, draft the rules from procedures, security standards, runbooks and past agent traces. Step 2, prove they hold together, as automated reasoning finds gaps and conflicts between rules. Step 3, a person approves them before they go live. Step 4, enforce outside the agent: every action is checked before it runs and actions that break a rule are blocked. Step 5, propose updates from fresh traces, for approval. Rules deploy to Amazon Bedrock AgentCore Gateway and Strands Box.

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.

Agent controls AWS announced at re:Invent. Greenlight, fixed rules enforced outside the agent: preview. IAM for agents, a verifiable identity for each agent: preview. AWS Assurance, evidence for more than 15 frameworks and 4,000 controls: available. CloudWatch Omni experiments, a pass or fail test before a new version ships: available. CloudWatch Omni agent cost, estimated spend per agent, model or session: preview.Agent controls AWS announced at re:Invent. Greenlight, fixed rules enforced outside the agent: preview. IAM for agents, a verifiable identity for each agent: preview. AWS Assurance, evidence for more than 15 frameworks and 4,000 controls: available. CloudWatch Omni experiments, a pass or fail test before a new version ships: available. CloudWatch Omni agent cost, estimated spend per agent, model or session: preview.

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.