Kanon Documentation
Kanon is a small language for access rights. A Kanon rule set answers one question for every request: may this requester receive this asset, in which form, for which use case, through which agent? The answer is a verdict (allow, ask or deny), a form (raw rows, pseudonymised, anonymised, aggregated, counts or metadata), and the rule that decided it.
Kanon was designed for organisations where people and AI agents read the same data. Its central guarantee is that a language model's reading of a request can make Kanon ask a question, but it can never open access. This and 140 other theorems are proved in Lean 4.
Where to Start
| If you want to | Read |
|---|---|
| See the language in ten minutes | A Tour of Kanon |
| Write rules | Syntax |
| Know exactly what a decision means | Semantics, then Axioms |
| Check the guarantees | Theorems and Proofs by Machine |
| Run rights in an organisation | The Life of a Rule |
| See what it decides | The 69 Cases and Evaluation Results |
| Compare it with Cedar, OPA, Zanzibar and others | Related Work |
| Know what is settled and what is open | Design Decisions and Status |
Status
| Semantics | fixed (draft of 22 November 2026) |
| Lean theorems | 141: 130 in Lean 4 core, 11 with Mathlib |
| Cases | 69 of 69 decided as their files expect; 36 of 40 held-out cases right on verdict and form |
| Tests | 152 pass in the reference interpreter: 145 case tests, 4 auditor and 3 certificate tests |
| Paper | in preparation (Paper) |
| Reference interpreter | to be released with the paper |
The Name
Kanōn is Greek for a measuring rod, and later for a binding rule. A Kanon rule set is the rod every request is measured against.