AI & Compute · 3 min read

AWS Greenlight uses math proofs, not tests, to police AI agents

AWS Greenlight for Agents, announced at re:Invent Dec. 1, converts business rules into Dogwood policies and uses a solver to prove no tool-call sequence breaks them.

By Grace Kim557 words

Key takeaways

  1. AWS launched Greenlight for Agents in public preview, announced at re:Invent on Dec. 1.
  2. The solver returns Verified, Not verified or Inconclusive for every possible tool-call sequence in a session.
  3. Policies are written in Dogwood, an open-source language extending Cedar.
  4. Enforcement runs in Bedrock AgentCore gateway or Strands Box, outside the agent's harness.
  5. Greenlight runs as a plugin in Kiro, Claude Code and Codex; pricing and GA date were not given.
AWS Greenlight uses math proofs, not tests, to police AI agents
AI-generated

AWS has put Greenlight for Agents into public preview, a service that checks AI agent behavior with mathematical proof rather than test cases. The company announced the service at re:Invent on Dec. 1, The Register reported.

Greenlight turns business rules, written as documents or plain English, into policies that control which tool calls an agent can make. The service "turns your business rules into policies that control which tool calls an artificial intelligence (AI) agent can make, then uses automated reasoning to verify the policies do what you intended before you turn them on," the AWS documentation says.

What does the solver actually prove?

A solver searches every possible sequence of calls in a session for one that breaks a rule. Each check returns one of three verdicts: Verified, Not verified or Inconclusive. The result also lists the assumptions it relies on.

The method marks a break from conventional testing. "Tests only cover the cases that you think to write," the documentation says. The solver instead exhausts the space of call sequences within a session.

AWS already applies the same reasoning machinery in IAM Access Analyzer. That product proved a template for analyzing access policies across AWS accounts.

How are policies written?

Users supply documented procedures or describe rules in plain English. Greenlight also learns from the tool calls an agent has already made. It then writes policies in Dogwood, a new open-source policy language that extends Cedar, the language AWS uses for authorization.

Dogwood goes beyond Cedar in one key respect: a rule can depend on what the agent did earlier in the same session.

AWS gives a refund example. If refunds over $500 require a manager's approval, Greenlight writes a policy that denies a larger refund until the approval call has happened. It then replays last week's calls to show which refunds the policy would have stopped. Finally, it verifies that no sequence of calls lets such a refund through without approval.

The Register described another rule: an agent barred from reaching the internet after it has accessed a confidential customer database.

Where does enforcement happen?

Greenlight only writes and checks policies. Enforcement runs in the policy engine of an Amazon Bedrock AgentCore gateway or in Strands Box, an open-source agent sandbox. That separation means agents keep working if the Greenlight service goes down.

The enforcer sits outside the agent's harness, so the agent cannot change the rules. "The actual enforcement happens at a tool call," Marc Brooker, AWS vice president and distinguished engineer for agentic AI, told The Register.

Cami Novelli-Killeen, AWS director of neurosymbolic AI, framed the rules as "defining a safety envelope for the agent within the universe of things that agents can do," The Register reported.

Which tools does it plug into?

Greenlight runs as a plugin inside coding agents Kiro, Claude Code and Codex. That puts policy checks directly into the environments where developers already build agent software.

AWS did not give pricing or a general-availability date. Support for multi-agent systems is planned later, according to The Register.

The launch builds on agent controls AWS rolled out at re:Invent, including Bedrock spending caps. With enforcement separated from the verifier and proofs replacing test suites, AWS is betting that formal methods become the default safety layer for agentic AI in production.

mlq.ai (Source)

Filed under

Share this article:

More from Grace Kim

Grace Kim

Show full bio

Market editor covering people, launches and day-to-day practice in Semiconductors, chip manufacturing, hardware, AI compute at Chip Dispatch.

1,408 articles

Read also

« Previous articleNext article »