Install
Requirements for running Amaru Light and three ways to install it, by building from source, from a package archive, or with the container image.
Amaru Light runs as one daemon on a machine you control. Choose how to install it, then continue with the quickstart.
Before you begin
- Git and the GitHub CLI (
gh). - A GitHub token for a bot account, exported as
GH_TOKEN. Rungh auth setup-gitonce so Git pushes with that token. Which token to create depends on direct or fork pushes; see GitHub access. - At least one agent CLI, signed in as the user that runs the daemon:
claude(Claude Code),codex(Codex CLI) orbob(IBM Bob, withBOB_API_KEY). It must be allowed to run the project's build and tests without asking. amaru-guard, the prompt guard, onPATH. Its first start downloads a model of about 300 MB from Hugging Face.- Rust, to build from source.
rust-toolchain.tomlpins the release.
Build from source
make install # builds target/release/amaru
cargo build -p amaru-guard # builds the prompt guard, a separate crate in guard/Put both binaries on PATH. Where the guard's build cannot download ONNX Runtime, build it with
--no-default-features --features load-dynamic and point ORT_DYLIB_PATH at a
libonnxruntime.so 1.20 when it runs.
Install from a package
make package
# Optional: another target, with the toolchain and linker installed:
make package TARGET=x86_64-unknown-linux-musl
scripts/test-package.sh dist/amaru-<version>-<target>.tar.gzThe archive holds the binaries, the example settings, an installer and INSTALL.md, and no
database, credentials or checkouts. On the target machine:
./install.sh # or: ./install.sh "$HOME/bot/amaru"No sudo is needed, and the installer refuses to overwrite a nonempty directory. The amaru
launcher it installs uses config/amaru.yaml unless you pass --config. Linux GNU builds need a
glibc at least as new as the build machine's; for older systems build a musl target.
Use the container image
make image # localhost/amaru-light:latest
make image-check # build it and smoke-test itCI also publishes the image to ghcr.io/amaru-oss/amaru-light for amd64 and arm64. The image
includes amaru-guard. See Run in a container.
Based on README.md, packaging/INSTALL.md,
docs/prompt-guard.md and Makefile.
Next steps
- Quickstart: configure and start the daemon.
- GitHub access: create the bot's token.
Get started
Start with Amaru Light by installing the daemon and its prompt guard, running it on a repository, and learning how a ticket moves from claim to merge.
Quickstart
Configure an Amaru Light daemon and one project from the examples, check the setup with amaru doctor, and start serving GitHub issues in a few commands.