SDKsSDKs & Client Libraries

SDKs & Client Libraries

Official client libraries for deploying and managing AI models on the Syaala Platform.

Production-Ready: All SDKs use real API endpoints with no mock data or fallback responses.

Available SDKs

  • TypeScript/JavaScript - Official Node.js and TypeScript SDK with full type safety and async/await support
  • Python - Coming Soon - Python SDK with async support and type hints
  • Go - Coming Soon - Go SDK with native concurrency and type safety
  • Rust - Coming Soon - Rust SDK with zero-cost abstractions and memory safety

Quick Comparison

FeatureTypeScriptPythonGoRust
Installationnpm install @syaala/sdk🚧 Coming Soon🚧 Coming Soon🚧 Coming Soon
Async/Await✅ Full support🚧 Coming Soon🚧 Coming Soon🚧 Coming Soon
Type Safety✅ Full TypeScript types🚧 Coming Soon🚧 Coming Soon🚧 Coming Soon
Streaming✅ AsyncGenerator🚧 Coming Soon🚧 Coming Soon🚧 Coming Soon
Batch Operations✅ Supported🚧 Coming Soon🚧 Coming Soon🚧 Coming Soon
WebSocket✅ Real-time updates🚧 Coming Soon🚧 Coming Soon🚧 Coming Soon

Common Features

All SDKs provide:

  • Authentication - API key-based authentication
  • Error Handling - Result pattern for type-safe error handling
  • Retry Logic - Automatic retries with exponential backoff
  • Rate Limiting - Automatic rate limit handling
  • Deployment Management - Create, update, delete deployments
  • Model Management - Import and manage models
  • Inference - Run text completion and streaming
  • Metrics - Get deployment metrics and logs
  • WebSocket - Real-time deployment updates

Installation

TypeScript/JavaScript

npm install @syaala/sdk
import { createClient } from '@syaala/sdk'
 
const client = createClient(process.env.SYAALA_API_KEY!)

Python (Coming Soon)

pip install syaala
from syaala import Client
 
client = Client(api_key=os.environ['SYAALA_API_KEY'])

Go (Coming Soon)

go get github.com/syaala/syaala-go
import "github.com/syaala/syaala-go"
 
client := syaala.NewClient(os.Getenv("SYAALA_API_KEY"))

Rust (Coming Soon)

cargo add syaala
use syaala::Client;
 
let client = Client::new(env::var("SYAALA_API_KEY")?);

REST API

For languages without an SDK, use the REST API directly:

curl -X POST https://api.syaala.com/api/deployments \
  -H "Authorization: Bearer ${SYAALA_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "my-deployment",
    "modelId": "meta-llama/Llama-3-8B-Instruct",
    "runtime": "vllm",
    "gpuType": "NVIDIA_A100"
  }'

See API Reference for complete documentation.

Community SDKs

Building an SDK for another language? Let us know!

Next Steps