This page tells you how to build the Saci binaries and the worker image from a checkout, and how to install them.
cargo command installs the
pinned toolchain from rust-toolchain.toml.To build the binaries in release mode and install them, run this command from the repository root:
make install # installs in /usr/local/bin
make install BINDIR=$HOME/bin # installs in a directory that you select
make install PREFIX=/opt/saci # installs in /opt/saci/bin
The target installs saci, saci-backend, saci-worker,
saci-script-runner (MCP script runner) and
saci-julia (Julia 1 judge). It uses only
cargo and the standard install tool, and works on Linux and macOS.
Do not run sudo make install. The target builds as the current user. If
you do not have write access to the directory, the target uses sudo only
to copy the binaries, and sudo asks for your password. To use a different
command, set SUDO, for example make install SUDO=doas. To disable it,
set SUDO=. Packagers can set DESTDIR to install into a staging root.
To embed the web console, run make web before
make install. To remove the installed binaries, run make uninstall with
the same PREFIX or BINDIR.
Each run executes in a worker container. Build the image from the checkout:
make image # localhost/saci-worker:latest
localhost/saci-worker:latest is the default worker.image. To use the
published image instead, see the worker image.
Saci contains skills for coding agents such as Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode. The skills teach the agent to convert plans, run them, summarize the report and investigate failures. To install all skills for Claude Code in the current project, run:
saci skill install --all --agent claude
For other agents and options, see use Saci from a coding agent.