Install
Prerequisites
Section titled “Prerequisites”Python SDK
Section titled “Python SDK”- Python 3.8 or higher
- pip package manager
- Private key for signing transactions (or run in read-only mode)
- Access to an Ethereum RPC endpoint (e.g., Alchemy, Infura)
- (Optional) IPFS provider account (Pinata, Filecoin, or local IPFS node)
- Subgraph: Automatically configured with default URL (optional override for custom subgraph endpoints)
TypeScript SDK
Section titled “TypeScript SDK”- Node.js 22 or higher
- npm or yarn package manager
- For writes: configure either a server-side
privateKeyor a browserwalletProvider(EIP-1193) - Access to an Ethereum RPC endpoint (e.g., Alchemy, Infura)
- (Optional) IPFS provider account (Pinata, Filecoin, or local IPFS node)
- Subgraph: Automatically configured with default URL (optional override for custom subgraph endpoints)
Installation
Section titled “Installation”pip install agent0-sdkgit clone https://github.com/agent0lab/agent0-py.gitcd agent0-pypip install -e .npm install agent0-sdkgit clone https://github.com/agent0lab/agent0-ts.gitcd agent0-tsnpm installnpm run buildRequired Dependencies
Section titled “Required Dependencies”Agent0 SDK depends on:
web3- Ethereum blockchain interactioneth-account- Account management and signingrequests- HTTP requestsipfshttpclient- IPFS integrationpydantic- Data validation and settings managementpython-dotenv- Environment variable managementaiohttp- Async HTTP client All dependencies are installed automatically with pip.
Agent0 SDK depends on:
viem/ EVM client stack (bundled via npm dependencies)graphql-request/ GraphQL tooling for subgraph queries (bundled via npm dependencies)
All dependencies are installed automatically with npm/yarn.
Optional Dependencies
Section titled “Optional Dependencies”For enhanced functionality:
- Subgraph: Automatically configured with default URL for fast search queries (override with
subgraphOverridesfor custom endpoints) - IPFS Providers: Pinata JWT or Filecoin private key for decentralized file storage
Next Steps
Section titled “Next Steps”- Configure your Agent
- Start with Registration
- Client-side: Client-side usage