Skip to content

Install

  • 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)
  • Node.js 18 or higher
  • npm or yarn 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)

The easiest way to install Agent0 SDK is using pip:

Terminal window
pip install agent0-sdk

To install from the latest source code:

Terminal window
git clone https://github.com/agent0lab/agent0-py.git
cd agent0-py
pip install -e .

Verify that Agent0 SDK is installed correctly:

from agent0_sdk import SDK
print(f"Agent0 SDK imported successfully")

Agent0 SDK depends on:

  • web3 - Ethereum blockchain interaction
  • eth_account - Account management and signing
  • requests - HTTP requests
  • ipfshttpclient - IPFS integration
  • pydantic - Data validation and settings management
  • python-dotenv - Environment variable management
  • aiohttp - Async HTTP client
  • numpy - Numerical computing (for search)
  • scikit-learn - Machine learning (for search)
  • sentence-transformers - Semantic search

All dependencies are installed automatically with pip.

For enhanced functionality:

  • Subgraph: Automatically configured with default URL for fast search queries (optional override with subgraphUrl or subgraphOverrides for custom endpoints)
  • IPFS Providers: Pinata JWT or Filecoin private key for decentralized file storage