The open source AI coding agent.
English | 简体中文 | 繁體中文 | 한국어 | Deutsch | Español | Français | Italiano | Dansk | 日本語 | Polski | Русский | Bosanski | العربية | Norsk | Português (Brasil) | ไทย | Türkçe | Українська | বাংলা | Ελληνικά | Tiếng Việt
# YOLO
curl -fsSL https://kodu.ai/install | bash
# Package managers
npm i -g opencode-ai@latest # or bun/pnpm/yarn
scoop install kodu # Windows
choco install kodu # Windows
brew install anomalyco/tap/kodu # macOS and Linux (recommended, always up to date)
brew install kodu # macOS and Linux (official brew formula, updated less)
sudo pacman -S kodu # Arch Linux (Stable)
paru -S opencode-bin # Arch Linux (Latest from AUR)
mise use -g kodu # Any OS
nix run nixpkgs#kodu # or github:anomalyco/kodu for latest dev branchTip
Remove versions older than 0.1.x before installing.
Kodu is also available as a desktop application. Download directly from the releases page or kodu.ai/download.
| Platform | Download |
|---|---|
| macOS (Apple Silicon) | opencode-desktop-darwin-aarch64.dmg |
| macOS (Intel) | opencode-desktop-darwin-x64.dmg |
| Windows | opencode-desktop-windows-x64.exe |
| Linux | .deb, .rpm, or AppImage |
# macOS (Homebrew)
brew install --cask opencode-desktop
# Windows (Scoop)
scoop bucket add extras; scoop install extras/opencode-desktopThe install script respects the following priority order for the installation path:
$KODU_INSTALL_DIR- Custom installation directory$XDG_BIN_DIR- XDG Base Directory Specification compliant path$HOME/bin- Standard user binary directory (if it exists or can be created)$HOME/.kodu/bin- Default fallback
# Examples
KODU_INSTALL_DIR=/usr/local/bin curl -fsSL https://kodu.ai/install | bash
XDG_BIN_DIR=$HOME/.local/bin curl -fsSL https://kodu.ai/install | bashKodu includes two built-in agents you can switch between with the Tab key.
- build - Default, full-access agent for development work
- plan - Read-only agent for analysis and code exploration
- Denies file edits by default
- Asks permission before running bash commands
- Ideal for exploring unfamiliar codebases or planning changes
Also included is a general subagent for complex searches and multistep tasks.
This is used internally and can be invoked using @general in messages.
Learn more about agents.
For more info on how to configure Kodu, head over to our docs.
If you're interested in contributing to Kodu, please read our contributing docs before submitting a pull request.
If you are working on a project that's related to Kodu and is using "kodu" as part of its name, for example "opencode-dashboard" or "opencode-mobile", please add a note to your README to clarify that it is not built by the Kodu team and is not affiliated with us in any way.
It's very similar to Claude Code in terms of capability. Here are the key differences:
- 100% open source
- Not coupled to any provider. Although we recommend the models we provide through Kodu Zen, Kodu can be used with Claude, OpenAI, Google, or even local models. As models evolve, the gaps between them will close and pricing will drop, so being provider-agnostic is important.
- Out-of-the-box LSP support
- A focus on TUI. Kodu is built by neovim users and the creators of terminal.shop; we are going to push the limits of what's possible in the terminal.
- A client/server architecture. This, for example, can allow Kodu to run on your computer while you drive it remotely from a mobile app, meaning that the TUI frontend is just one of the possible clients.
