5 open-source alternatives ranked by real activity

Open-source Oso alternatives

A curated, ranked list of the 5 best open-source alternatives to Oso.

The best open-source alternative to Oso is OpenFGA. If that doesn't suit you, other good options are OPA, Polar, SpiceDB and Keto.

Commercial alternatives to Oso include Authress, Permit.io, WorkOS and Keyring. See all 11.

Oso alternatives are mainly security tools, but some are also finance & accounting tools and auth & identity tools. 4 of them shipped code in the last 30 days, 5 can be self-hosted, and 5 use a permissive licence.

Last updated November 13, 2026 · ranked by GitHub stars, growth and recent commits

OpenFGA

Open-source authorization engine where developers describe access rules in a modeling language and ask the API whether a user may do something.

GitHub stars
6.1k
Last commit
yesterday
Latest release
v1.22.1
Licence
Apache-2.0
Self-hosted
Yes
openfga.devOpenFGA homepage screenshot

OpenFGA is an authorization service for applications. Instead of scattering permission checks through code, developers write an authorization model in a readable modeling language and then call an API to ask whether a given user may act on a given object. The project is aimed at fine-grained access control.

The design borrows from Google's Zanzibar paper on relationship-based access control, and the project says it also handles role-based and attribute-based use cases. SDKs exist for popular languages, and the team says check calls are designed to return in milliseconds.

It is open source and governed in the open through an RFC process and a public roadmap. The project belongs to the Cloud Native Computing Foundation as an incubating project. A single Docker command starts a local server on port 8080, and sample models are in the documentation.

Key features

  • Readable modeling language for access control
  • Relationship-based access control modeled on Zanzibar
  • Also covers role-based and attribute-based access
  • SDKs for popular programming languages
  • Authorization checks designed to answer in milliseconds
  • Local start with one Docker command

OPA

OPA is an open source, general-purpose policy engine that decouples policy from application logic.

GitHub stars
12k
Last commit
yesterday
Latest release
v1.22.4
Licence
Apache-2.0
Self-hosted
Yes
openpolicyagent.orgOPA homepage screenshot

OPA is a policy engine that streamlines policy management across the stack for improved development, security and audit capability. It provides a high-level declarative language (Rego) that lets you specify policy for a wide range of use cases. You can use OPA to enforce policies in applications, proxies, Kubernetes, CI/CD pipelines, API gateways, and more.

OPA helps teams focus on delivering business value by decoupling policy from application logic. Security and platform teams centrally manage shared policies, while developer teams extend them as needed within the policy system. OPA generates comprehensive audit trails for every policy decision, supporting auditing and compliance efforts.

Key features

  • Decouples policy from application logic
  • Uses Rego, a domain-specific policy language built for speed
  • Operates on pre-loaded, in-memory data for fast policy decisions
  • Generates comprehensive audit trails for every policy decision
  • Supports integration via SDKs or REST API
  • Can enforce policies in applications, proxies, Kubernetes, CI/CD pipelines, API gateways, and more

Polar

Billing platform for software and AI products that handles usage-based pricing, subscriptions, checkouts and tax as merchant of record.

GitHub stars
10k
Last commit
2 days ago
Latest release
sdk/1.1.0
Licence
Apache-2.0
Hosted version
Available
polar.shPolar homepage screenshot

Polar is an open-source billing platform aimed at AI startups and other software businesses that need to charge for tokens, agents and compute without building billing infrastructure themselves. It positions itself as the financial layer for intelligent software and acts as the merchant of record.

It supports many pricing models, including usage billing, subscriptions, seats, credits, trials and discounts, which can be combined. Metering can track tokens, API calls, agent runs, GPU seconds and storage at the level of individual events. Checkouts, real-time metrics and worldwide tax handling are included, and as merchant of record Polar takes on receipts, customer accounts, dunning, sales tax and VAT.

Polar is built with Python and FastAPI on the backend and Next.js, React and TypeScript on the frontend, in a Turborepo monorepo, and is licensed under Apache-2.0. An API and SDKs let you integrate it into docs, sites and services. Pricing is per transaction, and an application-based Startup Program is available for eligible startups.

Key features

  • Usage-based billing and metering
  • Subscriptions, seats, credits and trials
  • Checkout flows with real-time metrics
  • Merchant of record with tax handling
  • Python and TypeScript SDK integrations

Pricing: Free Starter plan charges 5% + 50¢ per transaction. Pro ($20), Growth ($100) and Scale ($400) are monthly fees that lower the per-transaction rate.

SpiceDB

SpiceDB from Authzed is an open-source, Google Zanzibar-inspired database for storing and querying fine-grained authorization data, answering whether a subject can perform an action on a resource.

GitHub stars
7.2k
Last commit
today
Latest release
v1.57.1
Licence
Apache-2.0
Self-hosted
Yes
authzed.comSpiceDB homepage screenshot

This entry covers SpiceDB, the open-source authorization database from Authzed. It is inspired by Google's Zanzibar paper and lets platform and product teams answer questions such as whether a given subject can perform an action on a given resource, which addresses broken access control, a major web security risk.

Like a relational database, you define a schema, write data as relationships and then use client libraries to issue permission checks from your application. Other queries are possible too, such as what a subject can do or who can access a resource. SpiceDB typically runs as one central service used by several products and microservices, and it focuses purely on authorization, staying agnostic to authentication and identity providers. Topics mention RBAC, ABAC, ReBAC and fine-grained access control.

SpiceDB is written in Go, runs on Kubernetes and elsewhere, and is licensed under Apache-2.0. Authzed also offers commercial products around it. It suits engineering teams that need consistent, scalable permissions for multi-tenant or collaborative applications.

Key features

  • Zanzibar-style relationship-based permissions
  • Schema language for authorization models
  • Permission check and lookup queries
  • Centralized authorization service
  • Independent of identity providers
  • Distributed, cloud-native design

Pricing: Free and open source under the Apache-2.0 licence.

Keto

Ory Keto is an open source authorization server implementing Google's Zanzibar model for relationship-based permission checks at scale.

GitHub stars
5.4k
Last commit
2 mo ago
Latest release
v26.2.0
Licence
Apache-2.0
Self-hosted
Yes
Hosted version
Available
ory.comKeto homepage screenshot

Ory Keto is described as the first and most popular open source implementation of Zanzibar, Google's consistent, global authorization system. It is a headless, API-first server written in Go that manages permissions and answers permission checks.

It centres on relationship-based access control, with policies written in the Ory Permission Language. The README states sub-10ms checks, horizontal scaling to billions of relationships, and use with any identity provider through integration points. It is meant to run in cloud-native environments such as Kubernetes.

There are two ways to run it. On the Ory Network, Ory Permissions is powered by Keto and API compatible, and a free developer account is offered. Self-hosting covers Linux, macOS, Windows and Docker, with PostgreSQL, MySQL or CockroachDB, or building from source.

Key features

  • Scalable Zanzibar-based permission checks
  • Ory Permission Language for policies
  • Relationship-based access control
  • Sub-10ms permission checks
  • Horizontal scaling to billions of relationships
  • Works with PostgreSQL, MySQL and CockroachDB
  • Command-line tuple creation and permission checks

Commercial Oso alternatives

Hosted, closed-source products that compete with Oso.

Oso alternatives: questions

What is the best open-source alternative to Oso?
OpenFGA is the top-ranked open-source alternative to Oso on Enlisted: Open-source authorization engine where developers describe access rules in a modeling language and ask the API whether a user may do something. Other strong options are OPA, Polar, SpiceDB and Keto.
What are the best commercial alternatives to Oso?
Authress, Permit.io, WorkOS, Keyring and Stytch are among the hosted, closed-source alternatives to Oso listed on Enlisted, which lists 11 in total. Compare their pricing and features on each tool page.
Are these Oso alternatives free?
All 5 are open source, so the code is free to use under its licence, and all of them can be self-hosted on your own server or computer. 2 also offer a paid or managed cloud version if you'd rather not host it yourself.
How is this list of Oso alternatives ranked?
By a score built from GitHub stars, star growth over the last 30 days and how recently the code changed. 4 of these projects shipped code in the last 30 days. Data is refreshed daily, and nobody can pay to move up.

People also look for alternatives to…

View all