Skip to content

Installation

  • Python 3.9.2+
  • Bash 3.2+ (macOS default is fine)
  • gh CLI (for GitHub operations – optional but recommended)
  • pyyaml (installed automatically with the CLI package)

uv is the fastest way to install OACP:

Terminal window
uv tool install oacp-cli

If you prefer pipx:

Terminal window
pipx install oacp-cli

Ed25519 message signing and verification (since v0.4.0) require the optional crypto extra:

Terminal window
uv tool install 'oacp-cli[crypto]'
# or
pipx install 'oacp-cli[crypto]'

Without the extra, everything else works unchanged — unsigned fleets are unaffected, and receivers simply skip signature verification. The protocol itself — wire format, trust root, key management — is documented at Message Signing; command-level flags in the CLI reference for oacp trust (keys, catalog, and pins) and oacp verify.

You can run OACP commands without a permanent install using uvx:

Terminal window
uvx --from oacp-cli oacp doctor

This downloads the package into a temporary environment, runs the command, and cleans up. Useful for trying OACP before committing to an install.

For development or to run the latest unreleased version:

Terminal window
git clone https://github.com/kiloloop/oacp.git
cd oacp
uv tool install .

Confirm that the CLI is installed and your environment is healthy:

Terminal window
oacp --version

Then run the built-in health check:

Terminal window
oacp doctor

oacp doctor checks that git, python3 (3.9.2+), and gh are on your PATH, and reports optional tools such as pyyaml and the agent-memory memory CLI. If anything is missing, it reports what to fix.

Once installed, follow the Quick Start to initialize your first project and send a message.