By Vero SecurityBuilt and funded by Vero Security, the AI Security Engineering platform.Read the charter

Policy as code for agent actions

Policy engines evaluate each requested action against rules kept in version control, so authorization is reviewable, testable and the same across agents. OPA with Rego and Cedar are the common general purpose choices, and cloud agent platforms now expose Cedar-style policy for tool calls. Keep the decision point outside the model so a prompt cannot rewrite it.

Read in this order

  1. VideoOpen Policy Agent (OPA) Intro and Deep Dive, Charlie Egan and Anders Eknert (CNCF)Start here: a maintainer-led tour of OPA and Rego in practice.
  2. OfficialCedar Policy Language Reference GuideCedar's language reference, for readable allow and forbid rules.
  3. Open sourceagentgateway (open source)Hands on: put MCP traffic behind a policy gateway and read the telemetry it emits.

Save your progress

We email you a sign-in link. No password.

By signing in you agree to the terms. The privacy policy explains how we use your details.

Join the AI security engineering community

Free. Roadmap updates, chapters near you, and first word when credentials open.

We’ll email you community updates. Unsubscribe anytime. By sending this you agree to the terms. The privacy policy explains how we use your details.