↑

AWS Greenlight Uses Maths to Keep AI Agents Inside the Rules

Two engineers watch a large curved screen in a dark operations centre showing a glowing green network of connected agent nodes held inside a bright green ring, with one red node stopped at the boundary

Every company experimenting with AI agents hits the same wall. The agent works in a demo, then someone in security asks a simple question: what stops it from doing something it should never do? On Tuesday, December 1, 2026, Amazon Web Services used its annual re:Invent conference in Las Vegas to offer a new answer. It is called AWS Greenlight, and instead of asking a model to behave, it tries to prove mathematically that an agent cannot break the rules it was given. That is a big claim for a service still in preview, so it is worth looking at what was actually announced, who said what, and where the proof stops.

What AWS announced at re:Invent

 

AWS Greenlight is a new automated reasoning service, now available in preview. Automated reasoning is a branch of computer science that uses mathematical logic to prove whether a system behaves as specified. Companies describe the rules their agents must follow in plain natural language, and Greenlight turns those rules into deterministic controls that are checked on every action. If an agent tries to call a tool in a way that would break a rule, the action is blocked before it runs.

The launch was the centrepiece of chief executive Matt Garman's keynote message about the next phase of cloud computing. In an interview ahead of the keynote, Garman put the shift in one line: "We think about agents as the customers." His point is practical, not poetic. A human analyst runs one query, reads a dashboard and thinks. An agent can split a job into hundreds of parallel calls, query several systems at once and keep working after its owner has gone home. Infrastructure built for people clicking screens is now being consumed by software acting at machine speed, and AWS says the platform has to change around that fact.

Greenlight was not the only announcement. The same keynote brought Amazon Bedrock Gateway and smart routing, both in gated preview, which let administrators set dollar spending limits per user, group or role and send simpler requests to cheaper models. AWS also expanded its Continuum security service to discover AI agents running across a company's systems, including ones nobody officially registered. Read together, the theme is consistent: the hard problem is no longer building one clever agent, it is governing thousands of them safely and affordably.

How Greenlight actually works

 

Most agent guardrails today live inside the model. Developers write careful prompts, add instructions, run evaluations and hope the model keeps following them. AWS argues that is the wrong place for a safety boundary, because a capable model trying hard to finish a task may find a way around instructions written in its own prompt.

Greenlight moves enforcement outside the model. The service reads an agent's tools, documents and past runs, proposes rules, checks them for conflicts and waits for a person to sign off. Those approved rules are then deployed to an enforcement engine in Strands Box, an open-source agent sandbox AWS released in October. When the agent tries to use a tool, the call is intercepted and checked against the rules, taking into account what the agent has already done in the session. A violating action is blocked at that point, and the agent cannot edit the rules to let itself through.

The airline example AWS used shows why this matters beyond headline-grabbing failures. Rebooking one passenger to an earlier flight sounds simple until status, seating, baggage, connections and family members travelling together enter the picture. An agent can move one traveller correctly and leave a companion without a confirmed seat. At small scale a human fixes that. At enterprise scale, even a tiny error rate creates thousands of stranded customers. Greenlight's job in that scenario is to help encode a rule such as "no passenger is left stranded by a rebooking" and then verify the workflow against it.

Developers can reach Greenlight from the coding tools many already use, including Claude Code, Codex and Kiro. AWS says Delta Air Lines, Salesforce, ServiceNow and Accenture are among the companies evaluating it, with Delta having experimented with the service in recent months for customer-facing agents.

Why AWS is betting on maths, not prompts

 

The business problem Greenlight targets is familiar to anyone who has tried to move agentic AI from pilot to production. Security chiefs are being asked to approve software that can act on real systems, and many are refusing until they get stronger assurance. As AWS distinguished engineer Marvin Theimer put it, a guardrail that holds 99 times out of 100 still fails at scale: "I need 100 percent."

That is the gap automated reasoning is meant to close. Testing checks how an agent behaved in scenarios someone thought to try. A proof, within the limits of the model being checked, covers every case the rules describe without running each one. AWS has used the same family of techniques for over a decade inside its own cloud, for example to verify storage and identity configurations, and on Monday it announced Project C2, which applies automated reasoning to hunting rare software bugs. Greenlight takes the next step and applies it to agent behaviour itself.

Garman's wider argument is that trust, cost and data control will decide who wins enterprise AI, not raw model intelligence alone. That is why the keynote paired Greenlight with spending controls in Bedrock Gateway, faster agent-friendly analytics, and tools to find shadow agents nobody knew existed. An agent you cannot see, cannot bound and cannot budget for is a liability, however smart it looks in a demo.

Was it really like that?

 

On the verifiable core, yes. Amazon's own re:Invent briefing, published December 1, 2026, describes Greenlight in the same terms as independent coverage from SiliconANGLE, GeekWire and The Register: a preview automated reasoning service, natural-language rules turned into deterministic controls, enforcement outside the agent through Strands Box, and access from Claude Code, Codex and Kiro. Garman's "agents as customers" framing comes from his pre-keynote interview and matches the keynote reporting. The customer names and the airline rebooking example appear across multiple reports.

Three honest limits belong in any fair account. First, a proof only covers the rules a company actually specifies. If a policy misses a case, Greenlight cannot invent the missing intention, and AWS's own engineers acknowledge that plainly. Proving an agent follows its guardrails is not the same as proving every answer it gives is correct. Second, Greenlight is in preview. Multi-agent systems, where agents delegate to other agents and share authority, are described as future work, and that is exactly where enterprise workflows get hardest to bound. Third, rivals are not standing still. GeekWire notes Google offers an agent gateway for checking what agents may do, and Microsoft has agent identity and registry tools. AWS's claimed difference is the mathematical proof underneath, and that difference will need to survive contact with messy real deployments, not just keynote demos.

What it means for developers and small teams

 

Most readers will not run Greenlight tomorrow. It is aimed first at large organisations putting agents near money, customer records and production systems, where one wrong action costs more than a thousand slow ones. But the direction of travel matters for everyone building with AI. Prompts are instructions, not controls. As agents gain tools, credentials and budgets, the teams that ship safely will be the ones that can state their rules clearly, enforce them outside the model, and show evidence afterwards.

The everyday habits still pay off while that future arrives. Agents exchange structured data constantly, so validate it before you trust it: run payloads through a JSON formatter to catch malformed tool calls before they reach production code. And when you need to confirm a file or payload has not changed, a hash generator gives you a quick fingerprint to compare instead of eyeballing long strings. Small checks, done early, prevent the silly failures that waste the most time, while services like Greenlight chase the deep ones.

The bigger story is that cloud computing is being rebuilt for a new kind of user. The first cloud era made infrastructure programmable for human developers. This one is making intelligence, execution and trust programmable for software that acts on its own. Whether mathematical proof becomes as routine as storage and compute is an open question. AWS has now placed a clear bet that it will, and the first customers testing Greenlight will show whether security teams agree.

Sources: Amazon, "2026 AWS re:Invent News Briefing" (aboutamazon.com, December 1, 2026); SiliconANGLE, "Exclusive: AWS CEO Matt Garman reveals the next cloud platform shift" and "AWS greenlights autonomous AI agents to take control" (December 1, 2026); GeekWire, "With 'Greenlight,' AWS is using math to keep AI agents from going rogue" (December 1, 2026); The Register, "AWS presents a new way to rein in rogue agents" (December 1, 2026).

Share: X Facebook WhatsApp LinkedIn

Awais Arshad

FastToolKit publishes practical guides about free online tools and technology.