aws AWS Open Source Blog ·

AWS Dogwood: Open source language for AI agent runtime verification

blogaiawsgaengineer
feature announcement

AWS has released Dogwood, an open-source governance language designed to regulate AI agent tool usage by specifying and enforcing policies on sequences of actions. This addresses risks associated with agents interacting with external systems, offering more robust guarantees than point-in-time authorization alone. Dogwood introduces temporal conditions, allowing policies to consider event history, and is compatible with existing Cedar policies within Amazon Bedrock AgentCore. It is available under the Apache 2.0 license.

  • Temporal Policies for Sequential Action Control
  • Example: Approve Before Selling Shares
  • Introducing Dogwood for AI Agent Governance
  • Dogwood Extends Cedar with Temporal Conditions
  • Dogwood Integration with Amazon Bedrock AgentCore
Features (2)
  • Temporal Policies for Sequential Action Control

    Dogwood enables policies that enforce sequential constraints, such as requiring approval before a sale, staying within usage limits, or preventing certain actions after accessing sensitive data. This is achieved through the `when temporal { ... }` clause, which evaluates past events in addition to the current request.

  • Example: Approve Before Selling Shares

    A Dogwood policy example demonstrates enforcing that a `SellShares` tool call is permitted only if a prior `ApproveSale` event for the same amount was granted within the last hour. This uses the `formerly` operator to look back in the event history.

Enhancements (2)
  • Dogwood Extends Cedar with Temporal Conditions

    Unlike Cedar, which focuses on point-in-time authorization, Dogwood introduces temporal conditions. These allow policies to look back over an agent's event history, enabling constraints on prerequisites, rate limits, and action ordering for complex agent workflows.

  • Dogwood Integration with Amazon Bedrock AgentCore

    Dogwood policy support is now available within AgentCore Policy in Amazon Bedrock. Existing Cedar policies remain compatible, and customers can leverage Dogwood's temporal conditions to enhance current policies or create new ones for advanced agent control.

Notes (2)
  • Introducing Dogwood for AI Agent Governance

    AWS has released Dogwood, an open-source governance language specifically designed for AI agents and their tool interactions. It provides a way to precisely specify and enforce rules about agent behavior, offering rigorous guarantees about how agents can affect the external world.

  • Open Source Release and Tooling

    The Dogwood language is released as open source under the Apache 2.0 license, allowing users to define policies using their preferred tools. A parser, validator, and reference interpreter are available for exploring and testing Dogwood policies.

Read the original announcement →

https://aws.amazon.com/blogs/opensource/introducing-dogwood-runtime-verification-for-ai-agents/

Related releases