Open Policy Agent (OPA) is a policy engine that answers whether an agent may send specified data to a tool. It evaluates defined rules; it does not intercept or block calls, so a separate enforcement point must apply its decision. section 5.6.1
A purpose-aware egress gate can ask OPA to evaluate:
- Whether the proposed use matches the declared purpose for collecting the data. section 5.6.1
- Whether the fields sent are necessary and whether the destination tool or region is permitted. section 5.6.1
- Whether to allow a call or allow it with redaction. Configure the gate to fail closed when no rule explicitly permits the call. section 5.6.1
Agent tool-call decision
A gate asks, “Should agent X be allowed to send fields Y to tool Z?” OPA returns a decision from defined rules; a separate layer intercepts the call and enforces it. section 5.6.1


