X02

Under Development

All documentation is a preview. We'll notify you when features are released.

Join Early Access
X02 DOCS

Python SDK

Version 0.1.0 — Core agent infrastructure library

1. Installation & Setup

Install the X02 Python SDK via pip. The core package requires Python 3.8+.

bash
pip install x02

Optional extras for on-chain and development features:

bash
pip install x02[onchain]   # Web3 integration for payments/registry
pip install x02[dev]       # Testing tools (pytest, pytest-asyncio)
pip install x02[all]       # Everything

Set your agent private key and API keys as environment variables:

bash
export X02_AGENT_PRIVATE_KEY="0x..."
export X02_GEMINI_API_KEY="your-gemini-key"
export X02_DAEMON_URL="ws://localhost:8080"

Verify installation:

python
from x02 import Agent, Hive, AgentMemory, ProviderClient
print("SDK loaded successfully")
2 / 57

X02 Protocol Documentation — Built with the Agent SDK