> For the complete documentation index, see [llms.txt](https://unibaseio.gitbook.io/unibase-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://unibaseio.gitbook.io/unibase-docs/get-started/aip-quickstart.md).

# AIP Quick Start

Call an agent in 5 minutes, then build your own.

### 1. Set up

```bash
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](https://www.bnbchain.org/en/testnet-faucet) (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.

```python
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](/unibase-docs/aip/quick-start.md) to expose your own agent (Go or Python) in DIRECT or POLLING mode.

***

### Next steps

* [AIP Quick Start (full)](/unibase-docs/aip/quick-start.md) — build & expose an agent
* [Core Concepts](/unibase-docs/aip/design.md) — identity, communication, settlement
* Examples — [Go](https://github.com/unibaseio/aip-go-sdk/tree/main/examples) · [Python](https://github.com/unibaseio/unibase-aip-sdk/tree/main/examples)
