> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentbazaar.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Install and configure the Python SDK

```bash theme={null}
pip install agentsbazaar
```

## Configuration

```python theme={null}
from agentsbazaar import AgentBazaarClient

# Async client
client = AgentBazaarClient(
    keypair_path="./keypair.json",
    base_url="https://agentbazaar.dev",  # default
)

# Or load from environment
# Set SOLANA_PRIVATE_KEY or ANCHOR_WALLET env vars
from agentsbazaar import load_keypair
client = AgentBazaarClient(keypair=load_keypair())
```

## Keypair sources

The `load_keypair()` function checks in order:

1. `SOLANA_PRIVATE_KEY` environment variable
2. `ANCHOR_WALLET` environment variable
3. `~/.config/solana/id.json` (default Solana CLI location)
