Keto

Open source

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

Open-source alternative to

ory.com
Keto homepage screenshot
GitHub stars
5.4k
Last 30 days
+10(+0%)
Last commit
2 mo ago
Repository age
8 years
Version
v26.2.0
Licence
Apache-2.0
Self-hosted
Yes

About Keto

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.

The open source build carries no licence requirements but is suggested for experiments, prototypes and non-critical workloads. For business-critical use the README recommends the Ory Enterprise License, which adds enterprise features, CVE patches with SLAs, premium support and a private Docker registry.

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

Good fit for

  • Fine-grained permission checks
  • Relationship-based access control
  • Authorization alongside an existing identity provider
Built with
Go tools
Tags
authorization
permissions
zanzibar
rebac
access-control
go
api
ory

Keto: questions and answers

What is Keto used for?
Keto is an open source authorization server implementing Google's Zanzibar model for relationship-based permission checks at scale. It is a good fit for fine-grained permission checks, relationship-based access control and authorization alongside an existing identity provider.
Is Keto open source?
Yes. Keto is open source under the Apache-2.0 licence. Its source code is on GitHub at ory/keto and is written mainly in Go.
Is Keto free?
Yes. Keto is open source, so the software itself is free to use. A managed cloud version is also available.
Can I self-host Keto?
Yes. Keto can be self-hosted on your own server or infrastructure.
What is Keto an alternative to?
Keto is an open-source alternative to Permit.io, Authress and Oso. Other open-source alternatives to Permit.io include SpiceDB, OpenFGA and OPA.
Is Keto actively maintained?
Yes. The most recent commit to Keto was on 4 September 2026, and the latest release is v26.2.0, published on 20 March 2026. The project has 5.4k stars on GitHub, with 10 added in the last 30 days.

Open-source alternatives to Keto

See all

SaaS alternatives to Keto

See all