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

Four 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

Requires Bun 1.2+ or Node.js 22+. After install, run mipham to start.

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

ProviderProtocolModels
Anthropic ClaudeNative SDKFable 5 · Opus 4.8 · Sonnet 4.6 · Haiku 4.5
OpenAIOpenAI CompatGPT-5.5 · GPT-5.4 · GPT-5.4 Mini
Google GeminiOpenAI Compat3.0 Pro · 3.0 Flash · 2.5 Pro
DeepSeekOpenAI CompatV4 Pro · V4 Flash
One MiphamOpenAI Compatom-V5-Flash · Pro · Visual (in development)
Doubao (ByteDance)OpenAI CompatSeed 2.0 Pro/Code · 1.6 Flash
Tencent HunyuanOpenAI Compat2.0 Think · T1 Vision · Hy3 Preview
Qwen (Alibaba)OpenAI CompatQwen 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