Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseAPI / Product · ActionableIEEE Spectrum AI→ original

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
AWS Releases Greenlight: Mathematically Verified Rules for AI Agents
Source: IEEE Spectrum AI. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceIEEE Spectrum AI ↗
Editor-in-Chief
Key metric #1Rules are written in Dogwood and verified with Lean, then compiled to SQL
Key metric #2The plugin works with Claude Code, Codex and Kiro, and proposes policies on its own based on the agent's role
Key metric #3Experts warn that translation errors from human language into logic are still possible

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.

Story

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.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Free · Waitlist · Hermes + DeepSeek

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.

Join the waitlist →Nomad AI Workspace
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — AWS Releases Greenlight: Mathematically Verified Rules for AI Agents https://news.hamidun.com/en/news/18861/aws-releases-greenlight-mathematically-verified-rules-for-ai

What do you think?
Loading comments…