AWS Greenlight Preview: Formal Agent Guardrails Beyond Prompts
AWS Greenlight (Dec 1, 2026) pairs LLM policy drafting with automated reasoning to enforce deterministic Dogwood rules on AgentCore Gateway and Strands Box.

Q. I wrote in my prompt that the agent must verify identity before resetting a password—why does it still skip the rule sometimes? Large language models (LLMs) are probabilistic, so prompt instructions alone cannot guarantee 100% compliance. Announced in preview on December 1, 2026, AWS Greenlight drafts policies with an LLM, mathematically verifies every possible call sequence using automated reasoning, and enforces them deterministically outside the agent inside a gateway or sandbox.
⚠️ Accuracy guardrail: This article is based on the official AWS announcement (2026-12-01) and the AWS Greenlight User Guide as of December 2, 2026. Because the service is in preview, pricing details and specifications may change at GA; production pricing rates and a Seoul region (
ap-northeast-2) launch timeline are not disclosed in the public docs.
30-second summary
- Core idea: Feed internal policies, security standards, and past agent tool-call traces to generate Dogwood policies (an open-source extension of Cedar), verify them with automated reasoning, and deploy approved versions.
- Where it runs: Works directly inside Kiro (Power), Claude Code (Plugin), and Codex (Plugin), deploying policies to Amazon Bedrock AgentCore Gateway or the open-source Strands Box (
policy.dw). - Outage resilience: AWS Greenlight is called only during policy drafting and verification; runtime enforcement runs on your gateway or Strands Box, so enforcement continues even if the Greenlight service is unavailable.
- Supported regions: Preview is available in 7 AWS regions: US East (N. Virginia, Ohio), US West (Oregon), Europe (Frankfurt, Ireland, Stockholm), and Asia Pacific (Sydney).
Why prompt-only guardrails fall short
As you grant an agent more tools, permissions that look harmless on their own can combine into unintended data exfiltration or unauthorized actions.
Teams typically rely on system prompts or hand-written unit tests, but tests only cover scenarios the author anticipated. Because agents improvise across runs, keeping rules inside a probabilistic prompt leaves room for skipped steps.

How AWS Greenlight works in three stages
AWS Greenlight separates flexible policy drafting from strict runtime enforcement.
- Deny-by-default starting point: Each new agent starts with zero unapproved access to tools or network destinations.
- LLM drafting + automated reasoning: It extracts rules from your documents and past tool traces into Dogwood policies, then runs formal logic solvers across all possible call sequences.
- Deterministic enforcement outside the harness: Approved policies deploy to AgentCore Gateway (
pb_*policies) or Strands Box (policy.dw), blocking violating calls before execution where the agent cannot bypass them.

For example, if your refund policy requires manager approval above $500, any tool-call sequence that attempts a larger refund without a prior approval call is blocked at the gateway level. If you already use AWS Strands Box, Greenlight updates only its marked block in policy.dw.
Five pre-deployment checks and six verdict types
Before switching policies to Enforce mode, Greenlight validates your policy set in up to five ways:
| Check stage | What it verifies |
|---|---|
| Validation | Ensures policies never reference nonexistent tools or fields against your tool schema |
| Simulation | Replays recorded agent tool calls to preview which calls would have been denied |
| Analysis | Detects redundant policies, unreachable tools, and tools reachable by any input |
| Property checks | Proves claims like "never reset a password without identity verification" across all call sequences |
| Test cases | Generates paired compliant and violating sessions for order-dependent rules |
Property checks return one of six granular verdicts rather than a bare pass/fail:
Verified: Holds across every possible sequence of calls with no extra assumptionsVerified, assuming: Proven under explicitly listed assumptionsVerified, not replayed: Logically verified, though not yet replayed on recorded tracesHolds only for these spellings: Holds only for the exact literal strings checkedNot verified: A counterexample trace was found that breaks the propertyInconclusive: The solver could not reach a proof within its limits
Gateway, Strands Box, and regional availability
Greenlight isolates its own changes without overwriting existing policies or IAM credentials. On AgentCore Gateway, you can start in Log only mode to observe would-be blocks and update CloudWatch dashboards automatically before switching to Enforce. Note that direct HTTP passthrough endpoints still require your own allow policies once enforcement is turned on.
| Item | Details (as of 2026-12-01 Preview) |
|---|---|
| Coding agent integrations | Kiro (Power), Claude Code (Plugin), Codex (Plugin) |
| Policy language | Dogwood (open-source extension of AWS Cedar) |
| Enforcement targets | Amazon Bedrock AgentCore Gateway, Strands Box |
| Supported regions (7) | N. Virginia, Ohio, Oregon, Frankfurt, Ireland, Stockholm, Sydney |
| Credentials & IAM | Never modifies IAM permissions or opens credential files |

Toris's take
When to adopt now: If you are a solo builder or team wiring external APIs, payments, or database mutations into Claude Code, Codex, or Kiro, pairing Strands Box (policy.dw) with Greenlight's Log only simulation is far safer than piling rules into a system prompt. Alongside our earlier re:Invent 2026 AWS developer tools roundup, this signals AWS pushing formal verification across both coding and agent runtime governance.
When to wait: If your production gateways sit in Seoul (ap-northeast-2) or your compliance team needs finalized GA pricing before adopting preview tooling, waiting for regional expansion and GA terms makes sense.
Sources
Advertisement