AWS Greenlight: Formal Math, Not More Prompting, Is How Amazon Plans to Keep Your AI Agents in Line
AWS Greenlight turns plain-English policies into machine-checkable agent guardrails. Its promise is real, but still needs independent testing.

Table of Contents
AWS used its re:Invent stage this week to announce something that sounds, on paper, a little dry: a service that writes rules for your AI agents. The mechanics underneath are anything but. AWS Greenlight, now in preview, is Amazon's bet that the way to stop an agent going rogue is formal mathematics rather than more careful prompting, applied to every single action the agent tries to take.
TL;DR: Greenlight turns plain-English rules into deterministic guardrails that run outside the agent's own reasoning, where the model cannot talk its way around them. It plugs into Claude Code, Codex and Kiro, and Delta, Datadog, PwC and Salesforce are already listed as early adopters. For no-code builders it reframes the question from "did I write a good enough prompt?" to "do I have a boundary the agent cannot cross?"
What does Greenlight actually do?
AWS's framing is simple: agents are finally capable of real work, but companies still cannot bring themselves to trust one with high-stakes tasks, things like moving money, booking flights or touching customer data. So most teams keep a human in the loop, checking every step. That does not scale, and it quietly defeats the point of running an agent at all.
Greenlight is the answer AWS is proposing. You describe the rules in plain English, a line like "never transfer more than £5,000 without approval" or "do not read data from a bucket tagged internal". Greenlight then uses automated reasoning to turn those sentences into formal, mathematical rules, checks every action the agent takes against them, and blocks anything that breaks one.
The clever bit is where those rules live. A guardrail that sits inside the agent's own reasoning loop is one the model can find its way around, or quietly ignore while it optimises for finishing the task. Greenlight deploys the rules to an enforcement engine outside the agent's own runtime, inside an open-source sandbox called Strands Box, where the agent cannot see or edit them.
Why do prompts keep failing as guardrails?
Anyone who has spent an evening coaxing a chatbot into not doing something already knows the shape of this problem. You write "do not exceed the budget" in the system prompt, the model agrees, and then exceeds the budget anyway, because it decided the task mattered more, or because it simply did not weigh your instruction highly enough in that moment. Prompted guardrails are, in effect, advisory. They are a suggestion the model is statistically likely to follow, and the model will override that suggestion the second a conflicting goal shows up. There is no hard boundary in there.
There is a subtler failure too: prompts do not compose. Ask a model to respect forty rules and it will drop some of them, silently. Every new instruction you add increases the odds that an earlier one gets diluted. That is why "just write a longer system prompt" has a ceiling, and it is exactly the ceiling Greenlight is aimed at.
So what is formal reasoning, in plain words?
Automated reasoning is the difference between testing and proving. Tests catch only the cases someone thought to check. Formal reasoning uses mathematical logic to show that a property holds across every possible path a system could take. AWS has run this in production for over a decade: it is how IAM Access Analyzer tells you exactly who can reach a given resource, and how S3 Block Public Access verifies millions of combinations of network and access settings to confirm a bucket is not exposed.
Greenlight points the same machinery at agents. The catch, and it matters, is that the proof is only ever as strong as the rule you wrote down. Formal verification can guarantee an agent cannot break a stated rule. It cannot guarantee your rule captures what you actually care about. Write a sloppy rule and you get a rigorously enforced sloppy rule. This is the point where "mathematically guaranteed" marketing language needs a dose of honesty: the maths is airtight; your rule-writing is probably not.
What does this change for no-code builders?
On the surface this looks like a developer problem. Greenlight ships as a plugin for Claude Code and Codex, and as a power inside Kiro, AWS's agentic IDE. You trigger it by prompting "govern my agent". There is no drag-and-drop toggle yet, and pricing has not been announced. So this is not a feature you can turn on in your no-code platform tomorrow.
The pattern matters more than the product. The no-code world has spent two years telling itself that a well-written prompt is the same thing as a control. Greenlight is the clearest statement yet from a major vendor that those two things are different, and IEEE Spectrum's read of the launch lands the same way: this is about formal logic, not fancier instruction-following. The trust problem in AI agents will be solved by putting enforceable boundaries outside the model, the same way we put a firewall outside an application rather than asking the application to please behave.
Here is the part no-code builders should actually care about: the vendors we build on will absorb this and repackage it. The early no-code platform that exposes "provable guardrails" as a checkbox gains a real moat, because "my agent cannot break this rule" is a claim you can take to a compliance team, and "my prompt is really thorough" is not.
Where does it fall short?
I do not want to oversell this. Greenlight is a preview, and previews in this space have a way of staying vague. There is no independent evaluation yet: everything we know about how well it actually stops an agent comes from AWS's own launch materials, not from anyone testing it against real, adversarial prompts. AWS says rules can be drafted in minutes from your runbooks and procedures, and that Greenlight keeps proposing refinements as it watches the agent behave, but the hard questions are unanswered. How much of the formal heavy lifting can a non-expert really do without understanding what the prover is checking? What happens when two rules conflict? The announcement gestures at finding "gaps and conflicts" in your rules, but the details will matter enormously in practice.
It is also worth being clear-eyed about the history. Automated reasoning has spent decades mostly confined to places where being wrong is catastrophic and budgets are large, think chip design and security-critical systems. Bringing it to everyday business agents is a proper departure, and the gap between the demo and the messy reality of a thousand half-written runbooks is where this either works or quietly stalls.
The takeaway
Stop treating prompts as guardrails. AWS just spent a re:Invent keynote explaining why that approach has a ceiling, and it shipped a formal methods product to make the point. If you are running agents today, even inside a no-code platform, start writing down the rules you wish the agent would follow, in plain English, as if a machine were going to enforce them rather than politely request them. That discipline is the part of Greenlight that does not require you to understand a single line of maths.
Want to read
more articles
like these?
Become a NoCode Member and get access to our community, discounts and - of course - our latest articles delivered straight to your inbox twice a month!



