AWS previews Greenlight, a rule checker for AI agent actions
Amazon Web Services released Greenlight in preview. It drafts rules for what an AI agent may do, checks them with formal logic, and enforces them outside the agent, so the rules still apply if the agent is tricked. A person must approve the rules first. Pricing wasn't stated, and one early reviewer said setup took most of his time.
What it is: Greenlight is an automated reasoning service from AWS that writes and checks policies for an agent's tool calls. It runs as a power for Kiro and as a plugin for Claude Code and Codex.
How it works: A prompt such as "govern my agent" starts a review loop. A language model drafts policies from procedures, regulations and recorded traces, then looks for gaps, conflicts and risky combinations of access. The policies are written in Dogwood, an open-source language that extends Cedar with time-based conditions. A solver searches call sequences in a session for rule violations and returns Verified, Not verified or Inconclusive. Nothing takes effect until a person approves the policy set. Approved policies deploy to Amazon Bedrock AgentCore Gateway or Strands Box, so the agent keeps working even if Greenlight is down.
What it means: Teams can enforce limits such as spending caps outside the agent's own prompt.
Limits: The analyzer treats tool inputs as any value of their type and doesn't read IAM or a company directory. Checks can time out. Temporal rules typically look back 24 hours within a session. Critics note that turning informal rules into formal logic can introduce errors.
New to this? The key idea
Formal verification means a program proves a rule holds in every case, not just the cases you tested. Think of a building inspector who checks the plans against the code instead of waiting to see whether the building falls down.
Use it at work
Use it for: Platform and security engineers who give agents access to payments, tickets or production systems and need rules that hold even if the agent is tricked.
Try it: Install the Greenlight plugin for Claude Code or Codex, or the Kiro power, then ask it to "govern my agent" and review the drafted policies. Start on an AgentCore Gateway in log-only mode, since Strands Box has no log-only mode.
Before you roll it out: Preview release, pricing not stated. The article links a getting-started guide, and one reviewer said preview setup took most of his time. Check which tools your shell commands go through, since coverage of shell commands is unclear.
Summaries are written by AI from the linked source. Always check the original.