Python SDK — Installation
Install and configure korclaw v1.0.0.
bash
pip install korclawRequires Python >= 3.10. Depends on httpx>=0.27,<1.
Sync client
from korclaw import KorClaw
client = KorClaw(
api_key="kc_live_your_api_key_here",
base_url="https://app.korclaw.com/api/v1", # default
timeout=30.0,
max_retries=2,
)Async client
from korclaw import AsyncKorClaw
async with AsyncKorClaw(api_key="kc_live_your_api_key_here") as client:
agents = await client.agents.list()Default base URL difference
The sync client defaults to https://app.korclaw.com/api/v1. The async client defaults to https://www.korclaw.com/api/v1. Always set base_url explicitly in production.