AWS has introduced Greenlight, an automated reasoning service for governing AI agent tool calls. It drafts policies from procedures, regulations, and recorded traces, checks for gaps or conflicts, and waits for human approval before deployment. Greenlight is available as a Kiro power and as a plugin for Claude Code and Codex.

Approved policies run outside the agent through Amazon Bedrock AgentCore Gateway or Strands Box. This moves rules such as denying refunds above $500 out of system prompts that a model might ignore. Gateway deployments can begin in log-only mode, while Strands Box does not offer that option. Enforcement continues if Greenlight itself becomes unavailable.

Policies are written in Dogwood, an open-source extension of Cedar that supports conditions based on earlier calls in a session. An LLM drafts the rules, automated reasoning converts them into formal logic, and a solver searches call sequences for violations. Greenlight can also check tool schemas, replay traces, and return Verified, Not verified, or Inconclusive results.

The analysis has limits. It treats tool inputs as any value of the declared type, does not inspect IAM or company directories, and assumes any well-typed tool response is possible. Checks can time out, amounts on AgentCore Gateway are rounded to four decimal places, and temporal policies generally look back 24 hours. A review of AWS’s refund example also found that policy wording needed revision before checks passed and duplicate refunds were covered.