An AI coding agent that lives in your terminal. Codename YiHuaKaiTian — "one stroke opens the heavens."
FuXi is a fast, self-contained AI developer terminal — a coding agent you drive from a rich TUI. It reads your codebase, edits files, runs commands, drives tools, and routes every request across multiple LLM providers with cost-aware routing and automatic failover. Written in Go, it ships as a single static binary with no runtime dependencies.
Homepage: https://www.fuxicode.com
- Multi-LLM routing — one agent, many providers. First-class support for:
- Anthropic (native Messages API) and Anthropic on AWS Bedrock / Google Vertex
- OpenAI-compatible endpoints (OpenAI, Azure OpenAI, and any OpenAI-style API)
- Google Gemini
- Popular open/China-hosted models via OpenAI-compatible endpoints — **GLM **, DeepSeek, Qwen, Hunyuan, Doubao, Ernie, Grok (xAI), and more
- Intelligence layer — cost-aware routing, automatic failover to a healthy provider, optional racing of primary vs. fallback, and role-based model tiers (fast / primary / reasoning) resolved from your config.
- A deep tool suite — file read/edit/write, shell (
bash/ PowerShell) with a safety classifier, web fetch, code search, LSP-backed diagnostics, Jupyter notebooks, computer/browser use via MCP, background tasks, and parallel sub-agents. - MCP client — connect any Model Context Protocol server (stdio, HTTP, or WebSocket) and its tools become available to the agent.
- Extensible — hooks, skills, plugins, and user-defined slash commands.
- Durable sessions — persistent transcripts, checkpoints/resume, an idle "dreaming" memory, and automatic context compaction for long conversations.
- Bring your own key, or log in — use a provider API key, or sign in with FuXi OAuth. Keys are never required for the FuXi-managed path.
- Self-updating — a background version check and a one-command
fuxi updatekeep your install current, with checksum verification before it ever replaces the running binary.
curl -fsSL https://releases.fuxicode.com/bootstrap.sh | bash