AWS Greenlight Checks Every Agent Action. Who Checks the Rules?

Greenlight, previewed Dec 1, enforces agent rules outside the agent and proves the rule set has no gaps. It can't prove they're the rules you meant.


Two loops. At runtime, an agent's proposed action passes a deterministic check outside the agent before reaching the tool. Before runtime, rules drafted from written sources and inferred from agent traces pass through automated reasoning for gaps and conflicts, then human approval, before they become the rules the check enforces

AWS put a preview of Greenlight out at re:Invent on December 1. It’s the most interesting agent launch of the week, because it moves the question every regulated team keeps asking (“how do we let the agent act without a person approving each step?”) from the model to a place where you can actually reason about it. It also moves a problem, and that’s the part worth reading carefully.

This is a Q&A, because most of the questions it raises have short answers.

What did AWS announce?

In AWS’s words, an “automated reasoning service that keeps your agent within bounds and on task”. From the announcement and Matt Wood’s launch post, it does five things:

  1. Drafts rules from the places they already live: regulations, procedures, your experts’ knowledge. You review them.
  2. Infers the rules nobody wrote down from your agent’s traces.
  3. Checks the rule set with automated reasoning for gaps and conflicts, including combinations of access that could let an agent take an unintended action.
  4. Enforces approved rules outside the agent, with a deterministic check on every action before it runs, “even when the agent makes a wrong decision”.
  5. Proposes updated rules from new traces as the agent takes on new tools and data.

Each agent also starts from a default setup with only the tools and network access you approve. It ships as a power for Kiro and a plugin for Claude Code and Codex, deploys its policies to Amazon Bedrock AgentCore Gateway and Strands Box, and is in preview in seven regions. The announcement doesn’t list pricing.

What does “enforced outside the agent” actually buy?

It means the check doesn’t depend on the model’s cooperation. That’s the whole game.

A rule in a system prompt is a request. The model usually honours it, and a prompt injection or a long enough context can make it stop. A check that runs between the agent’s decision and the tool’s execution doesn’t care why the agent decided what it did. I made the same argument about Claude Code hooks and about where a kill switch should live: put the control at the authority layer, not in the thing being controlled.

The useful way to compare the options is by where the check runs and what gets around it:

Where the rule livesWho enforces itWhat bypasses it
System promptThe model, if it compliesInjection, long context, a model update
Client-side hookThe agent’s host processAny action that doesn’t go through that client
Gateway policy (Greenlight)The gateway, before executionAny tool reached without passing that gateway

Each row is stronger than the one above it. None is complete on its own, which is the next question.

What can automated reasoning prove, and what can’t it?

AWS has used automated reasoning on IAM and VPC configuration for over a decade, and has published how it applies SMT solvers to IAM policies. The technique translates policies into logic and asks a solver questions with definite answers: can any request reach this action? Do these two statements contradict each other? Is there a combination of permissions that allows something neither allows alone?

Those are the right questions to ask of an agent’s rules, and a human reading forty rules won’t reliably answer them. The “combinations of access” check is the one I’d value most. Agents tend to get permissions one tool at a time, and the dangerous capability is usually two harmless ones composed: read access to the customer table plus an outbound email tool.

What the solver can’t do is tell you whether the rules say what you meant. It proves the rule set is consistent, and that the enforcement matches the rule set. If a rule says refunds up to $500 need no approval and you meant $50, Greenlight will enforce $500 perfectly.

Why do rules inferred from traces need the hardest review?

Because traces record what the agent did, not what it should have done.

Inferring rules from behaviour is the same move as learning an anomaly baseline from history, and it has the same trap: if the history already contains the incident, the baseline learns the incident as normal. I wrote about this for anomaly detection, and it carries over exactly. If an agent issued a refund it shouldn’t have, and nobody noticed, the trace shows a refund that succeeded. A rule inferred from that trace permits it, and from then on the permission is enforced deterministically and backed by a proof of consistency.

None of this is a flaw in Greenlight’s design. AWS puts approval in front of every rule, which is correct. The point is where the human effort should go. Drafted rules come from documents someone already reviewed. Inferred rules come from behaviour nobody reviewed, which makes them the ones to read line by line. A useful habit: for each inferred rule, ask for the traces it came from and check a sample of them by hand, the way you’d spot-check an access review.

Does this solve approval fatigue?

It changes its shape, which is most of what you can ask for.

Approving every agent action fails because people stop reading by the fortieth approval. Approving rules instead means reviewing dozens of statements once, rather than thousands of actions forever. That’s a better trade, and it’s the same trade IAM made: nobody approves individual API calls; they review policies.

But it only holds if rule updates get the same care as the first version. Greenlight will propose new rules as the agent takes on new tools. Treat each proposal like an IAM policy pull request: a diff, a named reviewer, a reason, and a record. If the rule updates get waved through, you’ve rebuilt approval fatigue one level up.

What’s outside its reach?

Three things, none of them specific to AWS:

  • Actions that don’t pass the enforcement point. Policies deploy to AgentCore Gateway and Strands Box. A tool the agent reaches some other way (a credential in an environment variable, a shell in a sandbox with network access) isn’t checked. Inventory the paths before you trust the check. The MCP gateway pattern exists for exactly this reason.
  • Meaning the rules can’t see. A rule can only reason about what the action’s schema exposes. A tool that takes a free-text command argument gives the solver almost nothing to work with. Narrow, typed tools make better rules possible; broad ones make them decorative.
  • Preview status. It’s a preview with no GA date in the announcement. Fine to evaluate, early to make it the only control in front of anything that moves money.

What should you do this week, on AWS or not?

The method is portable even if the product isn’t:

  1. Write down five rules your riskiest agent must never break, as checks on tool arguments, not as prose. “Refund amount ≤ 50 unless ticket has an approved exception” is a rule. “Be careful with refunds” isn’t.
  2. Put them where the tool calls pass, at a gateway or proxy, not in the prompt.
  3. Replay the last 30 days of traces through them and count violations. That count is the number your current controls have been missing, and it’s the first thing to show anyone deciding how much autonomy the agent gets. This is bounded autonomy with a measurement attached.

Greenlight’s real contribution is making the second half of that list deterministic and provable. The first half, deciding what the rules should be, is still yours. It always was.

Frequently asked questions

What is AWS Greenlight?

An automated reasoning service for AI agents that AWS announced in preview on December 1, 2026. It drafts rules from regulations, procedures and expert knowledge, infers unwritten rules from an agent's traces, uses automated reasoning to find gaps and conflicts in those rules, and, once a person approves them, enforces them outside the agent with a deterministic check on every action before it runs. It ships as a power for Kiro and a plugin for Claude Code and Codex, and deploys policies to Amazon Bedrock AgentCore Gateway and Strands Box.

Why does it matter that the rules are enforced outside the agent?

Because the agent is the component you can't fully trust. A rule written into a prompt is only followed if the model follows it, and a prompt injection can talk the model out of it. A check that runs at the gateway, after the agent has decided and before the tool executes, applies whatever the agent decided and whatever text it read.

Can automated reasoning prove an agent's rules are correct?

It can prove properties of the rule set: that two rules don't conflict, that a combination of permissions can't reach an action, that every action is covered. It can't prove the rules express what the business intended. That remains a human review, and it matters most for rules inferred from traces, because traces record what the agent did, including mistakes nobody caught.

Comments