AWS launches Greenlight to enforce plain-English rules on AI agents
AWS says its Greenlight tool converts plain-English rules into formally verified policies that constrain AI agents at runtime.
AWS is unveiling Greenlight, a tool that uses large language models to turn plain-English rules into formally verified policies. Those policies limit what an AI agent can do while it runs. The tool can also suggest policies based on an agent's role and recommend updates as deployed agents encounter new situations. Cami Novelli-Killeen, director of product management for neurosymbolic AI at AWS, describes the problem. Companies typically tightly constrain agents or require a human to approve critical steps. That adds friction and can produce what she calls allow fatigue in human overseers. Formal methods offer an alternative. They define mathematically what software should do and prove that it complies. Writing those rules has traditionally required expert mathematicians.
Greenlight runs agents inside Strands Box, a software sandbox AWS released in October. The sandbox intercepts every action that affects the outside world, such as calling an API or writing a file, and approves or denies it. It is deny-by-default, so nothing passes unless a policy permits it. Until now, the sandbox has required writing those policies by hand. Novelli-Killeen says Greenlight automates that step. The policies are written in Dogwood, a language AWS launched in August. Dogwood relies on first-order temporal logic, a branch of formal methods that can express how things change over time, which matters for agents. Marc Brooker, VP and distinguished engineer at AWS, gave an example. A rule that a personal agent may use a credit card but may not spend more than $1,000 a month requires the policy to track spending so far and to know what a month is. He said earlier policy languages struggled to express this.
The tool works as a plugin for coding assistants including Claude Code, Codex and Kiro. A developer building an agent asks the assistant to propose policies. Greenlight reads the agent's documentation and logs to infer its job. It proposes policies in natural language and writes formal versions in Dogwood in the background. Users can add their own rules in natural language and inspect the Dogwood output. The Dogwood rules are then converted into Lean, a language for writing machine-checkable mathematical proofs. Proprietary automated reasoning engines check how the rules interact with one another and with the agent's tools, looking for unintended loopholes. Approved policies are compiled to SQL, and each action the agent attempts is checked against them. Brooker says this typically adds only tens of milliseconds to a tool call. Because the rules rest on a formal foundation, AWS says each decision can come with an auditable proof of why it was made.
Brooker says LLMs' growing ability to translate natural language into formal languages made the tool possible. Translating between the two has been an open problem in computer science for decades. He says it has moved in the last five years from almost intractable to very tractable.
André Platzer, a professor at Karlsruhe Institute of Technology who applies formal methods to autonomous systems, points to a basic limit. There is no formal way to go from the informal to the formal, so a translation from English into logic can introduce errors. Formal methods also have a longstanding problem. They show that an action does not violate the user's specification, but not that the specification captures the behavior the user wants. Platzer says that distinction asks whether the right thing was built as well as whether the thing was built right, and both questions need answers. He still expects practical benefit. Few people understand formal logic, and making these methods usable for non-experts could matter even if the results are not airtight.
Novelli-Killeen says Greenlight is not a one-and-done fix. It has to be part of continuous improvement. A replay feature supports that process by letting users run previous agent sessions against new policies to see how they perform. She describes the aim as adding moments of determinism while keeping the agent's flexibility.
Jason Andersen, VP and principal analyst for apps, agents and automation at Moor Insights & Strategy, was briefed on Greenlight before launch. He compares it with the most popular governance approach today, which uses multiple LLMs to vet an agent's output. That method is expensive, and it still has one probabilistic model assessing another. He says Greenlight is a different approach to correctness that is arguably better. He also expects it to be especially valuable for agents running critical business processes with little tolerance for errors, particularly in finance and medicine.
What changed
AWS unveils Greenlight, which uses LLMs to turn plain-English rules into formally verified policies that constrain AI agents at runtime inside Strands Box.
Type: New capability · Applies to: Greenlight, Strands Box, Dogwood, Claude Code, Codex, Kiro
Why it matters
Companies that rely on human approval of agent steps could replace some of that friction with formal, auditable runtime checks. The translation from natural language to logic remains a risk that buyers will need to test.
What you can do
Teams building agents could trial a deny-by-default sandbox with auditable policy checks on lower-risk workflows before expanding agent permissions.
Original source
We have no link to the original source for this story yet.
Further reporting
Where we saw it
IEEE Spectrum
AI wrote this summary from the sources listed, and nobody reviewed it individually before publication. Check the original source before you rely on it. How it works