Skip to content
New Year BoostTop up
Apixo
Blog
news· 4 min read· via InfoQ AI & ML

AWS Greenlight Brings Automated Reasoning and Policy Verification to AI Agent Tool Calls

AWS has launched Greenlight, an automated reasoning service that drafts, verifies, and enforces policies for AI agent tool calls outside of system prompts.

AWS Greenlight Brings Automated Reasoning and Policy Verification to AI Agent Tool Calls

AWS has introduced Greenlight, an automated reasoning service designed to draft, verify, and enforce policies for AI agent tool calls. Rather than relying on system prompts that language models might bypass or ignore—such as a rule prohibiting refunds over $500—Greenlight moves policy enforcement outside the model harness.

Automated policy drafting and formal verification

Greenlight is available as a power for Kiro and as a plugin for tools like Claude Code and Codex. When deployed, approved policy sets are sent to either the Amazon Bedrock AgentCore Gateway or a Strands Box.

The workflow begins when a developer uses a prompt such as "govern my agent." This initiates a review loop where Greenlight drafts policies from regulations, written procedures, and recorded execution traces, even identifying unwritten rules. Greenlight writes these policies in Dogwood, an open-source language extending Cedar to support temporal conditions over previous tool calls within the same session.

Underneath, an LLM drafts the initial rules. Then, automated reasoning techniques—similar to those used in AWS IAM Access Analyzer—convert these rules into formal logic. A solver searches all possible call sequences within a session to find any path that violates a rule. Before deployment, Greenlight validates policies against tool schemas, replays recorded traces, and runs property checks that yield results of Verified, Not verified, or Inconclusive. Crucially, human approval is required before any policy set is applied.

What it means for developers

For developers building autonomous AI agents, Greenlight offers a structured method to isolate access controls from model behavior. Because policy enforcement takes place directly on the gateway or within the Strands Box, agent operations continue even if the Greenlight service itself becomes unavailable. Additionally, AgentCore Gateway allows developers to start in a log-only mode, whereas Strands Box enforces rules immediately without a log-only option.

As developers evaluate agent capabilities across multiple foundational models, managing integration costs remains essential. Developers can try top AI models cheaply through one API at https://apixoai.online, which provides pay-per-token access to Claude, GPT, Gemini, Grok, DeepSeek, and other leading models using a single API key.

Greenlight builds upon AgentCore Policy, which authorizes gateway tool calls using Cedar and Dogwood. This contrasts with Amazon Bedrock Guardrails Automated Reasoning, which evaluates model text output rather than checking whether a tool call is permitted to proceed. Teams preferring manual policy creation can still utilize the Dogwood CLI or general-purpose engines like Open Policy Agent, while alternative frameworks like NVIDIA NeMo Guardrails use a model-in-the-loop technique rather than exhaustive solver searches.

Practical limitations and community feedback

Despite its formal reasoning capabilities, Greenlight operates within specific boundaries detailed by AWS. The automated analyzer treats tool inputs strictly as any valid value of their given type, does not read company directories or AWS IAM permissions, and assumes any properly typed tool return can occur. Consequently, a passing verification trace indicates that policies would not block a sequence, rather than guaranteeing that the sequence will happen. Additionally, checks may time out as Inconclusive, amounts are rounded to four decimal places on AgentCore Gateway, and temporal conditions typically inspect only a 24-hour window per session.

Early hands-on reviews highlight these practical nuances. In a first-impressions test, Fabio Douek deployed AWS's refund sample agent in his account. While a $500 refund cap was verified successfully, a "lookup first" rule initially failed verification because the first draft only checked for the lookup's response; a request falling outside the 24-hour lookback window was still counted. Achieving verification required adding a fourth policy specifying that the request itself occurred within the window. Douek also noted that restricting refunds over $500 did not automatically prevent an agent from refunding the same order twice, and observed that most of his time was spent on preview setup rather than policy drafting.

Academic and engineering experts have raised additional considerations. André Platzer, a professor at Karlsruhe Institute of Technology, noted in IEEE Spectrum: "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." Platform engineer Aditya Aggarwal raised operational questions on X, asking whether Greenlight evaluates raw bash commands or the downstream API calls they generate, noting that an agent provided with shell access can execute the same underlying action in multiple ways.


Source: AWS Introduces Greenlight to Draft and Formally Verify Policies for AI Agents — InfoQ AI & ML. Written by the Apixo team from that report.

#ai-news#aws#ai-agents#automated-reasoning#devops#cloud-computing
Try it with your own tools

One key for Claude, GPT, GLM, DeepSeek and more. Pay per token with crypto.

Get your API key

Keep reading