Repository navigation
Getting Started Oauth Pool Setup
Add Claude OAuth tokens so Kanna runs on your Claude plan.
Kanna's OAuth pool holds one or more Claude OAuth tokens. Kanna picks one per chat, spreads load across them, and falls over automatically when one hits a rate limit.
- Runs on your Claude plan — Kanna passes your OAuth token to the Claude Agent SDK rather than an API key.
- Rate-limit fallover — a limited token is set aside with its reset time and the next turn picks another.
-
Per-token labels and concurrency — tag tokens (
personal,work-1) and set how many chats each may serve at once.
- Open Settings → Providers
- Under Claude OAuth tokens, click Add
- Paste a Claude OAuth token (from
claude /loginon a machine where the CLI is interactive) - Give it a label
- Save

That is the whole setup — there is no driver flag or env var to set afterwards.
Adding a second token is worth it once you regularly run several chats at once, or hit limits mid-session. Kanna always picks the eligible token with the fewest current holders, so load spreads before it stacks.
Each token has an optional max concurrent chats (default 1). Raise it when you have more concurrent chats than tokens and rate limits are not what is stopping you.
In ~/.kanna/data/settings.json, alongside the rest of your settings. The file
is written with your default file mode, not 0600, and is replaced on every
save, so protect the directory instead (chmod 700 ~/.kanna/data) on a shared
machine, and treat the file as a secret in any backup. See
OAuth Pool Admin for the on-disk shape, the
status values, and what to do when a token stops being picked.
This wiki is generated from wiki/src/content/docs in cuongtranba/kanna.
Edit the docs there: changes made on this wiki are overwritten on the next sync.
The same docs are published at https://kanna-wiki.lowbit.link.
Getting Started
Features
- Providers & Models
- Chat & Transcript
- Generative UI
- Projects & Sessions
- Boards
- Multi-repo Stacks
- Slash Commands
- Cron Jobs
- Loops
- Beacons
- Kanna Plugins
- Package Auto-Update
- Advanced
- Security
Guides
- User Guide
- Contributing
- Ops & Self-Host
Sharing
Reference