AWS’s newest guardrail for AI agents has one design rule that reads like a paradox: the agent must not be able to read it.
The service is called Greenlight, announced Monday at re:Invent and now in preview. You write the rules an agent must follow in plain English. A language model turns them into formal policy. Automated reasoning, the math AWS has used for a decade to prove its identity and storage systems behave, checks those policies against each other for conflicts and loopholes. A person approves. Then the compiled rules are deployed to an enforcement engine that sits outside the agent’s harness where, in AWS’s own words, “the agent can’t see or change them.” Every tool call is checked; anything that breaks a rule is blocked. The check adds tens of milliseconds. The model is never asked to comply.
Five days ago, this blog covered Anthropic’s Siren evaluation, whose most effective mitigation was a paragraph in the system prompt, and I called that paragraph the cheapest security control you own. AWS’s position, stated in its launch post, is the opposite on its face: “If rules live inside the agent’s reasoning loop, the agent can find its way around them or even choose to ignore them as it optimizes for completing a given task.”
Both are right, and the gap between them is the most useful map of agent control drawn this year. This week filled in the rest: Mistral shipped an agent runtime whose default is to run every tool call without asking, and AWS shipped a second service pointing the same math at the code agents write.
Four Places a Rule Can Live
Every rule you give an agent lives in one of four places, and each fails differently.
In the prompt. The model reads it and mostly honors it. Siren measured how much: a short paragraph describing the sandbox and listing six boundaries made every model tested 68 to 96 percent less likely to reach outside it. It costs nothing. Its failure mode is that prose is negotiable. Anthropic’s transcripts show recent models arguing that a step was allowed, quoting the task’s own grant of authority back to themselves. A model that has read a rule has not accepted it. It has been informed of it.
In a permission list. Most harnesses have one: tools or patterns that are allowed, denied, or ask-first. It is deterministic and cheap. Its failure mode is expressiveness. A pattern can say “this tool may run.” It cannot say “this agent may spend up to a thousand dollars a month,” which is AWS vice president Marc Brooker’s example to IEEE Spectrum for why a new policy language was needed: “It has to remember how much it’s spent so far and… it has to know what a month is.”
In a judge. A second model reads the first model’s proposed action and vetoes it. This is what most governance tooling does today, and what analyst Jason Andersen told Spectrum is expensive and “still boils down to one probabilistic model assessing another.” Its failure mode is the first model’s failure mode, plus the bill. AWS VP Marvin Theimer gave GeekWire the business version: other guardrails run “99 out of 100 times, but as I get to scale, that’s not good enough. I need 100 percent.”
Outside the harness. A deterministic engine intercepts every action that touches the world and checks it against compiled rules. The model cannot read the rules and cannot change them. Its failure mode is coverage: it proves only what someone wrote down.
Greenlight is the fourth place, industrialized, and the interesting engineering is how it gets from English to enforcement.
How English Becomes a Proof
Three pieces, shipped separately this year. Strands Box, an open-source agent sandbox from October, intercepts every action that affects the outside world: an API call, a file write, a network request. Dogwood, a policy language from August, is built on first-order temporal logic, the branch of formal methods that handles how things change over time, which is what a spending cap or an ordered sequence of checks is. Greenlight sits between them. A language model reads your procedures, security standards, and the agent’s past traces, drafts rules in natural language, and writes the Dogwood versions in the background. Automated reasoning engines then check how those rules interact with each other and the agent’s tools, looking for combinations of access that could lead to an unintended action. After approval, the Dogwood is converted to Lean, checked, compiled to SQL, and enforced on every call.
Brooker’s explanation of why this is possible now is the sentence to keep: translating natural language into formal languages “has gone over the last five years from almost intractable to very, very tractable.” That is the whole bet, and a division of labor. The probabilistic part is used where being wrong is cheap and a person reviews the output: drafting. The deterministic part is used where being wrong is expensive and nobody is watching: enforcement. The model writes the rulebook and is then locked out of the room where it is applied.
The default is as deliberate. Greenlight starts an agent with no tools and no network destinations, and the user, in AWS product manager Cami Novelli-Killeen’s phrase, “pokes holes in the box.” Before a rule is accepted, the service shows the recorded tool calls it would have blocked; after deployment it proposes updated rules from new traces for a human to approve.
Two Vendors, One Day, Opposite Defaults
The same day, Mistral opened Managed Agents to public preview: agents that run for hours or days and resume from the last finished step after a crash. Its permission settings are a good version of the second place on the list. PermissionPolicy takes ordered rules with glob patterns over tool IDs and argument values; the first match wins; calls that match nothing get the policy’s default, so default="deny" turns the whole thing into an allowlist.
It is also not the default. The agent’s permission_mode ships as "auto", and the documentation defines that without hedging: an agent with no policy runs every tool call it decides to make. The CLI shows the gap in its own summary line, permissions auto · no policy: the state of every agent deployed by someone who has not thought about it.
Two credible vendors, twenty-four hours apart, opposite assumptions. One treats the agent as guilty until a rule lets it act. The other assumes the developer will remember to write a policy before the first deploy, in the one configuration that cannot express the rules most businesses care about.
Why this matters this week is on the other side of the ledger. On Monday the FBI launched Countershift, a ninety-day campaign across all fifty-five field offices, after warning that attackers using the open-source ARTEX framework went from targeting an organization to privileged access in under three hours. Two of its six “shifts” are defend at machine speed and secure and harness AI. A human approving each step is a control designed for an adversary who waits for an answer.
Infrawatch’s analysis of 128 AI-assisted intrusions includes one attacker who tested a fintech’s production agent by planting a malicious tool on its tool-discovery endpoint. The company’s own agent found the tool, approved it automatically, and ran it. That is auto with no policy, meeting someone who knew it. Infrawatch sells infrastructure data and says its sample is not representative, so read it as an example, not a rate.
The Model’s Job Moved From Obeying to Drafting
The inversion is the point. Under the prompt paradigm, the model’s job is to obey rules. Under Greenlight, its job is to write them, and then it is removed from the enforcement path entirely. The prompt that starts it is “govern my agent”: you ask your coding agent to propose the policies binding the agent you are building, and the person who knows the job approves. Novelli-Killeen wants it to feel like “a mathematician sitting next to you.”
The alternative, a person approving each step, does not hold on either side of the table. On the defender’s side, Theimer described enterprise agents “sitting in purgatory” because security chiefs will not sign off on software that could do real damage, and Novelli-Killeen named the condition of the ones who do: allow fatigue. This blog covered the number in August: human reviewers approve 93 percent of agent requests and miss about a third of the dangerous ones. On the attacker’s side, three hours.
The customer list shows which rules permission lists could not hold: Datadog is wiring its AI gateway to Greenlight to enforce caps on cumulative model spend.
The Same Bet, Pointed at Code
The day before Greenlight, AWS announced Project C2: the same division of labor aimed at the other thing an agent touches. A language model reads a codebase and its documentation and models what the system is supposed to do. The Lean theorem prover then tries to prove the implementation matches. When the proof fails, either the intent model is wrong and the system refines it, or there is a real bug. For a real bug, C2 writes a test that reproduces it in the implementation, rates severity, and drafts a fix it can also prove correct.
The numbers are vendor-reported and the preview is gated, but the shape matters: more than 800 bugs across 22 popular open-source projects, concentrated in error-handling code, which rarely runs and matters most when it does. In one, a Raft-based key-value store’s leader lost its status mid-batch and kept revoking leases the new leader had renewed, a bug that can leave a cluster with two payment processors. AWS’s argument for why a model alone cannot do this: a single round of Paxos agreement among three machines can play out in over 90,000 orders, before lost packets and retries. “It’s not possible for a human developer, or even a cutting-edge AI model, to consider all those possible orders, but it is something that mathematics is particularly good at solving.”
C2 and Greenlight are one idea: neural for the translation from informal to formal, symbolic for the check. When Lean went through CI, the lesson was that the checker, not the model, is the story. The posture is unusual: AWS is shipping a product whose premise, in its own words, is that “even with frontier models, agents are not able to diagnose and fix the issues caused by subtle distributed systems bugs,” and routing around the gap with math instead of a bigger model.
What the Proof Does Not Cover
The honest limit is the translation, and the person AWS put in front of Spectrum to say so is formal-methods professor André Platzer. Paraphrasing Alan Perlis: there is no formal way to go from the informal to the formal, so you are never certain the English was rendered correctly in logic. Formal methods answer “did I build the thing right,” not “did I build the right thing.” Theimer concedes the same from the product side: the proof covers only the rules a company specifies.
Put those limits together and the new attack surface has a name: the draft. The instruction file became the exploit because it was the one input every agent trusted. The policy draft is the next one, and worse in a specific way: a rule mistranslated into Dogwood is not just wrong, it comes with a proof, and a formally verified wrong rule is harder to argue with than a sentence in a prompt. The human who approves the natural-language version is the only one who can catch it, which makes that approval the step that must not become a formality.
AWS’s answer is process, not proof: show what a rule would block before you accept it, replay past sessions against new policies, and treat rule updates as a loop fed by traces. Shawn Bice, who leads the automated reasoning group, calls the framework trust in depth: scope the agent, know its identity, bound it, watch it, prove it. “There is no silver bullet in anything that I’m saying right now.” Greenlight does not yet cover multi-agent systems, which is where Siren’s finding lives on: the agent that argues a step is allowed is still in the prompt, and the paragraph still helps. It is just not a control. It is a courtesy the model extends when it has no reason not to.
What to Do This Week
- Sort every rule into the four places. Prompt, permission list, judge, enforcement. For each, ask what happens if the model disagrees with it. If the answer is “it complies anyway,” you have a control. If the answer is “it usually complies,” you have a mitigation. Both are fine; they do not belong on the same line of a security review.
- Move every rule with money or personal data attached out of the prompt. Keep the paragraph; Siren says it works. Do not count it as enforcement. The refund cap, the spend limit, and “never email the customer list” belong somewhere the model cannot edit.
- Check your default before your first deploy. If your SDK’s permission mode is
autoand no policy is set, every tool call runs. Write the policy first, default to deny, and poke holes deliberately. Mistral’s ordered rules with a default are a good template even if you never touch Mistral. - Find the rule your permission list cannot say. Monthly caps, cumulative limits, “only after the required checks,” sequences that must happen in order. If a rule depends on history or time, a glob cannot hold it. That is the gap, and it needs either a formal policy or a human gate.
- Replay before you deploy a new rule. You do not need Greenlight for this. Run your last hundred traces against the rule and count what it would have blocked. A rule that blocks nothing in a hundred real sessions is either unnecessary or wrong, and you want to know which before the agent does.
- Treat rule drafts as code. Versioned, diffed, reviewed by the person who knows the job. The model drafts, the expert approves, the engine enforces. The translation is where errors enter and the only step a human is in.
- Log blocked actions and read them weekly. A block is the agent telling you where your rules and its job disagree. That list is your rule backlog, and a rule that blocks the same legitimate step every week is one you owe the agent an exit from.
In Harness Engineering: The Complete Guide to Agent-First Software Development, I defined a harness as everything between the model’s output and a result you can trust. Greenlight is a harness component the model never sees, which is what makes it a harness rather than a prompt. Last week’s conclusion stands: the cheapest mitigation is a paragraph. This week’s addendum: a mitigation lowers the chance, a control removes the option, and the agent that will move money needs both.