Software Development Kits (SDKs)
Official SDKs for all major programming languages. Build with type safety, comprehensive error handling, and full API coverage.
Quick Examples
JavaScript/TypeScript
// JavaScript/TypeScript
import { Tenzro } from '@tenzro/sdk';
const tenzro = new Tenzro({ apiKey: 'sk_your_key_here' });
const response = await tenzro.cortex.generate({
prompt: "Hello world!",
model: "gpt-4o"
});
Python
# Python
import tenzro
client = tenzro.Tenzro(api_key="sk_your_key_here")
response = client.cortex.generate(
prompt="Hello world!",
model="gpt-4o"
)
print(response.content)
Available SDKs
JavaScript/TypeScript SDK
Full-featured SDK for Node.js, browser, and edge runtime environments
Supported Platforms:
Key Features:
- Complete TypeScript support
- Works everywhere JavaScript runs
- Tree-shakeable and lightweight
- Full API coverage
Installation:
npm install @tenzro/sdk
Python SDK
Pythonic SDK with async support, perfect for data science and ML workflows
Supported Platforms:
Key Features:
- Synchronous and asynchronous APIs
- Full type hints support
- Pandas and NumPy integration
- Jupyter notebook friendly
Installation:
pip install tenzro
Go SDK
High-performance Go SDK for systems programming and backend services
Supported Platforms:
Key Features:
- Zero-dependency core
- Context-aware operations
- Concurrent request handling
- Memory efficient
Installation:
go get github.com/tenzro/go-sdk
Rust SDK
Memory-safe, blazingly fast SDK for high-performance applications
Supported Platforms:
Key Features:
- Memory safety guaranteed
- Zero-cost abstractions
- Async/await support
- WebAssembly compatible
Installation:
cargo add tenzro
Swift SDK
Native Swift SDK for building AI-powered iOS and macOS applications
Supported Platforms:
Key Features:
- SwiftUI integration
- Combine framework support
- Core ML compatibility
- Background processing
Installation:
swift package add tenzro-swift
C# .NET SDK
Cross-platform .NET SDK for Windows, Linux, and macOS applications
Supported Platforms:
Key Features:
- Cross-platform compatibility
- Async/await patterns
- Dependency injection ready
- NuGet package
Installation:
dotnet add package Tenzro.SDK
Command Line Interface
Tenzro CLI
AvailablePowerful command-line tool for managing deployments, training jobs, and all Tenzro services.
Installation:
npm install -g @tenzro/cli
Quick Commands:
# Deploy current directory
tenzro deploy .
# Submit training job
tenzro train job.yaml
# View deployment logs
tenzro logs dep_123
SDK Comparison
Language | Status | Async Support | Type Safety | Streaming |
---|---|---|---|---|
🟨 JavaScript/TypeScript | Available | |||
🐍 Python | Available | |||
🐹 Go | Coming Soon |
Get Started
1. Choose Your SDK
Pick the SDK for your preferred programming language
2. Install & Setup
Install the SDK and initialize with your API key
3. Start Building
Follow our examples and documentation to build amazing apps
Need help? Check out our Quick Start guide or contact support