zaibflow
v3.1.1
Published
Agentic AI Runtime for Claude Code — run any AI provider through Claude Code
Maintainers
Readme
Quick Start
npx zaibflowOr install globally so zaibflow and zf are always available:
npm install -g zaibflowOne-Command Install (No npm)
macOS / Linux
curl -fsSL https://raw.githubusercontent.com/Shahzaibzah00r/zaibflow/main/scripts/install.sh | bashWindows (PowerShell)
irm https://raw.githubusercontent.com/Shahzaibzah00r/zaibflow/main/scripts/install.ps1 | iex
irm=Invoke-RestMethod(downloads the script)iex=Invoke-Expression(runs the script)
Usage
Configure your favorite provider:
zaibflow configRun Claude Code through a provider:
zaibflow kimi --bp # Kimi K2
zaibflow zai --bp # Z.A.I
zaibflow openrouter <alias> --bp
zaibflow ollama --bp
zaibflow custom <name> --bpUse launcher shortcuts:
zf --help # Same as zaibflow
zf-kimi --bp # Quick launch Kimi
zf-zai --bp
zf-or <alias> --bp
zf-local --bp
zf-custom --bpWhat is ZaibFlow?
ZaibFlow is a CLI tool and launcher ecosystem for Claude Code users who want flexibility across AI providers. Instead of being locked into a single model, you can:
- Run Claude Code with Kimi K2, Z.A.I, OpenRouter, Ollama, DeepSeek, MiniMax, and more
- Skip permission prompts with
--bpor--yolo - Use short launcher commands like
zf-kimiinstead of typing full paths - Auto-install Claude Code CLI if it's missing (macOS/Linux/Windows)
Supported Providers
- Kimi (kimi-k2.5)
- Z.A.I (glm-5)
- OpenRouter (100+ models)
- Ollama (local models)
- DeepSeek
- MiniMax
- Moonshot
- Alibaba
- Xiaomi MiMo
- VolcEngine
- And more...
Requirements
- Claude Code CLI — ZaibFlow auto-installs it for you on macOS/Linux/Windows. If you prefer to install manually:
- macOS/Linux:
curl -fsSL https://claude.ai/install.sh | bash - Windows (PowerShell):
irm https://claude.ai/install.ps1 | iex - Windows (CMD):
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
- macOS/Linux:
- Node.js 18+ (only for npm/npx install)
Platform Support
- macOS
- Linux
- Windows
Install Methods
- macOS/Linux:
curl -fsSL https://raw.githubusercontent.com/Shahzaibzah00r/zaibflow/main/scripts/install.sh | bash - Windows (PowerShell):
irm https://raw.githubusercontent.com/Shahzaibzah00r/zaibflow/main/scripts/install.ps1 | iex - npm:
npm install -g zaibflow - npx:
npx zaibflow
Troubleshooting
- If
zaibflowis not found after install, restart your terminal so PATH changes take effect. - If you see a 404 error on first run, check your internet connection and try again.
- Run
zaibflow installto re-generate launcher shims if they are missing. - On Windows, if Claude Code CLI installs but zaibflow still says it's missing, add
%USERPROFILE%\.local\binto your User PATH and restart your terminal.
Links
License
MIT
