KaizenClient is an async HTTPX wrapper (python/kaizen_client/client.py) that automatically configures the base URL, timeout, TLS verification, and headers.
Use KaizenClient.from_env() for short-lived scripts, or instantiate KaizenClient(KaizenClientConfig(...)) to override timeouts, headers, or API hosts.
The client is an async context manager; always async with or call await client.close() to release sockets.
The core client is async; run it inside asyncio.run() or convert to sync with asyncio.run(client.compress(...)).
Provider wrappers currently new up synchronous vendor clients; until async variants ship, call them via asyncio.to_thread inside latency-sensitive services.
HTTPX retry hooks are not enabled by default. If you need retries, wrap Kaizen calls in your own helper that catches KaizenRequestError/KaizenAPIError and reapplies exponential backoff.
Include idempotency keys (e.g., default_headers={"X-Request-ID": ...}) so retried requests can be traced in Kaizen logs.