Authorization notice. Fuxi is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Remote script. The install step pipes a remote bootstrap script into bash, so review it before running it inside your sandbox.
Who it is forA developer doing a large automated refactor who wants fewer approval prompts and has an isolated environment to run it in.
The problemApproving every tool call slows long refactors, but unrestricted execution on a main workstation is risky.
The outcomeFuXi runs its tool calls without prompts inside an isolated environment, and the host machine stays protected.
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
- Start a disposable container or VM and open a shell inside it. (inferred, check the README)
curl -fsSL https://downloads.fuxicode.com/bootstrap.sh | bashfuxi --dangerously-skip-permissions(inferred, check the README)- Type your refactor prompt and review the changes when the session ends.
- Remove the container or VM when the work is done.
Prompt for your agent
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.
Caveat. The README says root and sudo are rejected on Linux and macOS, and that this flag should be used only in a container or VM, so do not run it on your main workstation.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for fuxicodex/Fuxi and "Run FuXi with bypassed approvals inside a container"
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