Installation

Release binary, cargo install, and source build paths.

Option A: Release Binary

Use a beta release binary.

bash
# 1) download and extract a release archive from:# https://github.com/agentprey/agentprey/releases# 2) run from the extracted directory./agentprey --help./agentprey init

Option B: crates.io

Install from crates.io.

bash
cargo install agentpreyagentprey --helpagentprey init

Update Existing Install

bash
cargo install agentprey --locked --force

Pin a Version

bash
cargo install agentprey --locked --version <version> --force

Option C: Build From Source

bash
git clone https://github.com/agentprey/agentprey.gitcd agentpreycargo build --manifest-path cli/Cargo.toml --release./cli/target/release/agentprey --help

Verification Steps

bash
# fast baseline checkbash scripts/beta_smoke.sh# manual run with artifactsagentprey scan   --target http://127.0.0.1:8787/chat   --category prompt-injection   --json-out ./scan.json   --html-out ./scan.html