# AWS Greenlight turns plain-English rules into math that AI agents can't argue with

> A new plugin for coding assistants drafts agent policies in natural language, proves them formally and checks every action at runtime.

- URL: https://devisdead.ai/news/aws-greenlight-turns-plain-english-rules-into-math-that-ai-agents-can-t-argue-wi
- Published: 2026-12-01T23:01:23Z
- Author: DevIsDead Newsroom
- Section: Dev
- Tags: aws, agents, formal-methods, guardrails
- Originally reported by IEEE Spectrum (https://spectrum.ieee.org/aws-greenlight-formal-logic-agents).

Every team shipping an AI agent eventually hits the same wall: the model is probabilistic, the stakes are not, and the guardrails are mostly vibes plus a human clicking Approve. Amazon Web Services thinks formal methods can do better, as [IEEE Spectrum](https://spectrum.ieee.org/aws-greenlight-formal-logic-agents)'s Edd Gent reports.

## What shipped

The new tool is called Greenlight. It works as a plugin inside Claude Code, Kiro, Codex and similar coding assistants, reads an agent's docs and logs to figure out what the agent is for, and proposes rules in ordinary English. Behind the scenes it rewrites those rules in Dogwood, the agent-policy language AWS introduced in August.

Dogwood is built on first-order temporal logic, which can reason about things that change over time. AWS's Marc Brooker gives the example of a personal agent that holds your card but may not spend over $1,000 a month: the system has to track running totals and know what a month is, which older policy languages handled badly.

From Dogwood the rules are translated into Lean, the proof language, where AWS's automated reasoning engines hunt for loopholes in how rules and tools interact. Approved policies are compiled to SQL and enforced inside Strands Box, the deny-by-default sandbox AWS released in October that intercepts anything touching the outside world, like API calls or file writes. Brooker says the check usually adds only tens of milliseconds per tool call, and each verdict comes with an auditable proof.

A replay feature lets teams rerun old agent sessions against revised policies.

## The reality check

The math is airtight only after the translation step, and that step is done by an LLM. Karlsruhe Institute of Technology professor André Platzer points out you can never be fully sure English was rendered into logic correctly, and that proofs only show an action matches the spec, not that the spec is what you wanted. He still thinks making formal methods usable by non-experts could matter a lot.

AWS product director Cami Novelli-Killeen frames it as continuous improvement rather than a one-shot fix. Analyst Jason Andersen of Moor Insights & Strategy likes that it swaps the common setup, one LLM grading another, for two genuinely different methods of evaluation, particularly in finance and medicine.

For developers, the job shifts from writing guardrail code to reviewing proposed rules carefully. Read them like a contract, because the agent will.

**[Scoreboard](/scoreboard) update:** Humans +1. AWS puts people's own rules, backed by proofs, between agents and the outside world.

Stay undead.
