What do you want to do?
4 use cases
-
Fix failing tests in a repo from the terminal
Point FuXi at a repository with failing tests and have it read, edit, and rerun until they pass.
- Fuxi
- Software and DevOps
- Intermediate
View prompt
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.
-
Run FuXi on your own provider key and switch models
Connect your own API key and change models with /model to manage which provider handles your work.
- Fuxi
- Software and DevOps
- Intermediate
View prompt
Configure the FuXi repo at fuxicodex/Fuxi to use the API key for <provider-name> from the local environment, then start a session. Expected output: FuXi starts and answers a short test prompt using the provider you set. Verify that the request is billed to your own provider account and not to FuXi-managed models.
-
Set up FuXi on a headless machine with a setup token
Authenticate FuXi on a server or CI runner without an interactive sign-in using a setup token.
- Fuxi
- Software and DevOps
- Advanced
View prompt
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.
-
Run FuXi with bypassed approvals inside a container
Let FuXi run tool calls without prompts, but only inside a disposable container or VM.
- Fuxi
- Software and DevOps
- Advanced
View prompt
Inside a disposable container or VM, install FuXi from fuxicodex/Fuxi and start it with `fuxi --dangerously-skip-permissions` in the repository at <repo-path>. Expected output: the session starts in bypassPermissions mode and completes the requested change. Verify by checking the diff in the repository and confirming nothing outside the sandbox changed.
How to use Fuxi
- Check you have what it needs: 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.
- Open fuxicodex/Fuxi on GitHub and read the README and license.
curl -fsSL https://downloads.fuxicode.com/bootstrap.sh | bashfuxi loginfuxi doctorcd <your-repo>(inferred, check the README)
These steps come from our top use case, Fix failing tests in a repo from the terminal, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forDevelopers who work in a terminal and want an agent to read, change, and test code in a local repository.
- Why it is hot
- LanguagePython
- Sourcegithub.com/fuxicodex/Fuxi · Back to Hot repos
Requirements
- 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
Maintain Fuxi? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/fuxicodex-fuxi/?ref=badge)
Questions about Fuxi
What is Fuxi?
FuXi is a fast terminal AI coding agent that reads code, edits files, runs commands, and drives tools, with cost-aware routing across LLM providers. It is an open-source project on GitHub: https://github.com/fuxicodex/Fuxi.
Who is Fuxi for?
Developers who work in a terminal and want an agent to read, change, and test code in a local repository.
What can I do with Fuxi?
4 use cases so far, for example: Fix failing tests in a repo from the terminal; Run FuXi on your own provider key and switch models; Set up FuXi on a headless machine with a setup token. Each has steps and a copy-paste agent prompt.
What do I need to run Fuxi?
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.
What are alternatives to Fuxi?
Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.
Is Fuxi safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.