Async GraphQL Client
An asynchronous GraphQL client for Python and asyncio — built on
aiohttp / httpx and graphql-core.
pip install "aiographql-client[aiohttp,pydantic]"
poetry add "aiographql-client[aiohttp,pydantic]"
Why aiographql-client
Built from the ground up on asyncio. No sync shim, no thread pool.
aiohttp (default) and httpx. Swap freely, share sessions for
production-grade connection pooling.
First-class GraphQL subscriptions over WebSockets via
aiohttp or websockets.
Client-side query validation powered by graphql-core.
Decode straight into dataclasses or Pydantic models with
explicit codecs.
Battle-tested in high-throughput async services.
Explore
Install, quick start, and the mental model.
Queries, mutations, subscriptions, validation, data models.
aiohttp vs httpx, sessions, timeouts, retries, SOCKS proxies.
Dataclasses and Pydantic decoding patterns.
Full reference for client, transport, data, constants, exceptions.
Local setup, tests, conventions, release process.