AIMatrix SDKs
Build intelligent agents and digital twins with AIMatrix’s comprehensive SDK suite. Our SDKs provide first-class support across five major programming languages, enabling you to create powerful AI applications regardless of your technology stack.
Supported Languages
🎯 Kotlin (First-Class)
Primary SDK with full feature set
- ✅ Complete API coverage
- ✅ Coroutines support
- ✅ Type-safe builders
- ✅ Android/JVM compatible
🐍 Python
Full-featured with async support
- ✅ AsyncIO integration
- ✅ Pydantic models
- ✅ Type hints
- ✅ Jupyter support
⚡ TypeScript
Modern JS/TS with full type safety
- ✅ Promise-based APIs
- ✅ Browser & Node.js
- ✅ ESM & CommonJS
- ✅ React hooks
🔷 C#
.NET ecosystem integration
- ✅ Task-based async
- ✅ .NET 6+ support
- ✅ Dependency injection
- ✅ Unity3D compatible
☕ Java
Enterprise-ready JVM integration
- ✅ CompletableFuture
- ✅ Spring Boot
- ✅ Maven/Gradle
- ✅ Jakarta EE
Core SDK Features
All SDKs provide consistent APIs for:
- Agent Management: Create, configure, and orchestrate AI agents
- TwinML Integration: Build and deploy digital twins with machine learning
- Workspace Operations: Manage development environments and deployments
- Hub Integration: Connect to the AIMatrix Hub ecosystem
- Real-time Communication: WebSocket and event-driven architectures
- Authentication: Secure API key and OAuth2 flows
Kotlin SDK
First-class SDK with complete feature coverage and idiomatic Kotlin design patterns.
Installation & Setup
Gradle (Kotlin DSL)
|
|
Maven
|
|
Quick Start
|
|
Core API Classes
AIMatrixClient
Primary entry point for all SDK operations:
|
|
AgentManager
Manage AI agent lifecycle and operations:
|
|
TwinManager
Digital twin operations with TwinML integration:
|
|
Agent Creation & Management
Creating Agents
|
|
Advanced Agent Configuration
|
|
Agent Invocation
|
|
TwinML Integration
Digital Twin Creation
|
|
Training Digital Twins
|
|
Making Predictions
|
|
Workspace Operations
Workspace Management
|
|
Code Execution
|
|
Hub Integration
Publishing to Hub
|
|
Installing from Hub
|
|
Authentication
API Key Authentication
|
|
OAuth2 Flow
|
|
Service Account Authentication
|
|
Code Examples
Multi-Modal Agent
|
|
Real-time Streaming
|
|
Batch Operations
|
|
Best Practices
Error Handling
|
|
Resource Management
|
|
Configuration Management
|
|
Python SDK
Full-featured Python SDK with async support, type hints, and Pydantic models.
Installation & Setup
|
|
Quick Start
|
|
Core API Classes
AIMatrixClient
|
|
Agent Management
|
|
TwinML Integration
|
|
Workspace Operations
|
|
Hub Integration
|
|
Authentication
|
|
Code Examples
Streaming Responses
|
|
Batch Processing
|
|
Error Handling
|
|
Best Practices
Async Context Management
|
|
Type Hints and Validation
|
|
TypeScript SDK
Modern JavaScript/TypeScript SDK with full type safety and promise-based APIs.
Installation & Setup
|
|
Quick Start
|
|
Core Types & Interfaces
|
|
Agent Management
|
|
Digital Twin Operations
|
|
Workspace Management
|
|
Hub Integration
|
|
Authentication
|
|
React Integration
|
|
Best Practices
Error Handling
|
|
Configuration Management
|
|
C# SDK
.NET ecosystem integration with Task-based async, dependency injection, and Unity3D compatibility.
Installation & Setup
|
|
Quick Start
|
|
Core Classes & Interfaces
|
|
Agent Management
|
|
Digital Twin Operations
|
|
Workspace Operations
|
|
Hub Integration
|
|
Authentication
|
|
Dependency Injection
|
|
Unity3D Integration
|
|
Best Practices
Error Handling & Resilience
|
|
Configuration & Environment Management
|
|
Java SDK
Enterprise-ready JVM integration with CompletableFuture, Spring Boot, and Jakarta EE support.
Installation & Setup
Maven
|
|
Gradle
|
|
Quick Start
|
|
Core Classes & Interfaces
|
|
Agent Management
|
|
Digital Twin Operations
|
|
Workspace Operations
|
|
Hub Integration
|
|
Authentication
|
|
Spring Boot Integration
|
|
Best Practices
Error Handling & Resilience
|
|
Resource Management
|
|
Summary
AIMatrix provides comprehensive SDK support across five major programming languages, with Kotlin receiving first-class treatment and full feature coverage. Each SDK maintains consistent APIs while leveraging language-specific idioms and patterns.
Key Features Across All SDKs:
- Complete Agent Management - Create, configure, and orchestrate AI agents
- TwinML Integration - Build and deploy digital twins with machine learning
- Workspace Operations - Manage development environments and code execution
- Hub Ecosystem - Publish and install agents from the marketplace
- Real-time Communication - WebSocket streaming and event-driven architectures
- Robust Authentication - API keys, OAuth2, and service account support
Language-Specific Strengths:
- Kotlin - Coroutines, type-safe builders, null safety, Android compatibility
- Python - AsyncIO, Pydantic models, Jupyter integration, scientific computing
- TypeScript - Full type safety, React hooks, Node.js/browser support
- C# - Task-based async, dependency injection, Unity3D, enterprise features
- Java - CompletableFuture, Spring Boot, Jakarta EE, enterprise patterns
All SDKs are production-ready with comprehensive error handling, retry policies, configuration management, and extensive documentation. Choose the SDK that best fits your technology stack and start building intelligent agents today.
For implementation help, examples, and support: