Glossary
What is Policy as code?
Policy as code means writing access and data rules as versioned, testable code that is evaluated automatically and deterministically, instead of documenting them in a wiki and hoping they are followed.
Open Policy Agent (OPA), a CNCF project, is a widely used engine for this, with rules written in a language called Rego. A request goes in, the policy evaluates it, and the answer is the same every time for the same inputs.
For AI agents this determinism is the point. A model might hallucinate or be manipulated, but a policy engine checking each tool call does not change its mind, so the agent cannot exceed what policy allows.
In SecuriX
SecuriX governs MCP tool calls with request and response policy written as code, applied per team, per user, or per request attribute.
Related terms
See SecuriX in front of your own traffic.
Tell us where to reach you and we will set up a walkthrough with your identity provider, your policies, and your budget structure.