Amazon Web Services launched Greenlight in public preview at re:Invent. The service uses automated reasoning and policy languages to enforce rules on AI agents and block unsafe actions.
Amazon Web Services launched Greenlight, a public preview service that applies automated reasoning to enforce rules on AI agents and prevent data breaches, at AWS re:Invent.
Cami Novelli-Killeen, director of neurosymbolic AI at Amazon Web Services, said giving agents access to many tools increases the risk that an agent might make an error.
“When you give an agent access to a lot of tools, you also are increasing your exposure, increasing your risk that the agent might do something wrong,” Novelli-Killeen said.
“We are trying to resolve this tension,” she said. “Give customers a set of tools that allows them to preserve the autonomy of models, and take full advantage of the highly capable models that are available, while also injecting some determinism into that process.”
Amazon Web Services uses automated reasoning in S3 Block Public Access and IAM Access Analyzer. Novelli-Killeen said those features verify network configurations and permission combinations to confirm resources stay private. Greenlight brings that mathematical rigor to AI agents.
Developers write rules in natural language. Greenlight converts them into deterministic rules and infers additional rules from AWS Context graphs and prior agent behavior. AWS announced AWS Context over the summer. It maps relationships across user data into a knowledge graph and provides agentic search for governed data relationships and business rules.
Greenlight uses Dogwood, an open source policy language that applies temporal logic to set policies based on an agent’s recent events rather than the current request. Novelli-Killeen gave an example: if an agent accesses a database with confidential customer data, it cannot access the internet afterward. She called this a safety envelope for the agent.
The service uses the Lean programming language to prove agents will follow safety rules. Amazon Web Services uses Lean in Bedrock AgentCore. Greenlight deploys rules to an enforcement engine in Strands Box, an open source agent sandbox that sits outside the agent’s harness so agents cannot change them. The engine checks every agent action and blocks any action that breaks a rule.
Marc Brooker, vice president and distinguished engineer of Agentic AI at Amazon Web Services, said enforcement happens at a tool call. A gateway intercepts the call and runs it against policies to verify whether policies permit the action based on the agent’s prior actions.
Greenlight improves over time by recommending rule changes based on real-world agent interactions. Amazon Web Services plans to add multi-agent support and deeper AWS Context integration. Developers can access Greenlight as a capability for Kiro and as a plugin for Claude Code and Codex.