Authorization notice. Fuxi is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Credentials. A setup token grants access to your FuXi account, so store it as a secret and do not print it in build logs.
Remote script. The install command pipes a remote bootstrap script directly into bash, so review the script or pin a known version before running it on a server.
Who it is forA platform engineer who needs FuXi available on a headless server or CI runner where no browser sign-in is possible.
The problemInteractive login does not work on servers or CI machines, so the agent cannot be authenticated there.
The outcomeThe headless machine is authenticated with a setup token and FuXi's environment checks pass.
What you need first
- A FuXi account (`fuxi login`) or your own LLM provider API key
- A macOS, Linux, or Windows terminal
- A local code repository to work in
Steps
curl -fsSL https://downloads.fuxicode.com/bootstrap.sh | bashfuxi setup-token- Store the issued token in your CI secret store (inferred, the README does not describe storage).
fuxi doctorfuxi --version
Prompt for your agent
On the headless host <host-name>, install FuXi from the fuxicodex/Fuxi repo and authenticate with `fuxi setup-token`. Expected output: `fuxi doctor` completes its environment checks without errors. Verify by running `fuxi --version` and confirming the version prints.
Caveat. The README only says setup-token is for headless and CI use and does not document a non-interactive prompt mode, so verify how your pipeline should call FuXi.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for fuxicodex/Fuxi and "Set up FuXi on a headless machine with a setup token"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer