---
title: Swift-OPA
subtitle: Swift package for evaluating OPA IR Plans
for_language: swift
labels:
  category: sdk
  layer: application
inventors:
- Apple
blogs:
- "https://openpolicyagent.org/blog/introducing-swift-opa-native-policy-evaluation-for-swift-d5136c8a662e"
code:
- "https://github.com/open-policy-agent/swift-opa"
tutorials:
- "https://github.com/open-policy-agent/swift-opa?tab=readme-ov-file#usage"
---

Swift-OPA is a Swift package for evaluating
[OPA IR Plans](https://www.openpolicyagent.org/docs/ir) compiled from
[Rego](https://www.openpolicyagent.org/docs/latest/policy-language/#what-is-rego)
declarative policy.
