Cut human approvals on AI agent actions with AWS Greenlight

Cut human approvals on AI agent actions with AWS Greenlight

AWS Greenlight checks each AI agent tool call against rules you approve once. See how it fits beside guardrails and evals, and where it stops.

Global Sr. Solutions Architect, Private Equity
Who approves each action your AI agent takes today? When the agent's limits live in a prompt or in tool code, the answer is usually still a person, because no one can show that those limits cover every case. Each of those approvals adds wait time and labor to the transaction, and it caps how much work you can hand the agent. As ServiceNow puts it on the  AWS Greenlight page , "Evaluations can only ever uncover the scenarios that teams anticipate." My view is that you remove those approvals one workflow at a time by moving the agent's limits into rules that are checked against every sequence of calls in a session and enforced outside the agent. On AWS, Greenlight is the service for that layer.

Which control answers which question?

Guardrails and evaluations tell you what an agent said and how well it did, and neither tells you which actions the agent can never take.
Question
Control
What it checks
What did the model say?
 Amazon Bedrock Guardrails 
Model inputs and responses
How well did the agent do?
 Amazon Bedrock AgentCore Evaluations 
Quality scores on traces
What is the agent allowed to do?
AWS Greenlight, enforced by Amazon Bedrock AgentCore Gateway or Strands Box
Each tool call routed through the gateway or box, before it runs
Which models, at what spend?
 Amazon Bedrock Gateway 
Model access and budgets
Amazon Bedrock Gateway and AgentCore Gateway are separate services, and only AgentCore Gateway sees the agent's tool calls.

How does Greenlight keep an agent within bounds?

Greenlight drafts the rules and checks them before launch, and the gateway enforces them on each tool call routed through it. It starts your agent from a deny-by-default setup, with no access to tools or network destinations you haven't approved. It then drafts rules from the places they already live, including your procedures, security standards and the agent's past tool calls. If your company uses  AWS Context , Greenlight can also learn from documents it finds there, as the  getting started guide  explains. You settle conflicts and vague terms, then automated reasoning, the same kind of logic AWS uses in IAM Access Analyzer, searches every possible sequence of calls in a session for one that breaks a rule. Each check comes back Verified, Not verified or Inconclusive, sometimes with a qualifier, and lists its assumptions, according to the  AWS Greenlight user guide . The rules are written in  Dogwood , an open source language for agent policies that extends Cedar, the policy language AWS uses for authorization.
Figure 1. Greenlight drafts and checks rules. AgentCore Gateway or Strands Box enforces each call

You approve a numbered version of the rules and confirm the change before Greenlight applies them to  AgentCore Gateway or Strands Box , an open source sandbox that runs the agent and allows or denies each action. The gateway's policy engine or the box then denies any call that breaks a rule before it runs. Marc Brooker, VP and distinguished engineer at AWS, told  IEEE Spectrum  that the check typically adds tens of milliseconds per call.

Does Greenlight replace your agent harness?

Greenlight works as an overlay on the agent you already run. It leaves your  agent harness , the loop that calls the model and its tools, as it is, whether that's the AgentCore harness, Strands Agents or another framework. The rules sit outside that harness, so the agent can't change or bypass them as long as every tool call goes through the gateway or the box. You make that true with IAM and network design, which Greenlight's stack check can review on a gateway. For an existing agent, route its tool calls through an AgentCore Gateway with a  policy engine  attached and give each session an ID, or run the agent in Strands Box.
Consider the example in the user guide, a refund procedure that requires a manager's approval for any refund over $500. An evaluation set might include a $600 refund and confirm that the agent asks for approval, and it covers only the sequences someone wrote down. Greenlight drafts a policy that denies a larger refund until the approval call has happened, then verifies that no sequence of calls in a session gets a refund over $500 through without that approval.

Does Greenlight replace evaluations?

Greenlight runs alongside AgentCore Evaluations and Guardrails as a separate check on actions, and it leaves the judgment of answers to them. As the user guide puts it, "Tests only cover the cases that you think to write." Before you turn a policy on, Greenlight replays your agent's recorded tool calls to show which calls each policy would have denied.
A check shows that every call follows the rules, and it can't show that the rules capture what you meant. "You're never really sure whether the informal natural English language was rendered correctly in logic," André Platzer of the Karlsruhe Institute of Technology told IEEE Spectrum. So the person who owns the procedure still reads every drafted rule before approval. Because the check sits on each call routed through the gateway, Greenlight also limits which tool calls a prompt-injected agent can make. It doesn't detect the injection or close paths that the agent's own role or network allows. A rule can also require  a value the agent supplies  without confirming it is true.
In one test in a test account, Greenlight raised no false alarms and said before enforcement which rules it couldn't enforce. On the  help desk sample  from the user guide, it drew rules from two runbooks, a one-page quick reference and a week of recorded tool calls, 124 in my run. It drafted 7 policies after 2 clarifications and 1 decision, which took me about 5 minutes to review. In log-only mode, where the gateway records what a policy would deny without denying it, the policies flagged 8 of the sample's 14 planted rule-breaking tickets. In a separate scripted week of 439 calls, they flagged only its 3 planted violations.
Greenlight reported 18 of its 25 requirements as not enforceable, mostly because no tool returned the fact a rule needed. Of its 7 checks, 2 came back verified and 3 held only for the exact spellings tested. Of the 6 misses, one needed a fact no tool returns, two spanned more than one session, one had no direct requirement and two were habits no runbook stated. Greenlight's summary didn't mention the misses, and the two habits appear nowhere in its report, so the process owner still has to supply them.

Why do the rules outlast the agent?

An approved rule set describes the business process, so it stays in place when the agent, model or framework underneath it changes. According to the  About Amazon  launch story, LoanLogics, a provider of mortgage audit technology for lenders, plans to use Greenlight to keep an auditable record of why each loan decision was made. Accenture says on the  product page  that it is turning its clients' regulations, policies and procedures into rule packs that agents are checked against. For a private equity portfolio, consider which processes repeat across companies, such as refunds and expense approvals. Where both companies agree to share it, a checked rule set from one gives the next company's process owner a reviewed starting point to adapt, recheck and approve.

Where should you start with Greenlight?

Start with one workflow that has a dollar threshold, a written procedure and a person approving each step today. Greenlight installs as a power in Kiro or a plugin for Claude Code or Codex, the coding agents it runs in, and the  getting started guide  walks through a first proposal. Route that agent's tool calls through AgentCore Gateway and let Greenlight draft from the procedure and the calls the agent has already made. Then run the gateway in log-only mode, and enforce once the denials match what the procedure intends.
A builder runs Greenlight, and the process owner settles each item and approves each version. Closing the gaps the report names takes tool changes, so plan time for the team that owns the tools. Consider clearing data handling with your security team first. The coding agent's model provider sees your chosen documents and recorded calls, including email addresses, card numbers, account IDs and role names, as the  user guide  explains. Measure the approvals removed per transaction and the time to audit sign-off.
Where do your agent's limits live today, in the prompt, in tool code, with a person who approves each action, or in a policy layer outside the agent?

About the author

Michael Purpura is a Senior Global Private Equity Solutions Architect at AWS. He works with private equity firms and their portfolio companies to structure AI adoption around measurable business outcomes.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article