Loopai v0.3 Released: Multi-Language SDK Ecosystem
We're thrilled to announce Loopai v0.3, featuring a complete multi-language SDK ecosystem with production-ready client libraries for .NET, Python, and TypeScript.
๐ Release Highlightsโ
Three Production-Ready SDKsโ
.NET Client SDKโ
- Package:
Loopai.Client(NuGet) - Features: ASP.NET Core DI, Polly v8 retry, comprehensive logging
- Test Coverage: 92% lines, 88% branches
// Dependency Injection
builder.Services.AddLoopaiClient(options =>
{
options.BaseUrl = "http://localhost:8080";
options.Timeout = TimeSpan.FromSeconds(60);
});
// Usage
var result = await _loopai.ExecuteAsync(taskId, inputData);
Python SDKโ
- Package:
loopai(PyPI) - Features: Full async/await, Pydantic v2 models, context manager
- Test Coverage: 94% lines, 90% branches
async with LoopaiClient("http://localhost:8080") as client:
result = await client.execute(
task_id=task_id,
input_data={"text": "Sample input"}
)
TypeScript SDKโ
- Package:
@loopai/sdk(npm) - Features: Full type safety, promise-based async, browser support
- Test Coverage: 93% lines, 89% branches
const client = new LoopaiClient({
baseUrl: 'http://localhost:8080',
});
const result = await client.execute({
taskId: taskId,
input: { text: 'Sample input' },
});
๐ Quality Metricsโ
Integration Testingโ
We've implemented comprehensive integration testing:
- 42 Integration Tests: 14 tests per SDK
- 100% Pass Rate: All tests passing
- Cross-SDK Compatibility: Verified interoperability
- CI/CD Ready: GitHub Actions workflows
| SDK | Tests | Pass | Success Rate | Avg Response Time |
|---|---|---|---|---|
| .NET | 14 | 14 | 100% | 45.2ms |
| Python | 14 | 14 | 100% | 43.8ms |
| TypeScript | 14 | 14 | 100% | 44.5ms |
| Total | 42 | 42 | 100% | 44.5ms |
Performance Benchmarksโ
All SDKs deliver consistent, high performance:
- Average Response Time: <45ms
- Throughput: ~34 requests/second per SDK
- Memory Usage: 52-62 MB average
- Execution Latency: <1ms (p99)
๐ New Featuresโ
Batch Operationsโ
All SDKs support efficient batch processing:
# Python example
results = await client.batch_execute(
task_id=task_id,
items=[
{"id": "1", "input": {"text": "First"}},
{"id": "2", "input": {"text": "Second"}},
],
max_concurrency=10
)
Automatic Retryโ
Built-in retry logic with exponential backoff:
- Configurable max retries
- Smart backoff strategy
- Network failure resilience
Type Safetyโ
Full type coverage across all SDKs:
- .NET: Strong typing with generics
- Python: Pydantic v2 models with type hints
- TypeScript: Complete TypeScript definitions
๐ Documentationโ
Complete documentation for all SDKs:
- SDK Overview - Compare and choose
- .NET SDK Guide - Installation and usage
- Python SDK Guide - Getting started
- TypeScript SDK Guide - Quick start
Each SDK includes:
- Installation instructions
- Quick start guide
- API reference
- Code examples
- Best practices
๐ ๏ธ Breaking Changesโ
None! This is a new SDK release with no breaking changes to existing APIs.
๐ฆ Installationโ
.NETโ
dotnet add package Loopai.Client
Pythonโ
pip install loopai
TypeScriptโ
npm install @loopai/sdk
๐ What's Next: v0.4โ
We're now focusing on infrastructure enhancements:
-
Streaming API
- Real-time execution results
- Server-Sent Events (SSE)
- Available in all SDKs
-
Go SDK
- Native Go client
- Context support
- Goroutine-safe operations
-
Performance Optimization
- Response caching layer
- Connection pooling
- Reduced memory footprint
๐ Acknowledgmentsโ
Special thanks to:
- All contributors who tested the SDKs
- The community for valuable feedback
- Early adopters who reported issues
๐ Changelogโ
For a complete list of changes, see:
๐ฌ Feedbackโ
We'd love to hear your thoughts!
Download Loopai v0.3 today and start building with production-ready SDKs!
