On December 1, 2026, IEEE Spectrum reported that AWS had unveiled Greenlight, a tool that converts natural-language instructions into formally verified policies enforced when an AI agent attempts an external action. The mechanism does not make the underlying language model predictable. It places a deterministic decision point between the model and tools such as APIs or file systems.
For commercial operations teams, that distinction matters. An agent can still generate variable plans or responses, while its authority to execute those plans is governed separately. Greenlight is designed to make the policy-writing stage accessible without requiring each subject-matter expert to write formal logic.
Plain-English rules enter a formal chain
Greenlight begins with information that a business or technical owner can already provide. According to IEEE Spectrum’s account of the workflow, the tool reads an agent’s documentation and logs, infers its role and proposes policies in natural language. Users can amend those proposals or supply their own rules.
The system then represents the rules in Dogwood, AWS’s policy language for agents. Dogwood uses first-order temporal logic, allowing a policy to account for changing conditions and prior events rather than evaluating each action in isolation. This is relevant when permission depends on what the agent has already done, not just the current request.
Greenlight subsequently converts the Dogwood rules into Lean, a language used for machine-checkable proofs. AWS’s automated reasoning engines examine how policies interact with one another and with the tools available to the agent, looking for unintended paths through the rule set. Approved policies are then compiled into SQL for runtime evaluation.
The practical change is therefore not merely an easier policy editor. Natural-language business knowledge passes through a formal representation, proof checking and executable enforcement.

Conceptual illustration of Greenlight’s path from an informal rule to an executable formal policy.
The sandbox judges actions, not prose
Enforcement happens in Strands Box, an AWS software sandbox that intercepts actions affecting systems outside the agent, including API calls and file writes. The sandbox starts from a default-deny position. Policies selectively authorize the actions the agent needs for its assigned role.
This boundary separates reasoning from execution. An agent may draft an unsuitable action, but the sandbox can prevent that action from reaching the connected tool when it violates the approved policy. Each decision can also carry a proof explaining why the formal rules allowed or rejected it, according to AWS.
The protection applies to actions that pass through the sandbox. Greenlight is not described as a general guarantee that every generated statement is correct, nor does the mechanism independently establish that an agent’s recommendation is commercially sound. Its control point is the attempted use of an external capability.
AWS presents Greenlight as a plugin for coding assistants including Claude Code, Codex and Kiro. A developer can ask the assistant to propose policies while constructing an agent, rather than switching to a separate formal-methods workflow.
A quoting agent shows the practical boundary
Consider a hypothetical agent that prepares wholesale quotations. It can read a product catalog, calculate a proposed package, write a draft file and submit an approved quotation through an order API.
A Greenlight policy could permit catalog access and draft creation while allowing submission only after a required approval event has occurred. A temporal rule could consider the earlier event when judging the later API call. If no qualifying approval is present, the sandbox would deny submission even when the language model decides to proceed.
This example illustrates where formal enforcement adds value: the team defines an observable sequence of actions and states. The agent remains free to assemble a draft, but the consequential tool call has a deterministic gate.
The same mechanism cannot decide what an undefined phrase such as “an acceptable commercial exception” means. The business owner must convert that judgment into conditions represented by available data and events. If the necessary state is absent from the agent’s environment, the policy has nothing concrete to evaluate.

Conceptual illustration of a hypothetical quoting workflow in which drafting and external submission receive different permissions.
Proof does not validate the business rule
Formal verification answers whether the implemented policy behaves according to its specification. It does not prove that the natural-language instruction was translated with the meaning its author intended.
André Platzer, a professor at Karlsruhe Institute of Technology, told IEEE Spectrum that there is no formal route that can guarantee an informal statement was rendered correctly in logic. A mathematically valid policy can therefore enforce the wrong boundary if the source rule is ambiguous or its formal translation misstates the requirement.
Greenlight also cannot prove that the specification captures every desired behavior. AWS acknowledges that policy development is continuous rather than a single configuration step. The reported replay feature lets users apply revised policies to previous agent sessions and inspect how those rules would have treated earlier actions.
The immediate decision for a commercial operations team is whether a candidate agent has consequential tool actions that can be expressed through observable conditions. Greenlight offers a formal gate for those actions; the unresolved responsibility is ensuring that the policy expresses the business rule the team actually meant.