AWS Greenlight Explained: Automated Reasoning Guardrails for AI Agents
A customer-service agent that can issue refunds is one bad inference away from refunding the wrong order, the wrong amount, or the same order twice. Prompt filters and output classifiers lower the odds, but they are probabilistic: they cannot promise that a forbidden action never happens. On December 1, 2026, AWS put AWS Greenlight into preview to close that gap.
It turns written procedures and past agent behavior into policies, uses automated reasoning to check those policies before they go live, and enforces them on every tool call outside the agent. That matters now because agents are moving from answering questions to moving money, resetting passwords and changing records. This explainer covers the mechanism from first principles: how prose becomes formal rules, what the solver actually proves, and where the guarantees stop.
What this covers: the Greenlight pipeline and its Dogwood policy language, the SMT reasoning underneath, a worked refund-agent example, a comparison with Bedrock Guardrails, Cedar and OPA, a threat model, and the documented limits.
Context and Background
Most agent safety controls today sit around the model’s text. Input filters look for prompt injection, output filters look for toxic or off-topic content, and structured-output validation checks that a tool call is well formed. Our guide to LLM output validation, structured outputs and guardrails covers that layer in depth.
These controls are useful, but almost all of them are statistical classifiers or schema checks. A schema check tells you amount is a number. It does not tell you the refund was approved.
The second family of controls is authorization. Policy engines such as Open Policy Agent (OPA), Cedar and the Zanzibar-style systems compared in our ReBAC, OpenFGA, SpiceDB and Cedar architecture guide answer one question per request: may this principal take this action on this resource right now? That model is deterministic, but it was designed for humans clicking buttons. It judges each request in isolation, and it relies on people writing the policies correctly.
Agents strain both assumptions. Business rules for agents are often about sequences: verify identity before resetting a password, look up the order before refunding it, never refund more than a set total in one session. And the people who know the rules write them in procedures and PDFs, not in policy code. Translating one into the other by hand is slow and error-prone.
AWS has been building toward this for a while. In March 2026, Policy in Amazon Bedrock AgentCore reached general availability, letting teams write tool-access rules in natural language that are converted to Cedar and enforced at the AgentCore Gateway. In mid-2026 AWS open-sourced Dogwood, a Cedar extension that can look back over an agent’s event history.
Greenlight is the layer that ties these together. It drafts policies from your sources, proves properties about them with a solver, and deploys them to the gateway’s policy engine.
How AWS Greenlight Works: Automated Reasoning for AI Agents
AWS Greenlight is a preview service that converts business rules, procedures and recorded agent tool calls into Dogwood policies, checks them with automated reasoning for gaps, conflicts and violations across every possible call sequence, and, after human approval, deploys them to an AgentCore Gateway or Strands Box where every tool call is allowed or denied before it runs.

Figure 1: The AWS Greenlight loop. An LLM drafts policies, automated reasoning checks them, a human approves, and the gateway enforces. New traces feed the next proposal.
The figure reads left to right. Two kinds of source feed the drafting step: documents such as procedures and security standards, and recorded tool calls from gateway logs. A clarification step resolves conflicts and vague terms.
The reasoning step runs up to five checks, a human approves a versioned policy set, and the gateway’s policy engine enforces it. Traces from enforcement loop back to propose updates.
The LLM drafts, the solver checks, the human decides
The AWS Greenlight product page is explicit about the division of labor: a large language model drafts rules, and automated reasoning, which uses mathematical logic, checks every combination of them. That split is the core design choice. LLMs are good at reading a refund procedure and producing a plausible rule.
They are bad at guaranteeing that rule has no loophole. Solvers are the reverse.
The AWS Greenlight user guide lists the sources the drafting step can use: documented procedures, plain-English descriptions, security standards, AWS Context graphs where a company has them, and recorded calls. The getting-started guide adds a practical detail. Only files copied into the project’s .greenlight working folder are read, and the time window for agent logs can be anything from one minute to 30 days.
Before any policy is written, AWS Greenlight surfaces clarifications. These come in three types. A conflict means two sources disagree and you pick the winner.
An assumption is an ambiguous term such as “shortly before the reset” that needs a concrete value. The third, labelled the agent’s word, is the most important for security. It flags a rule that depends on a value only the agent supplies, such as a receipt number typed into a refund call.
For that third case you choose between trusting the agent and not trusting it. Trusting enforces the rule but, in the documentation’s words, stops a missing value and not a fabricated one. Not trusting enforces only the checkable part and lists what would make the rest enforceable, such as a lookup tool. This is an honest framing of a hard problem, and we return to it in the threat model.
Dogwood: Cedar plus memory of the session
Greenlight’s output is not Cedar. It is Dogwood, which the user guide describes as an open-source policy language for AI agents that extends Cedar. Cedar evaluates each request in isolation. Dogwood adds temporal conditions that read the agent’s recent events, including tool requests and their responses.
According to InfoQ’s coverage of the Dogwood release, the language adds formerly, count_within, count_distinct_within and sum_within operators, plus a bind operator to compare an aggregate with the current request. These are standard-library macros over a subset of Metric First-Order Temporal Logic, not new primitives, and existing Cedar policies remain valid Dogwood. The reference implementation lives at the dogwood-policy GitHub repository under Apache-2.0. Its README warns that the interpreter is for testing semantics, not production authorization.
The user guide shows a real Greenlight-generated policy. It denies a password reset unless an identity check for the same user succeeded within 24 hours in the same session:
forbid (principal, action == AgentCore::Action::"helpdesk___reset_password", resource is AgentCore::Gateway)
unless temporal {
formerly within 24h AgentCore::Action::"helpdesk___verify_identity"::response{
input.user_name: context.input.user_name, output.verified: true, eventResource: resource }
};
Two details matter here. The condition reads the response of verify_identity, not just the request, so the agent cannot satisfy it by merely calling the tool. And the match ties input.user_name to the current request’s user, so verifying Alice does not unlock a reset for Bob. Those are exactly the subtle bindings a hand-written policy tends to get wrong.
Sessions are scoped explicitly. On a gateway, a session is one task, such as one help desk ticket, identified by the x-amzn-bedrock-agentcore-policy-session-id header. Session-dependent policies only see calls in the same session, which bounds both the history the engine must keep and what an attacker can smuggle in from elsewhere.
Enforcement outside the agent
The AWS News Blog launch post says AWS Greenlight enforces rules outside the agent and checks actions even when the agent makes a wrong decision. The product page adds that policies are enforced deterministically outside the agent’s harness, so the agent cannot change or bypass them, and that any call breaking a rule is blocked before it runs.
Mechanically, enforcement happens in the target, not in the Greenlight service. On an AgentCore Gateway, the gateway’s policy engine evaluates each tool call. Greenlight writes policies prefixed pb_<project id>, adds a pbmc_ policy so model calls keep working if the gateway has a model target, and uses temporary pbtmp_ policies during updates.
On a Strands Box it edits only a marked block of policy.dw. The guide states that your agent keeps working even if the AWS Greenlight service is unavailable, which tells you Greenlight is a control plane and the gateway is the data plane.
The policy engine has two modes, log-only and enforce, and each policy can also carry its own mode. The recommended rollout is log-only first, then asking “what would it have denied?”, then promoting to enforce. Strands Box has no log-only mode. Rollback restores the previous policies and engine mode with a single roll back command.
From First Principles: What the Solver Actually Proves
“Automated reasoning” is a broad term. Here it means encoding policies as logical formulas and asking a solver whether any assignment of values satisfies a formula that represents a violation. If no assignment exists, the property is proven for all inputs, not just the ones you tested.

Figure 2: How a property check works. The solver looks for any call sequence the policies allow that breaks the property. Finding none proves it.
The loop in Figure 2 is the standard refutation pattern. You state the property, negate it, conjoin it with the policy logic, and hand the result to a satisfiability solver. “Satisfiable” means a counterexample exists and the solver returns it as a trace.
“Unsatisfiable” means the property holds. A timeout yields Inconclusive.
SMT in one paragraph, and why AWS trusts it
Satisfiability Modulo Theories (SMT) solvers decide whether a logical formula is satisfiable when its variables range over theories such as integers, strings, bit-vectors and arrays. A policy like “allow if amount is under 250 and the order status is shipped” becomes a formula over an integer and a string. A property like “no refund over 250 without a manager approval” becomes another formula. Asking whether policy AND NOT property is satisfiable is a precise, mechanical question.
AWS has used this approach in production for years. The Zelkova engine, described in the FMCAD 2018 paper “Semantic-based Automated Reasoning for AWS Access Policies using SMT”, translates IAM and S3 bucket policies into SMT formulas to answer questions such as “is this bucket public?” It underpins IAM Access Analyzer, which our guide to AWS IAM policy evaluation logic and Access Analyzer walks through. The Greenlight user guide says its checks are the same kind of reasoning AWS uses in IAM Access Analyzer.
Cedar was designed with this in mind. The Cedar paper on arXiv, published at OOPSLA 2024, describes a language deliberately restricted so that policies can be encoded for SMT analysis, with a formal model used to verify the implementation. That restriction is why Cedar has no loops or unbounded recursion. It is also why extending Cedar with temporal history is not free.
From single requests to sequences
Cedar analysis reasons about one request. AWS Greenlight’s claim is broader: the user guide says a solver “searches every possible sequence of calls in a session for one that breaks a rule.” Sequences add a time dimension and history, which is where Metric First-Order Temporal Logic comes in. A property such as “the agent never resets a password without an identity check first” quantifies over every possible ordering of calls in a session.
InfoQ’s report on the Dogwood release noted that temporal conditions did not then support the automated analysis Cedar provides. The Greenlight documentation from December now describes sequence-level checks with explicit result categories, including Inconclusive under a time limit. AWS has not published how the analyzer encodes temporal operators, so treat the exact decision procedure as undisclosed. The practical takeaway is that sequence properties are checkable in many cases, and the tool tells you when they are not.
The five checks before anything goes live
The user guide lists up to five checks, depending on which sources and policies exist. Each catches a different class of mistake.
Validation checks policies against the tools’ schema, so a policy cannot reference a tool or field that does not exist. This catches the classic typo that makes a deny rule silently match nothing. Simulation replays recorded calls and shows which ones each policy would deny, but only when recorded calls exist. Analysis finds redundant policies, tools no call can reach, and tools any input can reach.
Property checks are the formal heart: they verify whether something can ever happen across all possible calls, not just recorded ones. Test cases apply to session-dependent policies. Greenlight writes one compliant and one violating example session and confirms the policy allows the first and denies the second. That last check is a sanity test on the policy author, which here is an LLM.
Reading the six result types
Results come in six categories, and the distinctions are where the real engineering value lies. The limitations page defines them precisely.
Verified means the property holds for every sequence of calls the policies allow. Verified, assuming means it holds as long as a call that returned did what it claimed, and the answer names the call; the solver cannot see real tool outputs. Verified, not replayed applies to “can this still happen?” checks: the policies allow a path, but replay could not confirm it.
Holds only for these spellings is the string trap. A policy that tests an exact string or a like pattern only covers those spellings, so ADMIN and admin may differ, and AWS Greenlight refuses to call it verified. Not verified comes with a counterexample trace ending in the forbidden call. Inconclusive is neither pass nor fail; the analyzer has a time limit and some policies are beyond what it can reason about.
That taxonomy is more candid than most security tooling. It encodes the difference between “proven”, “proven under an assumption you should check”, and “we could not tell”. Teams should treat anything short of plain Verified as a review item, not a pass.
Worked Example: A Refund Agent From Prose to Enforcement
The launch blog uses refunds as its example: a business can let a customer-service agent issue refunds while requiring necessary checks and keeping the agent within an approved limit. Let us make that concrete. The procedure, tool names and numbers below are illustrative, and the Dogwood code is modeled on the documented syntax rather than copied from AWS output.
Step 1: the written procedure
Suppose the refund procedure says four things. First, look up the order before refunding it. Second, refunds of USD 250 or less need no approval.
Third, refunds above USD 250 need a manager approval for that order. Fourth, never issue more than one refund per order in a single ticket.
The agent has three tools behind the gateway: orders___lookup_order, orders___issue_refund, and approvals___get_manager_approval. The triple-underscore naming follows the target-plus-tool pattern visible in the documented helpdesk policy.
Step 2: clarifications
Greenlight would likely raise at least two clarifications here. “Look up the order” is an assumption: within what window, and must the lookup succeed? A reasonable answer is a successful lookup of the same order ID earlier in the same session. The approval rule is an agent’s-word item if approval arrives as free text in the refund call, because the agent could fabricate it.
The fix is to choose “don’t trust the agent” and make approval checkable through the get_manager_approval tool’s response. That converts an agent-supplied claim into a tool-observed fact. This is the single most useful design move in the whole example.
Step 3: the policies
Using the documented formerly within form, the lookup rule might read:
// Illustrative, modeled on documented Dogwood syntax
@id("refund_requires_lookup")
forbid (principal, action == AgentCore::Action::"orders___issue_refund", resource is AgentCore::Gateway)
unless temporal {
formerly within 2h AgentCore::Action::"orders___lookup_order"::response{
input.order_id: context.input.order_id, eventResource: resource }
};
The cap and approval rule splits into a plain Cedar condition on the amount and a temporal condition on the approval response:
// Illustrative
@id("refund_over_cap_requires_approval")
forbid (principal, action == AgentCore::Action::"orders___issue_refund", resource is AgentCore::Gateway)
when { context.input.amount_cents > 25000 }
unless temporal {
formerly within 2h AgentCore::Action::"approvals___get_manager_approval"::response{
input.order_id: context.input.order_id, output.approved: true, eventResource: resource }
};
The amount is in integer cents on purpose. The limitations page documents that an AgentCore gateway rounds amounts in the call being decided to four decimal places before comparison. Its own example is that a limit written as “more than 500.0” allows 500.00004. Integer cents remove the ambiguity, and AWS recommends exactly that.
The once-per-order rule maps to a count over the session history. Dogwood’s count_within operator is designed for this, but its exact syntax is not shown in the sources we verified, so we describe it rather than guess: deny issue_refund when the count of earlier successful issue_refund responses for the same order_id in the session is at least one.

Figure 3: Enforcement in a single session. The engine evaluates each call with the session’s history and denies the over-cap refund before it reaches the order system.
Step 4: properties and what the solver says
Now state properties in plain language. “Can the agent ever issue a refund without a prior lookup of the same order?” “Can the agent ever refund more than USD 250 without an approval?” “Can the agent refund the same order twice in a session?” The getting-started guide shows exactly this style of check command, for example asking whether the agent can ever issue a refund without a manager’s approval.
Expect three kinds of answer. The lookup property should come back Verified, assuming, because the solver cannot know whether lookup_order returned the real order. The approval property should be Verified if amounts are in cents, or Not verified with a rounding trace if they are decimals. The double-refund property depends on recording: on a Strands Box, history is saved in batches about once a second, so a crash can lose the latest calls and let a count-based limit through.
You can also ask about a concrete sequence, such as a USD 2,000 refund to order 1234 with no approval. Replay answers Allowed, Denied at call n, or Not decided at call n. Figure 3 shows the shape of an allowed and a denied path.
Step 5: rollout
Deploy in log-only mode, let real traffic flow for a few days, and ask what would have been denied. If a legitimate pattern would have been blocked, say a supervisor-initiated refund that bypasses lookup, you learn that before customers do. Then promote to enforce. Each approved set becomes a numbered version, and rollback restores the previous set and engine mode.
One documented gotcha deserves a callout here. Raw HTTP pass-through requests behind the gateway, for example to an AgentCore Runtime endpoint, carry no tool name or inputs. Once the engine enforces, those are denied unless you add your own allow policy. Greenlight warns about this, but it is the most likely way to cause an outage on the day you flip to enforce.
Where AWS Greenlight Sits: Guardrails, Authorization and Identity
AWS Greenlight is easy to confuse with three neighbors, and two of them share the “automated reasoning” label. The table separates them by what each one judges and where it runs.
| Control | What it judges | Deterministic? | Where it runs | Sequence-aware? | Status (Dec 2026) |
|---|---|---|---|---|---|
| AWS Greenlight | Agent tool calls against verified policies | Yes at enforcement; LLM only at drafting | AgentCore Gateway policy engine or Strands Box | Yes, via Dogwood | Preview |
| Policy in AgentCore | Agent tool calls against Cedar policies | Yes | AgentCore Gateway | No, per request | GA since March 2026 |
| Bedrock Guardrails Automated Reasoning checks | Factual claims in model text against a formalized policy | Validation is logic-based; extraction from text is model-based | Bedrock Guardrails on model output | No | GA since August 2025 |
| Prompt and content filters | Text for injection, toxicity, topics | No, classifier-based | Around the model | No | Varies |
| Cedar or OPA in your app | Any request your code routes through it | Yes | Your service | Not natively | Open source |
| IAM and scoped credentials | AWS API calls by the agent’s identity | Yes | AWS service endpoints | No | GA |
Bedrock Guardrails Automated Reasoning checks are about answers, not actions
The most common confusion is with Automated Reasoning checks in Amazon Bedrock Guardrails, which entered preview in December 2024 and became generally available in August 2025. That feature validates what a model says: it formalizes a document such as an HR leave policy and checks whether a generated answer is consistent with it. AWS markets it with an “up to 99% verification accuracy” figure, which is a vendor claim.
Greenlight validates what an agent does. One checks a sentence like “you are eligible for 20 days of leave”; the other blocks an issue_refund call. A chatbot that only answers policy questions needs the former.
An agent with write access needs the latter. Many production agents need both.
Policy in AgentCore is the engine; Greenlight is the author and verifier
Policy in AgentCore already intercepts gateway traffic and evaluates each tool request against Cedar policies, and it already converts natural-language rules into Cedar. Greenlight writes into the same policy engine, using the pb_ prefix, and leaves other policies untouched. The difference is scope. AWS Greenlight adds sequence-aware Dogwood policies, mines rules from procedures and traces, and runs the formal checks and approval workflow.
If your rules are all single-request rules, such as “this agent may only call read tools” or “amount must be under 500”, Policy in AgentCore alone may be enough. Once rules reference history, such as “after”, “before”, “at most N per ticket” or “total in this session”, Greenlight’s Dogwood output is the reason to adopt it.
Cedar or OPA in your own service
You can enforce agent rules in your own code with Cedar or OPA, and many teams already do. The cost is that your service must keep session history, compute aggregates, and attach them to every request as context. You also build your own analysis pipeline.
Our Kubernetes ValidatingAdmissionPolicy and CEL guide shows how much tooling a policy-as-code workflow needs before it is trustworthy. Greenlight is attractive mainly when your tools already sit behind an AgentCore Gateway.
Identity still bounds the blast radius
AWS Greenlight decides whether a tool call is allowed. It does not change what the tool’s credentials can do once called. The user guide states plainly that credentials and IAM are not changed.
So the agent’s identity, its role, and short-lived scoped credentials still define the worst case if a policy has a gap. Our guides to AI agent identity, OAuth token exchange and delegated authorization and AWS STS GetScopedCredentials for agents cover that layer.
Greenlight does include optional stack checks for gateways. A permissions check uses IAM Access Analyzer to compare Runtime and gateway roles with AgentCore’s recommendations. A network check uses Network Access Analyzer to find paths beyond AgentCore’s private setup. Both are read-only apart from the analyzer resources the network check creates.

Figure 4: Defense in depth for agents. Greenlight’s policies sit at the gateway between probabilistic text guardrails and identity-based controls; each layer catches failures the others miss.
Threat model
The table maps realistic agent failures to whether Greenlight’s deterministic enforcement stops them. It assumes tools sit behind an enforcing gateway with policies like the refund example.
| Threat | Example | Does Greenlight stop it? | Residual risk and mitigation |
|---|---|---|---|
| Prompt injection asks for a forbidden action | Email says “refund order 77 for 5,000 dollars” | Yes, if the action violates a verified policy | Injection that stays within policy still succeeds; scope policies tightly |
| Agent skips a required step | Refund without lookup | Yes, sequence policy denies it | Lookup output may be wrong; result is Verified, assuming |
| Agent fabricates an agent-supplied value | Invents a receipt number or approval code | Only if marked Don’t trust and checked via a tool | Trusts the agent rules stop missing values, not fabricated ones |
| Value spelled differently | Admin vs admin, encoded IDs |
Partly; flagged as Holds only for these spellings | Normalize in tools; prefer enums and IDs |
| Numeric edge case | 500.00004 under a 500 cap | Yes if integer cents are used | Decimals rounded to 4 places at the gateway |
| Free-text payload abuse | Destructive SQL or shell in a tool input | No; rule is Not enforceable | Use read-only DB users and narrow tools |
| Cross-session aggregation | Many small refunds across tickets | No; history is per session | Enforce aggregates in the system of record |
| Bypass of the gateway | Agent calls an API directly | No; outside the enforcement point | Network isolation and IAM; run the network check |
| History loss | Box crash drops the last calls | Count limits can let a call through | Use gateway targets for count-critical rules |
| Wrong rule approved | Clarification answered incorrectly | No; Greenlight enforces what you approve | Domain owner review; log-only soak |
The pattern is clear. AWS Greenlight is strong against actions that are visible in tool names and structured inputs, and against skipped steps within a session. It is weak where truth lives outside the call, such as free text, real tool outputs, cross-session totals, and direct network paths. For the broader injection picture, see our analysis of agentic AI security and prompt injection.
Trade-offs, Gotchas, and What Goes Wrong
Proofs are only as good as the rule you approved. A solver proves that policies satisfy a property. It cannot prove the property captures what the business meant. If a clarification sets “shortly before” to 24 hours when compliance meant 15 minutes, every check will pass. The human approval step carries the real risk, so it needs a domain owner, not only an engineer.
The analyzer treats inputs as any value of their type. The documentation says it treats amount as any number even if your agent only sends small amounts. That is the right default for safety, but it can make properties fail on inputs that never occur. It also means the analyzer knows nothing about your directory or IAM, and controls outside the policies can deny calls a trace shows as allowed.
Assumptions about the platform can drift. The analyzer relies on event assumptions such as one outcome per request and unique timestamps to the nanosecond. AWS says it verified these at a point in time and does not detect later platform changes that break one. Re-run checks after platform upgrades.
Quotas cap the size of what you can prove. Simulation replays calls against at most 40 policies at once. Duplicate and property checks handle up to 200 policies, fewer on targets with many tools. Each policy is at most 10,000 characters.
Very large numeric limits cannot be checked exactly; on a Strands Box the threshold starts at 92,233.7204. Large, monolithic agents will hit these limits sooner than focused ones.
Tool changes silently stale your policies. Greenlight builds the tool schema each time it proposes policies. If tools change, you must run it again and update policies. Wire that into your release process, or a renamed field will turn a deny into a no-op until validation catches it.
Free text is out of scope. Rules about SQL, shell commands or other free-form payloads are marked Not enforceable. That is honest, but it means the riskiest tools, such as a generic database tool, need structural fixes like read-only users rather than policies.
Cost is undisclosed. As of December 2, 2026, AWS has not published Greenlight pricing. The getting-started guide says you pay for the resources you use, such as the gateway, CloudWatch Logs and an S3 bucket, and that CloudWatch charges for dashboards beyond the first three per account. Budget for those while the service is in preview.
Preview means change. The user guide states the service is in preview and subject to change. The product page also describes new agents starting deny-by-default, while the user guide only details denial for specific cases such as HTTP pass-through. Verify the default posture in your account before relying on it.
Practical Recommendations
Start with one agent whose actions are expensive and structured, such as refunds, password resets or access grants. Those are the cases where deterministic enforcement pays for itself and where rules are already written down. Avoid starting with a general-purpose agent that holds a free-form database tool, because most of its rules will come back Not enforceable.
Before running AWS Greenlight, reshape the tools. Make amounts integer cents, make status values enums, and add lookup tools that return the facts a rule depends on. Every time you replace an agent-supplied claim with a tool-observed fact, a “Trusts the agent” rule becomes a verifiable one. That tool design work does more for safety than any policy tweak.
Treat the approval report like a code review. Read the Requirements tab first and look for anything Not enforced, Not enforceable or From a dropped source. Then read Properties and treat anything other than plain Verified as a ticket.
Keep the .greenlight folder in version control so policy versions, reports and service call logs are auditable. Our piece on AI agent audit logging and identity covers what auditors will ask for.
Keep defense in depth. Greenlight does not replace input and output guardrails, scoped credentials, network isolation or checks in the system of record. It sits between them and makes the gateway’s decision provable. Red-team the combined system, not each layer alone; our LLM red-teaming guide is a starting point.
A short checklist:
- Put the agent’s tools behind an AgentCore Gateway and send a stable session ID header per task.
- Convert money to integer minor units and free-text fields to enums or IDs.
- Answer “the agent’s word” clarifications with “Don’t trust” and add lookup tools.
- Require a domain owner to approve each policy version.
- Run log-only for a representative traffic window, then promote.
- Add an allow policy for HTTP pass-through before enforcing.
- Re-run Greenlight whenever tool schemas change.
- Enforce cross-session aggregates in the system of record.
Frequently Asked Questions
What is AWS Greenlight?
AWS Greenlight is an AWS service, in preview since December 1, 2026, that keeps AI agents within approved rules. It drafts policies from your procedures, standards and recorded agent tool calls, checks them with automated reasoning for gaps and conflicts, and after human approval deploys them to an Amazon Bedrock AgentCore Gateway or a Strands Box. There, every tool call is allowed or denied before it runs. The policies are written in Dogwood, an open-source extension of Cedar that can reason about earlier calls in a session.
Is AWS Greenlight generally available, and where?
No. AWS announced it in preview on December 1, 2026, and the user guide says it is subject to change. The What’s New post lists seven regions: US East (N.
Virginia), US East (Ohio), US West (Oregon), Europe (Frankfurt), Europe (Ireland), Europe (Stockholm) and Asia Pacific (Sydney). It is installed as a power for Kiro, a plugin for Claude Code, or for Codex, and deploys to AgentCore Gateway or Strands Box. AWS has not published pricing; you pay for underlying resources.
How is Greenlight different from Bedrock Guardrails Automated Reasoning checks?
Bedrock Guardrails Automated Reasoning checks validate what a model says. They compare factual claims in a generated answer against a formalized policy document, such as an HR policy, and flag inconsistent answers. Greenlight validates what an agent does.
It sits in the tool-call path and denies actions that break verified rules, including rules about the order of calls. A question-answering assistant mainly needs the first. An agent that can change records or move money needs the second, and often both.
Does automated reasoning make an AI agent provably safe?
No. It proves that the approved policies satisfy stated properties for every input the analyzer considers. It does not prove the properties match the business intent, that tools return truthful outputs, or that the agent cannot reach systems outside the gateway.
AWS Greenlight’s result types make this explicit, with categories such as Verified, assuming and Inconclusive. Treat it as a strong, auditable guarantee about one enforcement point, combined with identity, network and application-level controls.
What is Dogwood and how does it relate to Cedar?
Dogwood is an Apache-2.0 policy language for AI agents that AWS open-sourced in 2026. It keeps Cedar’s syntax and adds temporal conditions that look back over an agent’s event history, with operators such as formerly, count_within and sum_within. Every Cedar policy is a valid Dogwood policy.
Greenlight generates Dogwood, and policies lower to Cedar for evaluation. The public reference interpreter is for testing semantics; production enforcement runs in AgentCore Gateway or Strands Box.
Can Greenlight stop prompt injection?
It stops the consequences of injection when the resulting action breaks a verified policy, because enforcement happens outside the model and cannot be talked out of. It does not detect the injection itself. An injected instruction that leads to an action within policy, such as a small refund to a valid order, still succeeds. Pair it with input filtering, narrow tools and tight policy limits, and keep the riskiest actions behind tool-verified approvals.
Further Reading
- LLM output validation, structured outputs and guardrails — the probabilistic and schema layer that sits before Greenlight’s deterministic checks.
- AI agent identity and delegated authorization with OAuth token exchange and workload identity — who the agent is and on whose behalf it acts.
- ReBAC, Zanzibar, OpenFGA vs SpiceDB vs Cedar — the authorization engines behind per-request policy decisions.
- LLM tool-calling determinism patterns — making the calls Greenlight evaluates more predictable.
- AWS Greenlight for Agents user guide — concepts, checks, enforcement and limitations.
- Dogwood policy language on GitHub — the open-source language and reference interpreter.
By Riju — about
