Skip to main content

Async audit client

For FastAPI, asyncio agents, and other async runtimes:

Differences from sync client

Telemetry methods are also available on AsyncClient.telemetry.

Async Telemetry

When using AsyncClient, telemetry execution and span context managers are asynchronous and run completely non-blocking in the background:

FastAPI lifespan pattern

See the FastAPI integration for middleware setup.