To deal with the issue of artificial intelligence (AI) agents going rogue, Amazon Web Services (AWS) this week announced the launch of AWS Greenlight.
This comes as companies seek to trust AI agents to follow rules, policies and stay on task. Most organisations tend to place humans in the loop, checking each step an agent takes to ensure it is behaving as intended.
During his keynote at the company’s annual re:Invent conference, in Las Vegas, AWS CEO Matt Garman said customers commonly share that agent trust is what prevents them from putting agents into production.
“Trust is a multi-faceted concept, but in this case, it comes down to one thing: can you confidently sign-off on allowing your agents to do complex work and to do it autonomously?”
Garman said while agents can go down an intended path 99% of the time, even a very small error rate running repeatedly in an agentic loop will make the maths turn against the user.
“A 0.1% error rate across 1 000 loops equates to about a 35% success rate. I don’t think any of us can say we will trust an agent autonomously across high-stakes work [moving money, booking airline flights, or handling customer data], with only a 35% chance of being right.
“If putting an agent in the loop isn’t the answer, we need to find a better way to trust agents to do very complex work.”
The answer for the cloud computing firm is its newly-unveiled AWS Greenlight, which is an automated reasoning service that keeps agents within bounds and on task.
AWS Greenlight uses automated reasoning to control rogue or unpredictable behaviour by agents, mathematically proving they keep within bounds so organisations can confidently run them autonomously.
He explained that automated reasoning is a field of computer science and AI that uses mathematical logic to prove, disprove and analyse statements and systems of behaviour with absolute certainty. This, he notes, differs from reasoning by testing like a traditional software test, or reasoning through statistical probability, like with a large language model.
“The mathematical logic proves there is no chance of misinterpretation or any way an agent can break a specified rule. This means organisations don’t need to test every possible case and can instead prove a behaviour holds true across large, complex systems.
“At AWS, we’ve leveraged automated reasoning for more than a decade, applying it in cloud scale to improve key parts of AWS work as intended. “It’s how IAM Access Analyzer tells customers exactly who can reach which resources in their AWS accounts and how S3 Block Public Access is able to verify the millions of combinations of networking configurations and access control policies to know whether a S3 bucket is open to the internet through any possible access path.”
AWS Greenlight brings this same proof to AI agents, so they never break their specified rules, he stated.
“It drafts rules from a company’s business data, procedures, security standards and runbooks. It also infers rules from AWS Context graphs and prior agent behaviour, catching nuances that were never written down.
“AWS Greenlight then translates the rules into mathematical representations and uses automated reasoning to check the agent’s actions against its intended behaviour.”
Organisations get to define the rules their agents must follow using natural language and AWS Greenlight uses automated reasoning to turn them into deterministic rules that get followed every time.
AWS revealed that Accenture, AllCode, Anaconda, Caylent, CloudSoft, Delta Air Lines, F5, LaunchDarkly, LoanLogics, N-iX Paylocity, Perficient, Presidio, PwC, Salesforce and ServiceNow are among companies looking to use AWS Greenlight.
Developers can access AWS Greenlight as a power for Kiro and as a plugin for Claude Code and OpenAI’s Codex. Once they are ready to start building, they simply prompt “govern my agent” for AWS Greenlight to start suggesting rules.

