Authorization notice. Fuxi is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forA developer whose project has failing tests and who wants a terminal agent to investigate and patch them.
The problemTracing a failing test through the code and making a correct fix takes time, especially in an unfamiliar repository.
The outcomeFuXi reads the relevant code, proposes or applies edits, runs commands, and reports the changes it made.
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 loginfuxi doctorcd <your-repo>(inferred, check the README)fuxi, then type: Fix the failing tests in this repository.
Prompt for your agent
In the repository at <repo-path>, run FuXi from the terminal with the prompt 'Fix the failing tests in this repository.' Expected output: a summary of the files FuXi changed and the result of its test run. Verify by running the project's own test command yourself and confirming the previously failing tests now pass.
Caveat. Sign-in gives access to FuXi-managed models, and the README says registration processes minimal account data, so check the privacy docs before using it on private code.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for fuxicodex/Fuxi and "Fix failing tests in a repo from the terminal"
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