Installation¶
One-Line Install¶
This checks for Python 3.10+, pip, and git, then installs the trust-protocol CLI and library.
From Source¶
For development (includes test and lint tools):
With Docker¶
The Docker image uses a multi-stage build with Python 3.12 slim and runs as a non-root trust user.
From PyPI (coming soon)¶
Requirements¶
- Python 3.10+
- Dependencies (installed automatically): FastAPI, uvicorn, cryptography, Pydantic, httpx, Typer, Rich
Verify Installation¶
# Start the server
trust-protocol serve
# In another terminal
curl http://localhost:9500/v1/health
# {"status": "ok", "version": "0.1.0", "uptime_seconds": ...}
The admin API key is auto-generated on first run and saved to ./data/.admin_key. You'll need this key for management operations.