Fuxi

by fuxicodexVerified

FuXi is a fast, self-contained AI coding agent that lives in your terminal — edit code, run commands, and drive tools, with cost-aware routing across LLM providers.

1,607
Stars
56
Forks
HTML
Language
8/23/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/fuxicodex/Fuxi

Getting Started

Guides for using skills like Fuxi.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

FuXi

English | 简体中文

GitHub stars Release Last commit License

An AI coding agent that lives in your terminal.

FuXi is a fast, self-contained terminal AI coding agent — read code, edit files, run commands, and drive tools from a rich TUI, with cost-aware routing across LLM providers and automatic failover. Built in Go, it ships as one static binary with no runtime dependencies. Think of it as a provider-agnostic alternative to Claude Code: bring any OpenAI-compatible model and get an agentic Think → Act → Verify loop on top of it.

Terminal-first · Provider-agnostic · Bring your own key · MCP client · Self-updating

Homepage: https://www.fuxicode.com

curl -fsSL https://releases.fuxicode.com/bootstrap.sh | bash   # install
fuxi                                                        # start

FuXi in action


What FuXi does

Its agentic Think → Act → Verify loop and intelligent routing let any OpenAPI-compatible model perform above its raw benchmark — verified against another coding agent on a reproducible task set (see benchmark).


Contents

Highlights

The model is the engine. FuXi is the vehicle. A model alone answers questions; FuXi turns it into a worker — reasoning, acting on your real codebase, verifying results, and doing it affordably and under your control.

FuXi architecture

Think → Act → Verify loop

Intelligent routing

Elevating any model's capability

  • 50+ built-in tools — file read/write/edit, shell (bash / PowerShell), ripgrep search, web fetch, LSP diagnostics, Jupyter, browser use, background tasks, and parallel sub-agents — all in one binary.
  • Safety guardrails — shell commands pass an AST safety classifier before execution; fine-grained permissions and audit logging keep autonomous work under your control.
  • Durable sessions & memory — transcripts persist to disk; checkpoints let you resume, roll back, or fork; idle "dreaming" consolidates memory across sessions; long conversations auto-compact to save tokens.
  • Bring your own key, or log in — any provider API key (OpenAPI-compatible, Gemini, Bedrock/Vertex), or sign in with FuXi OAuth.
  • Extensible — MCP client, hooks, skills, plugins, and slash commands, all hot-reloadable.
  • Free forever — one static binary, no runtime dependencies, no license cost for individuals, teams, or enterprises.
  • Self-updating — a background version check and one-command fuxi update, with checksum verification before it replaces the running binary.

How FuXi compares

FuXi is a terminal-first AI coding agent designed to be provider-agnostic. Feature availability reflects each product's publicly documented positioning as of mid-2026; details evolve quickly, so treat it as an orientation.

Measured head-to-head

FuXi vs Claude Code head-to-head

Both systems were driven through their own native clients, on identical baselines and the same objective scorer (pytest + coverage), across 15 micro dimensions and 4 large-project dimensions. Full methodology, raw results, environment versions, exact commands, and known limitations are in benchmark/REPORT.md so you can verify or re-run it.

An honest caveat: this is a small, self-run task set — not a third-party benchmark — and it measures the agent loop, not raw model scores. Treat it as a data point, not a headline.


Evaluation & benchmarks

FuXi is built to be measured honestly. It currently ships without a published score on third-party benchmarks (e.g. SWE-bench, Terminal-Bench, or the Aider polyglot benchmark). We prefer reproducible, self-verifiable evaluation over headline numbers — so here is how to evaluate FuXi yourself, on your own work.

A practical evaluation checklist

  1. Install & self-check — after installing, run fuxi doctor to verify your environment (config, API key, git, ripgrep) and fuxi verify to confirm the provider connection. A clean bill here is the baseline.
  2. Reproduce a real task — pick a failing test in one of your own projects and let FuXi fix it; then extend the module and re-run the suite (the demo above shows exactly this flow). Repeat across a handful of daily tasks: code review, commits, PRs, refactors.
  3. Compare side by side — run the identical task, model, and context through another tool and compare: correctness, tool coverage, cost, and iteration time. Judging on the same ground keeps the comparison fair.

FuXi exposes everything needed for that comparison — /cost, /usage, /context, and /status inside the TUI — and ships its own environment self-check (fuxi doctor). Benchmarks that are published in the future will be linked from this section.


Install

macOS / Linux

curl -fsSL https://releases.fuxicode.com/bootstrap.sh | bash

Windows (PowerShell)

irm https://releases.fuxicode.com/bootstrap.ps1 | iex

Windows (CMD)

curl -fsSL https://releases.fuxicode.com/install.cmd -o "%TEMP%\fuxi-install.cmd" && "%TEMP%\fuxi-install.cmd"

All three install to ~/.local/bin (%USERPROFILE%\.local\bin on Windows) and add it to your user PATH if it isn't there already. Running the same command again later upgrades an existing install in place — it's the same command for install and upgrade.

By default they install the latest version; pin a specific one with an argument, e.g. ./bootstrap.sh 0.1.2 or ./bootstrap.ps1 0.1.2.

Verify the install

fuxi --version
fuxi doctor      # environment sanity checks (config, API key, git, ripgrep, ...)

Uninstall

# macOS / Linux
rm -f "$HOME/.local/bin/fuxi"
rm -rf "$HOME/.fuxi"   # optional: also drop config/state

# Windows (PowerShell)
Remove-Item -Force "$env:USERPROFILE\.local\bin\fuxi.exe"
Remove-Item -Recurse -Force "$env:USERPROFILE\.fuxi"   # optional

Getting started

Launch the TUI:

fuxi

On first run FuXi creates its config under ~/.fuxi/. You need a model to talk to, via one of two paths:

  1. Sign infuxi login opens a browser to authenticate with your FuXi account, which provisions FuXi-managed models automatically. No API key needed.

  2. Bring your own key — set a provider API key via environment variable, or write ~/.fuxi/config.yaml directly (fuxi init generates a starter template, auto-detecting a provider from whatever env vars are already set):

    provider: openapi
    base_url: https://your-endpoint/v1
    api_key: <your-key>       # or export FUXI_API_KEY instead
    model: your-model
    

    Managing several providers/models instead of one? Use the layered schema — a providers: catalog plus a model: selection layer:

    providers:
      custom:
        type: openapi
        base_url: https://your-endpoint/v1
        api_key: <your-key>
        models:
          - id: your-model-id
    model:
      active: { provider: custom, id: your-model-id }
    

    The layered schema supports multiple providers and per-model settings.

    Or run fuxi wizard for an interactive setup flow (pick a provider, enter the base URL/key, choose a model, test the connection).

Once a model is configured, pick it any time with /model, and manage the rest of your settings with /config — everything (permissions, hooks, skills, plugins) is driven from inside the TUI via slash commands.


Usage guide

For the complete, step-by-step guide — from installation to advanced features — see docs/usage.md. This section is a quick reference.

Command-line flags

Common flags when launching fuxi, grouped by purpose. The complete reference is in fuxi --help.

AreaFlagPurpose
Model-m, --model <name>Override the model for this run
-P, --provider <type>Provider type: anthropic | openapi
-b, --base-url <url>Override the base URL (enables the OpenAPI provider)
-k, --api-key <key>Override the API key for this run
Session-r, --resume <sessionId>Resume a specific past conversation
-c, --continueContinue the most recent conversation in this directory
--session-id <uuid>Use a specific session ID (must be a valid UUID)
--fork-sessionWhen resuming, create a new session ID instead of reusing the original
--prefill <text>Pre-fill the prompt input with text without submitting it
-d, --dir <path>Working directory
Permissions--permission-mode <mode>default | plan | bypassPermissions
--autoAuto-approve safe tool calls (classifier-gated, with a circuit breaker)
--dangerously-skip-permissionsSkip all permission checks (DANGEROUS)
Thinking--thinking <mode>enabled | adaptive | disabled
--effort <level>low | medium | high | max
--max-tokens <n>Max output tokens per API call
Tools & MCP--tools <tools...>Restrict the built-in tool set ("" = none, default = all, or names)
--mcp-config <configs...>Load MCP servers from JSON strings or file paths
--strict-mcp-configOnly use MCP servers from --mcp-config
Inspect--statusPrint resolved provider status and exit
--configPrint resolved configuration and exit
Debug--debug [pattern]Enable debug logging, optionally filtered by pattern
--verboseEnable verbose logging
-v, --version / -h, --helpVersion / full flag & command reference

fuxi --help also lists system-prompt overrides, tool restrictions, sampling controls, and swarm/agent flags.

Subcommands

CommandWhat it does
fuxi (or fuxi tui)Launch the interactive TUI
fuxi loginSign in to a FuXi account, then configure API credentials
fuxi setup-tokenSign in and print a token to export as FUXI_OAUTH_TOKEN (headless/CI)
fuxi wizardTUI setup wizard: provider, base URL, key, model, connection test
fuxi init [--force]Generate a ~/.fuxi/config.yaml template (auto-detects provider from env)
fuxi doctorRun diagnostic checks on your environment
fuxi verifyVerify provider connectivity
fuxi infoShow provider and model information
fuxi update [version]Download and install a release (checksum-verified, atomic)
fuxi agentsList configured agents grouped by source
fuxi proxyStart the smart routing proxy (protocol bridging between providers)
fuxi launch [args]Launch a proxied binary via the proxy, using your FuXi config
fuxi mcp serveRun FuXi itself as an MCP stdio server
fuxi remote-controlRun as a cloud remote-control worker (alias for --remote-control)

In-TUI slash commands

Type / and press Enter (or Tab-autocomplete) to browse all commands:

CommandWhat it does
/help, /commands, /menuShow or search all commands
/modelSwitch the active model
/configOpen configuration
/statusShow provider status
/contextShow current context-window usage
/cost, /usageSession cost / plan usage limits
/compactCompact conversation history to free up context
/clearClear the conversation
/history, /resumeBrowse or resume a past session/checkpoint
/toolsList available tools
/permissionsShow the current permission configuration
/memoryShow the project memory file
/forkShow fork-agent stats
/awayList or show stored session away-summaries
/commitCreate a git commit
/reviewReview code / create a PR
/doctorRun diagnostic checks
/copy, /pasteCopy the last reply / send clipboard text as the next prompt
/exitQuit

Keyboard & input: / then Enter opens the command browser · Tab autocompletes a slash command · Ctrl+R searches prompt history · Ctrl+V or terminal paste pastes directly into the input · bracketed paste handles large pastes. The full shortcut reference is in docs/keybindings.md.

Updating

FuXi checks for new versions in the background and prints a one-line notice when one is available. Update in place with:

fuxi update            # latest
fuxi update 0.1.2      # a specific version

fuxi update downloads the target build, verifies its SHA-256 against the published manifest, and atomically replaces the running binary — it never leaves you with a partially-installed version. Suppress the background check with --no-update-notifier or NO_UPDATE_NOTIFIER=1.

Configuration

  • Config directory: ~/.fuxi/ (override with FUXI_CONFIG_DIR).
  • Config file: ~/.fuxi/config.yaml — provider, model, thinking/effort, routing preferences, and per-endpoint overrides. Changes hot-reload while FuXi is running. fuxi init generates a starter template, and /config manages settings from inside the TUI.
  • Precedence: environment variables > config.yaml > built-in defaults.
  • Project settings: a checked-in project settings file (permissions, hooks) is honored per-project.
  • Plugins: first-party marketplace at fuxicode.com/plugins.

Key environment variables:

VariablePurpose
FUXI_BASE_URL / FUXI_API_KEY / FUXI_MODELOpenAPI-compatible provider config
FUXI_THINKING_MODE / FUXI_THINKING_EFFORTauto|enabled|disabled / low|medium|high|max
FUXI_CONFIG_DIROverride the config directory (default ~/.fuxi)
FUXI_DEBUGSet to 1 to enable debug logging
NO_UPDATE_NOTIFIERSet to 1 to suppress the background update-check notice
FUXI_TEMPERATURE / FUXI_TOP_P / FUXI_SEEDSampling controls

Run fuxi --help for the full environment-variable reference, including sandbox limits and MCP resource caps.


Project layout

This repository hosts FuXi's documentation, release installers, and the issue tracker. The product source is proprietary and is not published here (see License).

  • README.md / README.zh-CN.md — the main documentation (English / 简体中文)
  • docs/ — demo GIF, comparison graphics, usage guide, keyboard reference, FAQ
  • CHANGELOG.md — release history
  • CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, SUPPORT.md — community and support guides
  • security-privacy/ — the Security & Privacy Program: governance charter, policies, standards, procedures, global compliance matrix, and trust center

License

Proprietary. Copyright © 2026 FUXI. All rights reserved.

Frequently Asked Questions

What is Fuxi?

Fuxi is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by fuxicodex. FuXi is a fast, self-contained AI coding agent that lives in your terminal — edit code, run commands, and drive tools, with cost-aware routing across LLM providers. It has 1,607 GitHub stars.

Is Fuxi safe to use?

Yes. Fuxi passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install Fuxi?

Clone the repository with "git clone https://github.com/fuxicodex/Fuxi" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is Fuxi written in?

Fuxi is primarily written in HTML. It is open-source under fuxicodex on GitHub, so you can review or fork the full source.

Are there alternatives to Fuxi?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh Fuxi against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI Agents
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details