AWS has introduced AWS Greenlight, an automated reasoning service that drafts policies for an agent's tool calls, checks them formally, and enforces the ones you approve outside the agent. It is available as a power for Kiro and as a plugin for Claude Code and Codex, and deploys approved policies to Amazon Bedrock AgentCore Gateway or Strands Box.
The hook for developers is that a rule such as deny any refund over $500, one of the two rules in AWS's refund sample agent, no longer has to live in a system prompt the model can ignore. A prompt such as govern my agent starts a review loop: Greenlight drafts policies from procedures, regulations, and recorded traces, including unwritten rules, then looks for gaps, conflicts, and risky combinations of access. Nothing is applied until a person approves a policy set. Enforcement runs on the gateway or in the box, so the agent keeps working if the Greenlight service is unavailable. A gateway can start in log-only mode; a Strands Box has no log-only mode.
Greenlight writes the policies in Dogwood, an open-source language that extends Cedar with temporal conditions over earlier calls in the same session. According to AWS, an LLM drafts the rules, then automated reasoning, the same family of techniques used in IAM Access Analyzer, translates the set into formal logic and a solver searches every possible sequence of calls in a session for one that breaks a rule. Before a set is turned on, Greenlight can validate policies against the tool schema, replay recorded calls, and run property checks that return Verified, Not verified, or Inconclusive.
Those proofs are narrower than some launch posts imply. The official limitations say the analyzer treats tool inputs as any value of their type, does not read IAM or a company directory, and assumes any well-typed tool return is possible, so a trace shows that the policies would not stop a sequence, not that it will happen. Checks can time out as Inconclusive. On an AgentCore gateway, amounts are rounded to four decimal places, and temporal policies typically look back only 24 hours within a session.
In a first-impressions review, Fabio Douek ran AWS's refund sample in his own account. The $500 cap was verified, but a lookup first rule was not: the first draft only looked for the lookup's response, so a request just outside the 24-hour window still counted. After a fourth policy required the request itself inside the window, the checks passed. When he asked whether the set blocked a second refund of the same order, the service showed that never more than $500 did not mean never refund an order twice. Most of his time, he wrote, went into preview setup rather than into Greenlight itself.
André Platzer, a professor at Karlsruhe Institute of Technology, made a similar point in IEEE Spectrum saying:
There is no formal way to go from the informal to the formal, so you're never really sure whether the informal natural English language was rendered correctly in logic.
Separately, platform engineer Aditya Aggarwal commented on X: AWS says Greenlight checks every tool call and enforces the policy outside the harness, on AgentCore Gateway or Strands Box. Does that mean it sees the bash command, or the API call the command turns into? An agent with a shell can reach the same action ten ways.
Greenlight sits on top of AgentCore Policy, which already authorizes tool calls at the gateway with Cedar and, since August, Dogwood. Amazon Bedrock Guardrails Automated Reasoning checks evaluate what a model says, not whether a tool call may proceed. Teams that write policies by hand can use the Dogwood CLI or more general engines such as Open Policy Agent. NVIDIA NeMo Guardrails takes a programmable, largely model-in-the-loop approach rather than a solver over every call sequence.