Install & build
Warden’s core is a single Rust binary. The optional Python SDK provides the identity adapters and orchestration shims.
Build the binary
git clone https://github.com/vijayvedula/warden
cd warden
cargo build --release # -> target/release/warden
export PATH="$PWD/target/release:$PATH"
warden --help
Requires a recent stable Rust toolchain (see
rust-versioninCargo.toml). A debug build (cargo build) is fine for local use.
Run it in a container
A slim, non-root image is provided:
docker build -t warden .
docker run --rm warden --help
# with a config + policy mounted:
docker run --rm -v "$PWD:/cfg" warden proxy --config /cfg/warden.proxy.toml
Tagged releases also publish prebuilt binaries and a container image to GHCR.
Install the Python SDK
Only needed if you want the identity adapters / orchestration shims (most provider guides use it):
pip install warden-agent-sdk # core: token builder + conformance kit
pip install "warden-agent-sdk[jwt]" # + asymmetric JWT signing (PyJWT)
The SDK core is pure-stdlib; the proxy always accepts a raw conforming token, so the SDK is convenience, not a requirement.
Verify your install
warden demo # self-contained walkthrough, no API key
warden audit verify --audit .warden-demo/audit.jsonl
If both succeed, you’re ready for the Quickstart.