How AWS Greenlight fits A coding agent plugin drafts and verifies policies; the AgentCore gateway enforces them on every tool call. AWS Cloud Region one of 7 preview Regions Builder coding agent with the Greenlight plugin AI agent sends tool calls AWS Greenlight service analyze, simulate, check Amazon S3 simulation results, your bucket Amazon CloudWatch Logs recorded tool calls Amazon Bedrock AgentCore gateway policy engine, Dogwood policies Agent tools reached by allowed calls only 1 2 3 4 5 6 7 1 2 3 4 5 6 7 LINES Draft, check and deploy policies Read recorded calls Agent tool calls Decision logs FLOW The plugin reads your runbooks and the gateway's recorded tool calls. It drafts Dogwood policies and sends them to the Greenlight service for checks. Simulation results are written to your Amazon S3 bucket. After you approve, the plugin puts the policies on the gateway's policy engine. The agent calls its tools through the gateway, with a session ID header. The policy engine allows or denies each call before the tool runs. The gateway logs each decision to Amazon CloudWatch Logs.