AWS launches Greenlight to verify AI agent rules: what decision-makers need to know
AWS has launched Greenlight in preview, turning rules written in natural language into mathematically verified policies enforced outside the AI agent. See how it works, what analysts caution, and how to test it safely.
Greenlight is a rules layer for AI agents launched by AWS in preview. It converts rules written in natural language into policies verified through mathematical logic and enforces them outside the agent, so the agent cannot ignore them. The promise is to make agents handling sensitive tasks more predictable, but analysts themselves urge caution.
What is AWS Greenlight, and how does it work?
According to Computerworld, Greenlight is based on automated reasoning, a field of computing that uses mathematical logic to determine what follows from rules, facts, and assumptions. The team describes the rules in natural language, and the tool turns them into deterministic rules, meaning they always produce the same result in the same situation.
According to IEEE Spectrum, the underlying problem is that agents based on LLMs (large language models) are probabilistic, making predictable behavior difficult to guarantee. Today, companies tend to heavily restrict actions or require human approval at critical steps. Cami Novelli-Killeen of AWS calls the result "permission fatigue."
Where do the rules live, and what happens with each agent action?
InfoQ explains that the rules no longer live in a system prompt, which the model could ignore. One AWS example is "deny any refund over $500." Approved policies are enforced at the Amazon Bedrock AgentCore gateway or in Strands Box, and every tool call is checked.
Computerworld reports that the model is deny-by-default: the agent cannot access tools or network destinations that have not been explicitly approved. IEEE Spectrum adds that, according to AWS's Marc Brooker, the check typically adds tens of milliseconds per call, and each decision can come with an auditable proof.
How are rules written and verified?
The command "govern my agent" starts the process, according to InfoQ. Greenlight drafts policies from procedures, regulations, and recorded traces of the agent, including unwritten rules, and looks for gaps, conflicts, and risky combinations of access. Nothing takes effect until a person approves the set.
According to IEEE Spectrum, the policies are written in Dogwood, a language AWS released in August, and then converted into Lean, a language for machine-checkable proofs. Automated reasoning engines check how the rules interact with one another and with the tools. Once approved, they are compiled into SQL.
Which agents and environments are compatible?
Computerworld notes that Greenlight runs inside coding agents such as Kiro, Claude Code, and Codex, and works with agents behind an AgentCore gateway or in an open-source sandbox. Support for multi-agent systems and deeper integration with AWS Context are planned but not yet available.
How does it differ from other ways of controlling agents?
Frank Dickson of Dickson Research told Computerworld that enforcing rules outside the agent is not new: AgentCore policies, written in Cedar, already do this, and Microsoft launched its Agent Governance Toolkit in April. In his view, Greenlight adds a solver that tests every possible order of calls, rules that depend on the task history, and the ability to find harmless permissions that become dangerous in combination.
Jason Andersen of Moor Insights & Strategy contrasts it with the more common approach, in which several LLMs veto an agent's output. In his view, that is expensive and remains a probabilistic model evaluating another probabilistic model. He sees value for critical processes with little tolerance for error, such as finance and medicine, according to IEEE Spectrum.
What are the limits of formal verification?
The main caveat is that a proof is only as good as the rule being proved. Dickson said, "Mathematics proves that the regulation holds up, but not that it is correct." The hardest part, he said, is turning business intent into a formal rule, because policies are often found in manuals or in the minds of longtime employees. André Platzer of the Karlsruhe Institute of Technology warned in IEEE Spectrum about errors in translating informal rules into formal ones.
InfoQ lists official limitations: the analyzer treats tool inputs as any value of the given type, does not read IAM or a corporate directory, and a check can end as Inconclusive. In the AgentCore gateway, values are rounded to four decimal places, and time-based policies generally look back only 24 hours within a session.
In the first-impressions test cited by InfoQ, Fabio Douek saw the $500 cap verified, but the prior-query rule failed until a fourth policy corrected the 24-hour window. He also noted that "never more than $500" does not prevent two refunds for the same order.
Shashi Bellamkonda of Infotech reminded Computerworld that protection depends on every action passing through the control point. He also questioned what happens when the agent tries something without a written rule and noted that AWS has not published terms for exporting policies.
How can a company evaluate Greenlight safely?
Dickson recommended three precautions for CIOs and CISOs, according to Computerworld:
- run the rules in log-only mode first (InfoQ notes that only the gateway offers this mode, not Strands Box);
- assign an owner to each rule;
- keep a human involved in irreversible actions until the rules have earned trust.
This line of thinking connects with other topics on the blog, including the use of AI agents in operations, NVIDIA's bet on safer agents, and the case of Canada.
A concrete next step: list the actions your agent takes that move money or touch customer data, and write in simple sentences what it must never do. This inventory is useful for any governance tool and is the starting point for an AI agent project with clear boundaries.
Frequently asked questions
What is AWS Greenlight?
It is a rules layer for AI agents, currently in preview, that converts rules written in natural language into policies verified through automated reasoning and enforced outside the agent.
Can an agent ignore Greenlight's rules?
According to Computerworld, the rules live outside the agent's reasoning loop, so the agent cannot see or change them. By default, the model denies anything that has not been approved.
Which agents does Greenlight work with?
It is available as a Kiro power and as a plugin for Claude Code and Codex, and deploys policies to the Amazon Bedrock AgentCore Gateway or Strands Box.
Does formal verification guarantee that the rules are correct?
No. Frank Dickson said that mathematics proves the regulation holds up, but not that it is correct. Turning business intent into a formal rule remains the hardest part.
How can I test Greenlight with less risk?
Dickson suggested running rules in log-only mode, assigning an owner to each rule, and keeping a human involved in irreversible actions until the rules have earned trust.