SDKs & Libraries
Official SDKs for seamless integration
⚡
OpenAI-compatible API only
TarqaAI implements the OpenAI API spec — POST /v1/chat/completions.
The native Anthropic SDK (/v1/messages) and
native Google GenAI SDK (generateContent) use different request formats and are not compatible.
Use the OpenAI SDK with baseURL pointing to TarqaAI — you can then access Claude, Gemini, GPT-4, Llama, and all 60+ models through the same client.
OpenAI SDK
OpenAI SDK (recommended)
Drop-in replacement — change
baseURL only, everything else stays the sameInstallation
JavaScript / TypeScript
Python
JS
TarqaAI JavaScript / TypeScript SDK
Coming Soon
For Node.js, React, Vue, Next.js, and more — not yet published to npm
Installation
Planned quick start
🐍
TarqaAI Python SDK
Coming Soon
For Flask, FastAPI, Django, and data science — not yet published to PyPI
Installation
Planned quick start
Framework integration guides
▲
Next.js
Server-side rendering with API routes
⚛️
React
Client-side chat applications
💚
Vue.js
Progressive web applications
🚂
Express.js
RESTful API backends
⚡
FastAPI
High-performance Python APIs
🎸
Django
Full-stack Python applications
🌶️
Flask
Lightweight Python microservices
🔥
Svelte
Reactive frontend applications
