01 article

AWS Greenlight Proves What Your AI Agent Can Never Do

AWS Greenlight turns natural-language agent rules into formally verified policies in the open-source Dogwood language, then checks every tool call against them outside the agent, with a solver instead of a second model. Here is how the proof pipeline works, why temporal logic matters for agents, and

AWS Greenlight Proves What Your AI Agent Can Never Do

AWS Greenlight Proves What Your AI Agent Can Never Do

Here is a demo that should bother anyone shipping agents. An airline's AI agent moves a two-passenger group booking to a new flight. It issues a new ticket for one passenger, fails to issue one for the other, and then cancels both old tickets anyway. The agent followed its rules perfectly. It simply never noticed the second passenger. In the words of AWS's Michael Tristan: without deterministic policies controlling the agent, "it can be confidently wrong about what it's doing."

On December 1, 2026, AWS opened a preview of Greenlight, a service that attacks this failure class with automated reasoning instead of evals. It drafts policies from your documents and agent traces, proves properties about them mathematically, and enforces the approved rules on every tool call, outside the agent's harness, where the model cannot bypass them. The pitch is not "we think the agent behaves." It is "we proved no sequence of tool calls can break this rule."

What the pipeline actually does

Greenlight starts deny-by-default. A new agent has no tools and no network access until policies carve out exceptions, the "pokes holes in the box" model Cami Novelli-Killeen, AWS's neurosymbolic AI director, described in interviews. The pipeline has four stages.

  1. Draft. An LLM reads your runbooks, security standards, AWS Context knowledge graphs, and recorded tool calls, then proposes rules in natural language with formal versions written in the background. The LLM only writes candidates. Nothing is trusted because a model wrote it.
  2. Verify. The Dogwood policies are translated into formal logic and handed to automated provers. A solver searches every possible sequence of tool calls in a session for one that violates a rule. Find none, and the property is Verified. This is the same family of technique AWS has used for a decade in IAM Access Analyzer and VPC reachability, pointed at agents for the first time.
  3. Replay. Before anything ships, Greenlight replays last week's recorded calls against the proposed policy set and shows which calls it would have blocked. You approve a diff of scenarios, not a blob of YAML.
  4. Enforce. Approved policies deploy to Amazon Bedrock AgentCore Gateway or Strands Box and are compiled to SQL, so each tool call is a deterministic lookup that adds tens of milliseconds. Each decision ships with an auditable proof of why it was made.

Dogwood: policies that remember

The language underneath is Dogwood, an Apache 2.0 open-source extension of Cedar that AWS released in August 2026. Cedar is already analyzable through automated reasoning and gives you the property evals never can: identical requests yield identical decisions regardless of evaluation order. Its limitation for agents is that a when { ... } clause sees only the current authorization request.

Dogwood adds when temporal { ... }, which can look at what came before. That unlocks the rules agents actually need. "If you read the confidential customer database, you cannot access the internet after that" is a sequencing rule no stateless policy engine can express. "A refund over $500 requires a manager approval call earlier in the session" is a precondition over a trace, not a request. Agent risk lives in sequences: individually harmless permissions that add up to exfiltration, or a cancel call that is fine alone and catastrophic right after a failed ticket issue.

Verification runs on Lean, the language for machine-checkable mathematical proofs, with proprietary solvers checking how rules interact with each other and the agent's tool surface. The analysis questions are practical: can a policy ever apply, would removing one change any decision, can a tool be reached at all, is every call of a tool allowed whatever its inputs. Dead policies, unreachable tools, and accidentally wide-open tools are the bugs a human-written IAM policy set accumulates, and agent policies collect them the same way.

The part that matters: proving rules, not models

Here is the design decision worth stealing even if you never touch AWS. Greenlight does not try to verify the model. "The agent is a black box. We don't know exactly what it does," Tristan says. Instead it proves properties of the policies wrapped around the box, and the guarantees hold "for every possible action that the agent might take," including an agent actively trying to route around the rules.

It also refuses the popular shortcut of LLM-as-judge guardrails, where a second model approves the first model's actions. A judge model is a probabilistic gate on a probabilistic actor: two coin flips where you wanted a lock. Greenlight's enforcement path never asks a model whether a call is allowed. Compare the evals trend: Ephyra-style property-based testing and decision-model judges are sampling strategies. A solver does not sample. Sampling finds the bugs you got unlucky enough to generate; proving finds the bugs that cannot exist.

The obvious ancestor is Docker's Sandbox Kit asks-not-grants model, covered here before. Greenlight is where that pattern grows a proof engine: the sandbox was always the right shape, and now the rules inside it come with theorems attached.

Where the fine print bites

This is a preview, and the limitations page is worth reading before you plan an adoption.

  • Results are graded, not binary. A check returns Verified, Verified-assuming, Not verified, or Inconclusive. The middle grade matters: Greenlight cannot see what a completed call returned, so a property resting on "that call did what it was supposed to" is verified only conditionally, and each result names the calls it leans on.
  • The LLM is still in the loop for authorship. Formal verification proves the policies you ended up with, not that they match the intent in your expert's head. A mistranslated rule can be verified airtight and still be the wrong rule. The replay stage mitigates this; it does not eliminate it.
  • Enforcement is AWS-shaped today. Policies deploy to AgentCore Gateway or Strands Box. The language itself is open source and Cedar-compatible, so existing policies carry over unchanged, but a second enforcement home outside AWS is not Greenlight's story yet.
  • Single-agent scope. Multi-agent systems are roadmap, not preview. If your architecture is a swarm handing work to each other, the seams between agents are unenforced.
  • Tool-call granularity only. Greenlight reasons about calls, sequences, and network destinations. What a call returns is outside the formal model.

What to do Monday

Even without AWS, three habits transfer immediately. First, write your agent's rules as sequences, not permissions: list the orderings that would be catastrophic in your domain, like read-secrets-then-fetch-url or refund-without-approval, because temporal rules are the ones a flat allowlist cannot express. Second, stop treating a judge model as a safety boundary; if a second LLM gates your agent's tools, you have a temperature setting where you think you have a lock. Third, replay your worst week of tool calls and ask which a rule should have blocked, which is what Greenlight's drafting stage automates.

The deeper shift is that formal methods are escaping the specialist ghetto. Translating natural-language rules into provable specifications was "almost intractable" five years ago and is now a product feature, because LLMs got good at writing formal languages. Whether or not Greenlight wins, proofs-about-policies is a plausible endgame for an industry hand-waving with evals.

Comments