Hi, I'm Kai.
Let's code together.
Download Code withkai
Kai, your AI coding agent — as a desktop app or in your terminal. Classai Router built in (Prime & Premium), any other router welcome.
Desktop v1.0.2 · CLI v1.0.2 · free · built on OpenCode (MIT)
$
[1] Code withkai CLI
Kai in your terminal. One line installs it and puts withkai on your PATH.
curl -fsSL https://withkai.im/install | bashmacOS · Linuxirm https://withkai.im/install.ps1 | iexWindows PowerShellwithkai upgradeupdate later[2] Code withkai Desktop
The full app in its own window: chats, sessions, files and terminals — Kai with a mouse.
macOS (Apple Silicon)
M1–M5 · .dmg · 272 MB
macOS (Intel)
.dmg · 284 MB
Windows (x64)
Windows 10 / 11 · .exe · 227 MB
First open on a Mac (the app isn't notarised by Apple yet): click Done, then System Settings → Privacy & Security → Open Anyway. On macOS 14 or older, right-click the app → Open. On Windows: More info → Run anyway.
[3] CLI downloads
The same CLI as a file, for offline installs and servers.
macOS (Apple Silicon)
tar.gz · 80 MB
macOS (Intel)
tar.gz · 85 MB
Windows (x64) setup
adds withkai to PATH · .exe · 71 MB
Windows (x64) portable
.zip · 96 MB
Windows (ARM64) portable
.zip
Linux (x64)
glibc · tar.gz · 94 MB
Linux (ARM64)
glibc · tar.gz · 92 MB
[4] In your editor
Kai works next to your code in any editor with a terminal, and natively in Zed.
VS Code
Terminal → New Terminal, then: withkai
Cursor
Terminal → New Terminal, then: withkai
Windsurf
Terminal → New Terminal, then: withkai
Zed · Agent Client Protocol
Add Kai as an external agent in Zed's settings.json, then pick “Code withkai” in the Agent panel:
"agent_servers": {
"Code withkai": { "command": "withkai", "args": ["acp"] }
}[5] withkai everywhere
The same Kai, account and credits on your phone and in the browser.
Need credits? See packs — or type /credits inside Code withkai. Help: [email protected]