You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[sdk] Add an async Python client with cancellation and lifecycle management #595
area:apiPublic API surface, clients and documentationphase:MRoadmap Phase M: SDK simplification and cloud/self-hosted developer experienceroadmapTracked on the Kosha → turbopuffer-parity roadmap
The current Python client uses blocking HTTP. Bulk helpers use threads, but there is no native async client/iterator for concurrent agent tools and async application servers.
Scope
Add async client and namespace APIs matching the native synchronous contract.
Use nonblocking I/O, async context management and explicit connection cleanup.
Support cancellation during requests, backoff and streaming/iteration.
Share serialization, errors, idempotency decisions and retry defaults with the synchronous API.
Provide a bounded-concurrency agent retrieval example.
Done when
Delayed HTTP calls do not block an independent event-loop task.
Cancelling a request or iterator prevents later retries/dispatch and releases request resources.
Closing the client releases connections; async context-manager behavior is documented.
Shared error/retry/serialization fixtures pass for synchronous and asynchronous variants.
The same native documents and query options work with both variants.
The example demonstrates parallel retrieval with an explicit concurrency bound.
area:apiPublic API surface, clients and documentationphase:MRoadmap Phase M: SDK simplification and cloud/self-hosted developer experienceroadmapTracked on the Kosha → turbopuffer-parity roadmap
Activity