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:
- Drafts rules from the places they already live: regulations, procedures, your experts’ knowledge. You review them.
- Infers the rules nobody wrote down from your agent’s traces.
- Checks the rule set with automated reasoning for gaps and conflicts, including combinations of access that could let an agent take an unintended action.
- Enforces approved rules outside the agent, with a deterministic check on every action before it runs, “even when the agent makes a wrong decision”.
- 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 lives | Who enforces it | What bypasses it |
|---|---|---|
| System prompt | The model, if it complies | Injection, long context, a model update |
| Client-side hook | The agent’s host process | Any action that doesn’t go through that client |
| Gateway policy (Greenlight) | The gateway, before execution | Any 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
commandargument 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:
- 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.
- Put them where the tool calls pass, at a gateway or proxy, not in the prompt.
- 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.
Comments