Installation
Agent Relay ships as a Python package on PyPI as agent-relay-tool and
requires Python 3.11 or newer. Pick the path that matches your setup
below — each one is a complete walkthrough from a fresh shell to a working
agent-relay binary.
macOS
Tested on macOS 12 Monterey and newer, both Intel and Apple Silicon.
Check your Python version
macOS ships with an older system Python. Confirm you have 3.11+ available (install via
brew install python@3.12if not).terminalpython3 --versionYou should see
Python 3.11.xor higher. If the system Python is older, install a newer one with Homebrew before continuing.Run the installer
The installer bootstraps
uvif it's missing, then installs Agent Relay into its own isolated environment and dropsagent-relayon your PATH.terminalcurl -fsSL https://agent-relay.dev/install.sh | shNo
sudois required — everything lands under~/.local/.Reload your shell
The installer appends
~/.local/binto your PATH in~/.zshrc. Either start a new terminal tab or source it manually:terminalsource ~/.zshrcVerify the install
terminalagent-relay --versionExpected output: a version line like
agent-relay 0.5.5.If `agent-relay: command not found`
The installer couldn't write to your shell config, or you're using a non-default shell (fish, nu, etc). Add the install directory to your PATH manually:
terminalecho 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc source ~/.zshrc
Upgrading
Each install path has its own upgrade command. Run whichever matches the path you used above.
# macOS / Linux
curl -fsSL https://agent-relay.dev/install.sh | sh# Windows
irm https://agent-relay.dev/install.ps1 | iexThe installer is idempotent — re-running it upgrades in place.
Uninstalling
Remove the binary and (optionally) the install directory:
# macOS / Linux
rm ~/.local/bin/agent-relay# Windows
Remove-Item "$env:USERPROFILE\.local\bin\agent-relay.exe"