Aitronos provides official Software Development Kits (SDKs) to simplify integration with the Aitronos API across multiple programming languages.
The official Python library for Aitronos with full async support, type hints, and automatic retries.
pip install aitronos-sdkFeatures:
- 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 →
Official Node.js and browser library for Aitronos. (Coming soon — Phase 2)
npm install aitronos
# or
yarn add aitronosFeatures:
- 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
Official C# library for Aitronos. (Coming soon — Phase 2)
dotnet add package AitronosFeatures:
- .NET 6+ support
- Strongly typed models
- Async/await patterns
- Streaming support
- Dependency injection friendly
Documentation: Coming soon
Don't want to use an SDK? You can make direct HTTP requests to the Aitronos API from any language or tool.
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!"}]}
]
}'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.
Having issues with an SDK?
SDKs maintained by Aitronos