AWS Releases Greenlight: Mathematically Verified Rules for AI Agents
AWS has unveiled Greenlight, a tool that converts rules written in plain English into mathematically verified policies for AI agents. The agent runs in a sandbox, where every action, such as an API call or a file write, is checked against the rules and then either allowed or blocked. The check adds only tens of milliseconds, and each decision can be backed by a proof. For companies, it is an alternative to manually approving each step and to a second LLM that checks the first.
AI-processed from IEEE Spectrum AI; edited by Hamidun News
Companies are rolling out AI agents en masse, from customer support to software development, but there is still no reliable way to guarantee that an agent stays within its bounds. Amazon Web Services has shown Greenlight, a tool that takes rules written in everyday words and turns them into mathematically verifiable policies. The agent cannot break them, because every one of its actions passes through a check.
The problem with agents
A conventional program executes code written by a human and behaves predictably. An agent runs on a large language model, which is probabilistic: it may answer the same request differently each time. Developers wrap models in deterministic scaffolding, but it does not provide complete protection.
So companies usually take one of two paths. They either severely limit the set of actions the agent can take, or they ask a human to confirm every important step. The second path leads to "allow fatigue": people start clicking "yes" without reading. Cami Novelli-Killeen, AWS's director of product for neurosymbolic AI, has spoken about this.
Another popular approach is to have one LLM check another. It is expensive, and in essence one probabilistic model is still evaluating another. Jason Andersen, an analyst at Moor Insights & Strategy, believes Greenlight offers a different and possibly better method: two different verification methodologies instead of two identical ones.
How Greenlight works
The agent runs in Strands Box, a sandbox AWS released in October. It intercepts any action that affects the outside world, such as an API call or a file write. By default everything is forbidden, and the user "pokes holes in the box" by describing what is allowed.
Rules are written in Dogwood, a new language AWS launched in August. It is built on first-order temporal logic, meaning it can account for how things change over time. Marc Brooker, VP and distinguished engineer at AWS, gives an example: "Let a personal agent have my card details, but let it spend no more than $1,000 a month." To do this, the agent must remember what it has already spent and understand what a month is, which earlier policy languages handled poorly.
What is new about Greenlight is the automation. It is a plugin for programmer AI assistants: Claude Code, Codex and Kiro. The developer asks the assistant to propose policies for the agent. The tool reads documentation and logs, determines the agent's role, drafts rules in natural language, and writes the formal Dogwood version in the background. Developers can add their own rules in words and, if they want, inspect the code.
Next, the rules are translated into Lean, a language for machine-checkable proofs. Proprietary automated reasoning engines search for loopholes and conflicts between rules. Once a policy is approved, it is compiled to SQL, and every agent action is checked against it. According to Brooker, this adds only tens of milliseconds to a tool call. Each decision can be accompanied by a proof of why it was allowed, which is useful for audits.
There is also a replay feature: you can run the agent's past sessions through new policies and see how they would have played out.
Limitations
André Platzer, a professor at the Karlsruhe Institute of Technology who applies formal methods to autonomous systems, points to the main risk: translation errors. There is no formal way to move from the informal to the formal, and you cannot be sure that an English sentence has been turned into the right logic.
There is also a long-standing problem with formal methods. They prove that an action does not violate a specification, but they do not prove that the specification describes the desired behavior. You need to answer both questions: "Did we build the right thing?" and "Did we build it right?"
Still, Platzer considers the tool practically useful: few people understand formal logic, and making such methods accessible to non-specialists could be "super important," even if the protection is not absolute. Novelli-Killeen herself acknowledges that Greenlight is not a one-time fix but part of an ongoing improvement process. Her stated goal is to add "moments of determinism" while preserving the agent's creativity and flexibility.
What this means for practitioners
Greenlight will matter most where the cost of an error is high: finance and medicine, and business processes with little tolerance for failure. If you are building agents, it is worth adopting the approach itself: deny by default, intercept every external action, and verify rules separately from the model. Do not give up reviewing the rules themselves and replaying past sessions, though. Without them, even a formally verified policy may end up protecting against the wrong things.
- Dec 2, 2026Meta Sells Muse Charm AI Gadget for $299, Includes a Year of Verizon 5G
- Dec 2, 2026AWS Greenlight Blocks AI Agent Actions That Violate Company Rules
- Dec 2, 2026GoModel, a Go-based gateway, handles a request in 2.3 ms versus LiteLLM's 79 ms
- Dec 2, 2026Amazon Open-Sources Ergo: 38 Points on Artificial Analysis, Best Among US Models
Key Questions Answered
What are the key details on The problem with agents?
A conventional program executes code written by a human and behaves predictably. An agent runs on a large language model, which is probabilistic: it may answer the same request differently each time. Developers wrap models in deterministic scaffolding, but it does not provide complete protection. So companies usually take one of two paths. They either severely limit the set of actions the agent can take, or they ask a human to confirm every important step.
How Greenlight works?
The agent runs in Strands Box, a sandbox AWS released in October. It intercepts any action that affects the outside world, such as an API call or a file write. By default everything is forbidden, and the user "pokes holes in the box" by describing what is allowed. Rules are written in Dogwood, a new language AWS launched in August. It is built on first-order temporal logic, meaning it can account for how things change over time.
What are the key details on Limitations?
André Platzer, a professor at the Karlsruhe Institute of Technology who applies formal methods to autonomous systems, points to the main risk: translation errors. There is no formal way to move from the informal to the formal, and you cannot be sure that an English sentence has been turned into the right logic. There is also a long-standing problem with formal methods. They prove that an action does not violate a specification, but they do not prove that the specification describes the desired behavior.
Free 2-Day Vibecoding & AI Agents Intensive
Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
