AWS Introduces Greenlight to Draft and Formally Verify Policies for AI Agents AWS introduced AWS Greenlight, an automated reasoning service that drafts policies for AI agent tool calls, formally verifies them, and enforces approved policy sets outside the agent via Amazon Bedrock AgentCore Gateway or Strands Box, available as a power for Kiro and a plugin for Claude Code and Codex. Greenlight writes policies in Dogwood, an open-source language extending Cedar with temporal conditions over earlier calls in a session, and its checks return Verified, Not verified, or Inconclusive; AWS's official limitations state the analyzer treats tool inputs as any value of their type and does not read IAM or a company directory. In a first-impressions review, Fabio Douek found the $500 refund cap verified but a lookup-first rule failed until a fourth policy required the request itself inside the 24-hour window, and Karlsruhe Institute of Technology professor André Platzer told IEEE Spectrum "you're never really sure whether the informal natural English language was rendered correctly in logic. AWS has introduced AWS Greenlight https://aws.amazon.com/about-aws/whats-new/2026/12/aws-greenlight-preview/ , 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 https://docs.aws.amazon.com/greenlight/latest/userguide/getting-started.html , and deploys approved policies to Amazon Bedrock AgentCore Gateway or Strands Box https://docs.aws.amazon.com/greenlight/latest/userguide/what-is-greenlight.html . 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 https://www.my2cents.ai/deep-dive/aws-greenlight/ , 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 https://github.com/dogwood-policy/dogwood/ , an open-source language that extends Cedar https://aws.amazon.com/blogs/opensource/introducing-dogwood-runtime-verification-for-ai-agents/ 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 https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html , 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 https://docs.aws.amazon.com/greenlight/latest/userguide/limitations.html 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 https://www.my2cents.ai/deep-dive/aws-greenlight/ , Fabio Douek https://x.com/FDouek/status/2127914132934471954 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 https://spectrum.ieee.org/aws-greenlight-formal-logic-agents :~:text=%E2%80%9CYou%E2%80%99re%20never%20really%20sure%20whether%20the%20informal%20natural%20English%20language%20was%20rendered%20correctly%20in%20logic%2C%E2%80%9D%20Platzer%20says. , 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 https://x.com/adi ityadi/status/2128103794948923743 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 https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/policy.html , which already authorizes tool calls at the gateway with Cedar and, since August, Dogwood. Amazon Bedrock Guardrails Automated Reasoning checks https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-automated-reasoning-checks.html evaluate what a model says, not whether a tool call may proceed. Teams that write policies by hand can use the Dogwood CLI https://github.com/dogwood-policy/dogwood/ or more general engines such as Open Policy Agent https://www.openpolicyagent.org/ . NVIDIA NeMo Guardrails https://docs.nvidia.com/nemo/guardrails/latest/index.html takes a programmable, largely model-in-the-loop approach rather than a solver over every call sequence.