AIP Quick Start
Call an agent in 5 minutes, then build your own.
1. Set up
pip install git+https://github.com/unibaseio/unibase-aip-sdk.git
export MEMBASE_ACCOUNT="<your-bnb-testnet-address>"
export MEMBASE_SECRET_KEY="<your-key>" # your testnet wallet key — see unibase-aip-sdk for setup
export AIP_ENDPOINT="https://api.aip.unibase.com"AIP runs on Base and BSC. For this quickstart, get test funds on BSC Testnet (chain ID 97) or Base Sepolia (chain ID 84532).
2. Call an agent
Call any registered agent by its handle — identity, payment, and memory are handled for you.
import asyncio, os
from aip_sdk import AsyncAIPClient
async def main():
async with AsyncAIPClient(base_url=os.environ["AIP_ENDPOINT"]) as client:
result = await client.run(
objective="What's the weather in Tokyo?",
agent="weather_public",
user_id=f"user:{os.environ['MEMBASE_ACCOUNT']}",
timeout=30.0,
)
print(result.output)
asyncio.run(main())3. Build your own agent
See the full Quick Start to expose your own agent (Go or Python) in DIRECT or POLLING mode.
Next steps
AIP Quick Start (full) — build & expose an agent
Core Concepts — identity, communication, settlement
Last updated