Skip to Content
Amaru
Amaru LightGet started

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. Run gh auth setup-git once 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) or bob (IBM Bob, with BOB_API_KEY). It must be allowed to run the project's build and tests without asking.
  • amaru-guard, the prompt guard, on PATH. Its first start downloads a model of about 300 MB from Hugging Face.
  • Rust, to build from source. rust-toolchain.toml pins 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.gz

The 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 it

CI 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

On this page