Mipham Code
Multi-model open-core intelligent coding terminal. AI-assisted code generation, security auditing, MCP protocol integration, and extensible skills system — unified in a single CLI.
International: mipham.ai/mipham-code | China mainland: onemipham.com/mipham-code
Install
npm downloadsFour ways to install — choose your platform.
npm (Recommended)
npm install -g @miphamai/cli
curl (macOS / Linux)
curl -fsSL https://mipham.ai/install.sh | bash
PowerShell (Windows)
irm https://mipham.ai/install.ps1 | iex
Direct Download
macOS / Linux / Windows binaries from GitHub Releases (v0.5.7)
Requires Bun 1.2+ or Node.js 22+. After install, run mipham to start.
Quick Configuration
Set up your API key after installation. Supports DeepSeek, OpenAI, Claude, and 8+ providers.
1. Set Environment Variable
Example with DeepSeek (add to ~/.zshrc for persistence):
export DEEPSEEK_API_KEY="sk-your-key"
2. Config File ~/.mipham/config.yml
Auto-generated on first run. Full template — pick your providers and set env vars:
# Default model (used at startup)
defaultProvider: deepseek
defaultModel: deepseek-v4-pro
providers:
- id: deepseek
name: DeepSeek
baseUrl: https://api.deepseek.com/v1
apiKey: ${DEEPSEEK_API_KEY}
models:
- id: deepseek-v4-pro
name: DeepSeek V4 Pro
- id: deepseek-v4-flash
name: DeepSeek V4 Flash
- id: doubao
name: Doubao (ByteDance)
baseUrl: https://ark.cn-beijing.volces.com/api/v3
apiKey: ${DOUBAO_API_KEY}
models:
- id: doubao-seed-2.0-pro
name: Doubao Seed 2.0 Pro
- id: qwen
name: Qwen (Alibaba)
baseUrl: https://dashscope.aliyuncs.com/compatible-mode/v1
apiKey: ${QWEN_API_KEY}
models:
- id: qwen-max
name: Qwen Max
- id: anthropic
name: Anthropic Claude
protocol: anthropic
apiKey: ${ANTHROPIC_API_KEY}
models:
- id: claude-sonnet-4-6
name: Claude Sonnet 4.6
- id: openai
name: OpenAI
apiKey: ${OPENAI_API_KEY}
models:
- id: gpt-5.5
name: GPT-5.5apiKey supports ${ENV_VAR} (recommended) or plain key string.
3. Launch
mipham
Press Ctrl+P to switch providers and models anytime.
Features
8 AI Providers
Anthropic Claude · OpenAI GPT · DeepSeek · Google Gemini · Doubao · Tencent Hunyuan · Qwen · MiphamAI
16 Built-in Tools
File ops, shell execution, agent dispatch, MCP integration, web search — all security-hardened
60 Slash Commands
Claude Code-compatible, zero re-learning. Session management, model switching, code review, security audit
MCP Protocol
Full JSON-RPC 2.0 stdio transport — connect to any MCP-compatible server (filesystem, github, postgres...)
13 Skills
11 standard + 2 Mipham-exclusive skills with dual-runtime architecture, community contributions welcome
Security Hardened
Path sandbox · SSRF protection · Bash blacklist · Permission gating · Parameter validation — five-layer defense
Session Persistence
JSONL auto-save/restore across CLI sessions. Named session management with checkpoint/rewind
Cross-Platform
macOS · Linux · Windows. npm / curl / PowerShell / direct download — four install methods
AI Providers
| Provider | Protocol | Models |
|---|---|---|
| Anthropic Claude | Native SDK | Fable 5 · Opus 4.8 · Sonnet 4.6 · Haiku 4.5 |
| OpenAI | OpenAI Compat | GPT-5.5 · GPT-5.4 · GPT-5.4 Mini |
| Google Gemini | OpenAI Compat | 3.0 Pro · 3.0 Flash · 2.5 Pro |
| DeepSeek | OpenAI Compat | V4 Pro · V4 Flash |
| One Mipham | OpenAI Compat | om-V5-Flash · Pro · Visual (in development) |
| Doubao (ByteDance) | OpenAI Compat | Seed 2.0 Pro/Code · 1.6 Flash |
| Tencent Hunyuan | OpenAI Compat | 2.0 Think · T1 Vision · Hy3 Preview |
| Qwen (Alibaba) | OpenAI Compat | Qwen Max · Qwen Plus |
Architecture
Bun + React/Ink CLI · Next.js 14 Web · TypeScript Strict · pnpm Monorepo · Vitest 411 tests
Provider Layer: Anthropic Native SDK + OpenAI Compat × 6 unified interface · SSE streaming · Tool orchestration
Security: Path sandbox · SSRF protection · Bash blacklist · Permission gating · Parameter validation
Get Started
One command to install, interactive setup wizard on first launch.
npm install -g @miphamai/cli && mipham