Skip to main content
MITHUNAI provides official client libraries for Python and TypeScript that wrap authentication, request retries, token budgeting, and Server-Sent Events (SSE) streaming into ergonomic, typed interfaces. All SDK methods map directly to the /arukz/api/v1 specification and handle tenant scoping and error parsing automatically.

TypeScript / JavaScript SDK

The @mithunai/sdk package supports Node.js 18+, Bun, Deno, and modern browser runtimes with zero external dependencies.

Installation

Asking a Grounded Question with Streaming

Ask with Streaming SSE

Python SDK

The mithunai package provides asynchronous (asyncio) and synchronous clients with full Pydantic v2 type hints.

Installation

Sync & Async Usage Examples

Async Streaming in Python

Error Handling & Retry Policies

Both SDKs include exponential backoff with jitter for transient errors:
Last modified on September 27, 2026