policy.yaml holds named configuration values for a flow. They are referenced in CEL as
policy.* and in prompts as {{variable}}.
policy.yaml
Inheritance
Policy is hierarchical. A child flow inherits root and parent policy and overrides specific keys. Guards and prompt templates resolve a key by walking child to parent to root.Budget thresholds
Spend monitoring is configured here as percentages. Crossing one emitsplatform.budget_threshold_crossed with a matching level. If these keys are absent, budget
monitoring is disabled.
MCP servers
Workspace classes and permission bundles
object
Named workspace classes, each with a
description and a workspace_scope (per-agent or
per-flow-instance). Every workspace_class an agent references must be defined here.object
Named permission sets that agents can reference with
permissions_bundle.
