Skip to main content

OpenFGA Use Cases

OpenFGA is a Zanzibar-style relationship engine. The patterns below are the ones that show up most often in production — each links to the modeling guide and, where available, an adopter reference that runs the pattern at scale.

AI and agent authorization

  • AI agent authorization — modeling agents as principals, delegating user permissions, and bounding what an autonomous agent can do.
  • RAG authorization — filtering retrieved documents by the user's permissions before they reach the model.
  • MCP server authorization — enforcing tool and resource access in a Model Context Protocol server.

Application authorization

  • Multi-tenant SaaS — one OpenFGA store, many tenants, with strict isolation.
  • Microservices authorization — a central authorization service that every microservice consults, instead of each service rolling its own roles table.