Skip to content
Last updated

Official SDKs

Aitronos provides official Software Development Kits (SDKs) to simplify integration with the Aitronos API across multiple programming languages.

Python SDK

The official Python library for Aitronos with full async support, type hints, and automatic retries.

pip install aitronos-sdk

Features:

  • Full API coverage (Responses, Threads, Files, Vector Stores, Images, Models)
  • Synchronous and asynchronous clients
  • Type hints and autocompletion
  • Automatic retries with exponential backoff
  • Both API key and Bearer token authentication

Quick Start:

from aitronos import Aitronos

# API key authentication
client = Aitronos(api_key="your-api-key")

# Create a thread
thread = client.threads.create(
    organization_id="org_...",
    assistant_id="ast_...",
)

# Get a response
response = client.responses.create(
    organization_id="org_...",
    inputs=[{"role": "user", "content": [{"type": "input_text", "text": "Hello!"}]}],
)

# Async client
from aitronos import AsyncAitronos
import asyncio

async def main():
    async with AsyncAitronos(api_key="your-api-key") as client:
        models = await client.models.list_models(organization_id="org_...")

asyncio.run(main())

Documentation: Complete Python SDK Guide →

JavaScript/TypeScript SDK

Official Node.js and browser library for Aitronos. (Coming soon — Phase 2)

npm install aitronos
# or
yarn add aitronos

Features:

  • TypeScript support with full type definitions
  • Works in Node.js and modern browsers
  • Streaming and real-time APIs
  • Promise-based and async/await
  • Automatic request/response validation

Documentation: Coming soon

.NET SDK

Official C# library for Aitronos. (Coming soon — Phase 2)

dotnet add package Aitronos

Features:

  • .NET 6+ support
  • Strongly typed models
  • Async/await patterns
  • Streaming support
  • Dependency injection friendly

Documentation: Coming soon

REST API Direct Usage

Don't want to use an SDK? You can make direct HTTP requests to the Aitronos API from any language or tool.

cURL Example

curl https://api.aitronos.com/v1/model/response \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "organization_id": "org_...",
    "inputs": [
      {"role": "user", "content": [{"type": "input_text", "text": "Hello!"}]}
    ]
  }'

HTTP Clients

Any HTTP client library works with Aitronos:

  • Python: requests, httpx, aiohttp
  • JavaScript: fetch, axios, node-fetch
  • Java: HttpClient, OkHttp, Apache HttpClient
  • C#: HttpClient
  • .NET: RestSharp, Flurl

See our API Reference for complete endpoint documentation.

Support

Having issues with an SDK?


SDKs maintained by Aitronos