Skip to content

Agents & MCP

AWS Greenlight proves what AI agents can’t do

3 min read

Written by an AI model from the linked sources and checked against them by a second model. How we work

Image: 01net.it

AWS on Tuesday launched Greenlight, a service that uses mathematical proof to show what an AI agent can and can’t do. It helps developers write the rules that decide which tools an agent may call, and then proves that those rules actually hold. Greenlight was announced at AWS’s re:Invent conference in Las Vegas and is in preview as a power for Kiro and as a plugin for Claude Code and Codex.

It is aimed at companies whose agent pilots never make it into real use because nobody can be sure the agent is safe. “It takes a very long time to take an agent from pilot to deployment, but also there is a fairly high failure rate for this,” Jean-Baptiste Tristan, a senior principal applied scientist at AWS, told The New Stack. AWS says Salesforce, ServiceNow, Delta Air Lines and Accenture are among the companies looking to use it.

The problem in one booking

In Tristan’s demo, an airline’s agent tries to move a group reservation of two passengers to another flight. It fails to issue a new ticket for one of them, then cancels that passenger’s old ticket anyway. It was following a rule to cancel the old ticket once a new one is issued, and simply missed that this was a group booking.

“If we don’t actually have policies that are deterministic that control the agent, it can be confidently wrong about what it’s doing, and we end up in a state that we don’t want,” Tristan says.

How Greenlight works

Greenlight starts from the agent’s traces, the records of what it did, either from test runs or from production if something has already gone wrong. It can also work from documentation or a conversation with the developer. In the demo it suggests a rule: every passenger must always hold a confirmed ticket. Once the developer approves it, Greenlight writes a new set of policies, proves the rule holds under them and deploys the agent with one click. The next time, the policies block the cancellation. After deployment it keeps watching the agent and proposes new rules for the team to approve, AWS says.

The key choice is what gets proved. “The agent is a black box. We don’t know exactly what it does,” Tristan says. So Greenlight proves things about the rules that sit outside the agent and control it. A team with thousands of policies can ask whether its agent could ever reach a tool that makes transactions, and get an answer that holds “for every possible action that the agent might take, so for any history,” including an agent actively trying to get around the rules.

That is different from the common approach of asking a second AI model whether an action is allowed. Instead, the policies are written in Dogwood, the open source policy language AWS released in August, which can take into account what an agent has already done. Greenlight turns them into mathematical logic and hands them to automated provers. AWS has used the same kind of automated reasoning inside its own services for years: one internal tool, Zelkova, which checks access policies, went from about a thousand solver calls a day to a billion within five years.

The trade-offs

Checking every action adds some delay, which Tristan calls “not negligible” but small next to the time an agent spends on its own reasoning. The real cost, he says, is elsewhere: “I think the trade-off is in creating the policy set.”

Nor is Greenlight meant to work alone. Tristan recommends layering it with sandboxes and isolated environments, which he calls “a stack of trust in depth.”

Join the conversation

Sign in to leave a comment. It appears after moderation.