Installation
Install the AgentMarque Python SDK. One pip install, no servers, no Docker, no environment variables.
Install the SDK
Requires Python 3.12+.
pip install agentmarque
Development install from source
Clone the repository and install in editable mode with dev dependencies:
git clone https://github.com/cuttlesoft/agentmarque.git
cd agentmarque
pip install -e ".[dev]"
This installs the SDK along with testing and linting tools (pytest, ruff, etc.).
Verify the install
Run a quick import check to confirm everything is working:
python -c "from agentmarque import AgentCredential, AgentMarqueVerifier, AgentHandshake; print('OK')"
If it prints OK, you're good to go.
Dependencies
The SDK pulls in the following packages automatically:
| Package | Purpose |
|---|---|
cryptography | Ed25519 key generation and signing |
PyJWT | JWT encoding and decoding |
base58 | Base58 encoding for did:key identifiers |
jcs | JSON Canonicalization Scheme for credential hashing |
pydantic | Data validation and serialization |
httpx | HTTP client for optional remote verification |
All dependencies are declared in pyproject.toml and installed automatically with pip install agentmarque.
What's next?
- Quickstart -- issue, present, verify, and handshake in one script
- SDK Reference -- full API documentation