Sample YAML governance policy files for AgentMesh.
Each file in this directory is a self-contained policy configuration that demonstrates how to express a particular class of security or compliance control using the policy engine. They are intended as starting points — review and adapt them for your environment before deploying to production.
- Browse the
.yamlfiles to find a scenario close to what you need. Each file opens with a comment block describing what it covers and any caveats. - Copy the file into your own project (or reference it by path) and edit the rules, thresholds, and matchers to fit your requirements.
- Load the policy into an agent workflow via the governance runtime. The Quickstart shows runnable end-to-end examples that consume policies from this directory.
All files here follow the schema defined in policy-engine/spec. Refer to that spec for the full list of supported fields, matchers, and enforcement actions.
- Quickstart — runnable examples that load policies from this directory
- Policy Engine tutorial — walkthrough of how policies are evaluated