Install AgentHealth
The commands below install the published v0.12.0 release. See publication verification.
Choose a distribution:
| Method | Instructions |
|---|---|
| Standalone binary (Linux, macOS, Windows) | Platform downloads and commands below |
| Docker Hub or GHCR | Run the container |
| Kubernetes / Helm | Chart and manifests, Kubernetes guide |
| Linux DEB/RPM, Homebrew/Scoop manifests | Package channels |
| OCI release-file bundle | ORAS download |
Python/PyPI and JavaScript/npm SDKs are planned and not published.
Download the archive for your operating system and CPU from GitHub Releases. Go is not required for downloaded binaries.
| Platform | Archive suffix |
|---|---|
| Linux x86-64 | linux_amd64.tar.gz |
| Linux ARM64 | linux_arm64.tar.gz |
| macOS Intel | darwin_amd64.tar.gz |
| macOS Apple Silicon | darwin_arm64.tar.gz |
| Windows x86-64 | windows_amd64.zip |
Linux x86-64 example
curl -fLO https://github.com/TheAgentHealth/agenthealth/releases/download/v0.12.0/agenthealth_v0.12.0_linux_amd64.tar.gz
curl -fLO https://github.com/TheAgentHealth/agenthealth/releases/download/v0.12.0/checksums.txt
sha256sum --check --ignore-missing checksums.txt
tar -xzf agenthealth_v0.12.0_linux_amd64.tar.gz
./agenthealth version
./agenthealth ping http https://example.com
To run from any directory, place the binary in a directory on your PATH. For example:
mkdir -p "$HOME/.local/bin"
install -m 755 agenthealth "$HOME/.local/bin/agenthealth"
export PATH="$HOME/.local/bin:$PATH"
agenthealth version
Persist the PATH addition in your shell configuration if needed.
On macOS, use the appropriate tar archive and shasum -a 256 to compare its hash with checksums.txt. On Windows, extract the ZIP and run ./agenthealth.exe version in PowerShell; use Get-FileHash -Algorithm SHA256 to compare the archive hash. Release artifacts carry GitHub keyless signed provenance and per-platform SBOM attestations. OS-native executable signing and macOS notarization remain future distribution work.
Build from source
With Go 1.23 or newer:
git clone https://github.com/TheAgentHealth/agenthealth.git
cd agenthealth
git checkout v0.12.0
go build -ldflags '-X main.version=v0.12.0' -o agenthealth ./cmd/agenthealth
./agenthealth version
See CLI usage and HTTP configuration. The v0.12.0 security release rebuilds existing package-channel assets and includes the official container image, experimental AHP HTTP serving, shared dependency graphs, and supports agent/multi-agent, gateway/router HTTP signals, HTTP/API, MCP HTTP/stdio with OAuth, and A2A 1.0 JSON-RPC targets with explicit 0.3.0 compatibility. See agent setup and runtime prerequisites, MCP configuration and A2A configuration.
Phase 10 graph fields require v0.8.0 or newer. Existing nested configurations remain valid. The graph example requires configured services and a safe runtime handler.
Verify provenance and SBOMs
Each archive has a matching agenthealth_v0.12.0_<os>_<arch>.cdx.json CycloneDX
1.6 SBOM describing linked Go modules, the standard-library version and the
executable SHA-256. checksums.txt covers both archives and SBOMs.
With a current GitHub CLI supporting gh attestation:
gh attestation verify agenthealth_v0.12.0_linux_amd64.tar.gz --repo TheAgentHealth/agenthealth
gh attestation verify agenthealth_v0.12.0_linux_amd64.tar.gz --repo TheAgentHealth/agenthealth --predicate-type https://cyclonedx.org/bom
Attestations bind artifacts to this repository’s release workflow through a
GitHub OIDC identity. Checksums alone do not authenticate the publisher.
Archives normalize owner IDs, names, modes, timestamps and gzip/ZIP metadata.
Reproduction requires the same source commit, Go toolchain and build environment;
archive timestamp defaults to the commit time and can use SOURCE_DATE_EPOCH.
Phase 8 Agentgateway checks are included starting in v0.6.0.
Phase 9 Agent Router checks are included starting in v0.7.0. Phase 10 dependency graphs are included starting in v0.8.0.
Phase 11 experimental AHP serving is included starting in v0.9.0.
Phase 12 container image publishing is included starting in v0.10.0.
Container image
Starting in v0.10.0, each CLI release tag publishes a
multi-platform image (linux/amd64, linux/arm64) to
ghcr.io/theagenthealth/agenthealth, tagged vX.Y.Z with floating vX and
latest for plain version tags; suffixed pre-release tags publish only their
exact vX.Y.Z-suffix. Docker Hub at theagenthealth/agenthealth uses the same
tags when mirror credentials are configured; v0.12.0 is available from both registries:
# GitHub Container Registry
docker run --rm ghcr.io/theagenthealth/agenthealth:v0.12.0 version
# Docker Hub
docker run --rm theagenthealth/agenthealth:v0.12.0 version
To build the image locally:
docker build --build-arg VERSION=dev -t agenthealth .
docker run --rm agenthealth version
The image uses a digest-pinned distroless static base with CA certificates,
runs as the non-root user 65532, and contains no shell. Its entrypoint is
agenthealth, so arguments are CLI arguments. The binaries inside are
byte-identical to the binaries in the matching Linux release archives.
docker run --rm ghcr.io/theagenthealth/agenthealth ping http https://example.com
# Mount configuration read-only and pass referenced credentials by name.
docker run --rm \
-v "$PWD/agenthealth.yaml:/config/agenthealth.yaml:ro" \
-e AGENT_API_TOKEN \
ghcr.io/theagenthealth/agenthealth check /config/agenthealth.yaml --format json
Exit codes are the CLI exit codes, so the container
can gate CI jobs and Kubernetes probes directly. Use host.docker.internal
(Docker Desktop) or a container network to reach services on the host. See
Docker distribution for a full guide, including multi-platform
local builds with Buildx and AHP serve-mode usage.
Limitations: MCP stdio targets run their configured executable inside the
container, so build a derived image that adds that server. agenthealth login
needs a browser callback and is intended for a workstation binary. Token files
require owner-only permissions and may be rewritten on refresh, so a container
reusing one needs a writable volume owned by UID 65532.
Verify a published image's signed attestation with the GitHub CLI:
gh attestation verify oci://ghcr.io/theagenthealth/agenthealth:<version> --repo TheAgentHealth/agenthealth
Package channels (Phase 13, v0.11.0)
Starting in v0.11.0, releases built with Phase 13 tooling add agenthealth.rb (Homebrew),
agenthealth.json (Scoop), and agenthealth_<tag>_linux_<arch>.deb / .rpm
for AMD64 and ARM64. These assets are not present in v0.10.0. No official
Homebrew tap, Scoop bucket, APT or YUM repository is published yet.
Download the assets and checksums.txt from the
same immutable tag and verify their hashes and GitHub provenance before use.
Homebrew formula generation follows the Formula Cookbook;
Scoop uses the app manifest format.
Maintainers can place the generated formula in a tap's Formula/agenthealth.rb;
users can install a downloaded Scoop manifest with scoop install ./agenthealth.json.
Both manifests download the exact tagged archive and verify its SHA-256.
On Debian/Ubuntu use sudo apt install ./agenthealth_<tag>_linux_<arch>.deb;
on RPM distributions use sudo dnf install ./agenthealth_<tag>_linux_<arch>.rpm.
Packages install /usr/bin/agenthealth and license/install documentation under
/usr/share/doc/agenthealth, depend on ca-certificates, and create no service,
configuration, credentials or install hooks. Remove with the normal package
manager. Do not install multiple distribution methods to the same PATH location.
Release CI runs native archive version/help/tool-failure checks on Linux AMD64 and ARM64, macOS Intel and Apple Silicon, and Windows AMD64. These are smoke checks, not a supported-OS certification or native code signing. Package-manager installation across distributions and public channel hosting remain follow-up work.
Kubernetes and Helm source installation
Phase 14 provides manifests, the Helm chart and runnable scenarios. Source chart 0.12.0 pins CLI v0.12.0 and publishes through the shared release workflow. The historical chart 0.1.0 remains available as helm-v0.1.0, pinning CLI v0.11.1. See Kubernetes and distribution for direct release downloads, OCI Helm install and ORAS binary retrieval. New v0.12.0 channels become available only after publication and verification.