kimiclaude
v1.1.7
Published
Kimiclaude: Advanced coding assistant powered by Kimi (Moonshot AI) models and Kimiclaude architecture.
Downloads
2,432
Maintainers
Readme
Kimiclaude
Advanced AI coding assistant powered by Kimi (Moonshot AI) models.
Kimiclaude brings the full power of the Claude Code architecture — terminal UI, tool use, file editing, search, git integration, and more — to Kimi's cutting-edge models: kimi-k2.6 and kimi-k2.5.
Quick Start
# Install globally
npm install -g kimiclaude
# Launch and log in
kimiclaudeOn first run, use /login to authenticate with your Kimi account via browser-based OAuth.
Features
- 🧠 Kimi Models — kimi-k2.6 (default) and kimi-k2.5, with full reasoning/chain-of-thought support
- 🔧 Full Tool Suite — File read/write, bash commands, search (ripgrep), git, web fetch, and more
- 🎨 Rich Terminal UI — Interactive REPL with syntax highlighting, streaming, and Ink-based components
- 🔐 Secure Auth — OAuth device flow with token stored in OS secure storage (Keychain / Credential Manager / libsecret)
- 🌍 Cross-Platform — Works on Windows, macOS, and Linux
- 📦 SDK — Programmatic API for embedding Kimiclaude in your own tools
Authentication
Kimiclaude uses Kimi's OAuth device flow for secure, browser-based login:
❯ /login- A browser window opens to the Kimi authorization page
- Enter the displayed code to approve access
- Your token is securely stored and auto-refreshed
To re-authenticate: /login --force
Models
| Model | Description |
|-------|-------------|
| kimi-k2.6 | Latest flagship model (default) |
| kimi-k2.5 | Previous generation, still excellent |
Switch models with /model or set OPENAI_MODEL=kimi-k2.5 in your environment.
Configuration
User settings are stored in ~/.kimiclaude/settings.json.
Project settings live in .kimiclaude/settings.json at your project root.
Key Commands
| Command | Description |
|---------|-------------|
| /login | Authenticate with Kimi |
| /model | Switch between kimi-k2.6 and kimi-k2.5 |
| /help | Show all available commands |
| /compact | Compress conversation context |
| /memory | View/edit persistent project memory |
| /provider | Switch provider configuration |
Environment Variables
| Variable | Description |
|----------|-------------|
| CLAUDE_CODE_USE_KIMI | Set to 1 to enable Kimi mode (auto-set by /login) |
| OPENAI_MODEL | Override the default model |
| KIMI_API_KEY | Manual API key (bypasses OAuth) |
Built With
- Kimiclaude — The open-source Claude Code architecture
- Kimi CLI — Moonshot AI's official CLI reference
License
Apache-2.0 — see LICENSE for details.
