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 x02Optional 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] # EverythingSet 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