AI Newsway

AWS Open-Sources Dogwood, a Policy Language for Governing Agent Tool Call Sequences

Built on Cedar and released under Apache 2.0, Dogwood lets teams write rules about what an agent has already done, not just what it is doing now

|3 min read0
AI Summary
AWS open-sourced Dogwood, a policy language and reference interpreter under Apache 2.0 that governs sequences of AI agent tool calls rather than evaluating each action alone, addressing failures like refunds issued before order verification or runaway repeated queries. Built as an extension of AWS's Cedar authorization language, Dogwood adds temporal conditions referencing prior events, letting teams require specific call ordering, approvals and rate limits, while staying compatible with existing Cedar policies. It is also available through Amazon Bedrock AgentCore Policy.
The Amazon Web Services logo, marking the cloud provider that released the Dogwood agent policy language as open source
The Amazon Web Services logo, marking the cloud provider that released the Dogwood agent policy language as open source

AWS has released Dogwood, an open-source policy language and reference interpreter designed to govern sequences of AI agent tool calls rather than evaluating each action on its own. The language and its implementation are available under the Apache 2.0 license, with the reference parser and interpreter published on GitHub.

The release targets a gap that has become increasingly visible as agents move into production. Conventional authorization systems answer a single question: is this actor permitted to perform this action right now? That framing works well for traditional access control, but it misses a category of failure specific to agents.

Valid but Wrong

An agent can make a tool call that is entirely permissible in isolation yet clearly wrong in context. Issuing a refund is a legitimate operation. Issuing a refund before verifying the order exists is not. Querying a database is fine; querying it four hundred times in a minute is a runaway loop. Every individual call passes a point-in-time check, and the workflow still goes wrong.

AWS framed the problem in terms of composition. Point-in-time decisions make sense for many forms of access control, but once agents chain multiple actions into longer workflows, the sequence itself becomes the thing teams want to govern. Dogwood is intended to give them a vocabulary for expressing constraints over those sequences, covering prerequisites, rate limits and ordering.

Cedar, Extended Through Time

Dogwood builds on Cedar, the open-source authorization language AWS released previously and which already underpins Amazon Bedrock AgentCore Policy. The extension adds temporal conditions that reference the history of prior events, alongside rules for approvals, ordering and running limits.

That history-awareness is the core departure. A Dogwood policy can require that an agent call tools in a specific order, stop using certain tools once others have run, or cap how often a given tool may be invoked within a window. None of those constraints are expressible in a language that only sees the current request.

Critically, Dogwood is compatible with existing Cedar policies. AWS says customers can keep their current rules in place with no migration required, which lowers the cost of experimentation considerably for teams already invested in Cedar.

Managed Service Support

Alongside the open-source release, AWS added Dogwood support to Amazon Bedrock AgentCore Policy, its managed service for controlling which tools an agent may call and under what conditions. That gives the language two adoption paths: self-hosted through the reference interpreter, or consumed as part of the managed AWS stack.

The dual release is a familiar pattern for AWS, and a pragmatic one. Publishing the specification and interpreter under a permissive license invites adoption outside the AWS ecosystem and positions Dogwood as a candidate standard, while the AgentCore integration gives existing customers a path that requires no infrastructure work.

The Governance Gap

Agent governance has lagged well behind agent capability. Development effort has concentrated on making agents more capable at planning and executing multi-step tasks, while the tooling for constraining that execution has remained thin. Most production deployments today rely on prompt-level instructions and hand-rolled wrapper code, neither of which offers auditable guarantees.

A declarative policy language changes that calculus. Rules become inspectable artifacts that security teams can review independently of application code, and enforcement moves out of the model's instruction-following behavior into a deterministic interpreter. For regulated environments in particular, that separation is the difference between an agent deployment that can be signed off and one that cannot.

How do you feel about this article?

SJ

Discussion

Sign in to post
Loading...

Related articles

Cloudflare Cut Astro's Open Issues by 85% With Four Agents That Refuse to Share Context
Developer Tools

Cloudflare Cut Astro's Open Issues by 85% With Four Agents That Refuse to Share Context

Separate reproduction, diagnosis, verification and fix agents hand off through a report file, with the original bug reporter acting as the acceptance test.

Seung Jung25 days ago
Headlong Keeps AI Agents Thinking When Nobody Is Talking to Them
Developer Tools

Headlong Keeps AI Agents Thinking When Nobody Is Talking to Them

Laude Institute's Headlong is an open source agent microharness under 10,000 lines of Bash, built so agents keep thinking between conversations.

Seung Jung22 days ago
MCP's New Roadmap Is Really One Admission: Agents Broke the Request-Response Model
Developer Tools

MCP's New Roadmap Is Really One Admission: Agents Broke the Request-Response Model

MCP's maintainers published five priority areas covering long-running agent work, transport unification, agent identity and the context cost of tool sprawl.

Seung Jung25 days ago
Meta Open-Sources Astryx, a React Design System Agents Can Query
Developer Tools

Meta Open-Sources Astryx, a React Design System Agents Can Query

Meta released Astryx in June, a React design system that matured for eight years inside the company's internal monorepo, as a public beta under the MIT license....

Seung Jung3 days ago
Mixedbread Bets Search Should Be a Cheap Specialist, Not a Frontier Model
Developer Tools

Mixedbread Bets Search Should Be a Cheap Specialist, Not a Frontier Model

Mixedbread launched Toast 1, a specialised search agent it says matches frontier models at up to 10x lower cost and cuts legal-benchmark tokens by 3.5x.

Seung Jung32 days ago
ChainDrop Worm Poisoned 444 npm Packages — With Valid Signatures
Developer Tools

ChainDrop Worm Poisoned 444 npm Packages — With Valid Signatures

A self-propagating npm worm hit 444 packages in four hours, published through trusted workflows with valid provenance attestations.

Seung Jung32 days ago