SDKs Overview
QWED provides official SDKs for 4 languages.
Available SDKs
| Language | Package | Status |
|---|---|---|
| Python | qwed | ✅ Stable |
| TypeScript | @qwed-ai/sdk | ✅ Stable |
| Go | github.com/qwed-ai/qwed-go | ✅ Stable |
| Rust | qwed | ✅ Stable |
Feature Comparison
| Feature | Python | TypeScript | Go | Rust |
|---|---|---|---|---|
| Sync Client | ✅ | ✅ | ✅ | ✅ |
| Async Client | ✅ | ✅ | ✅ | ✅ |
| Batch Operations | ✅ | ✅ | ✅ | ✅ |
| Agent API | ✅ | ✅ | ❌ | ❌ |
| Attestations | ✅ | ✅ | ✅ | ✅ |
| CLI | ✅ | ❌ | ❌ | ❌ |
Quick Install
# Python
pip install qwed
# TypeScript
npm install @qwed-ai/sdk
# Go
go get github.com/qwed-ai/qwed-go
# Rust
cargo add qwed
Minimal Example
- Python
- TypeScript
- Go
- Rust
from qwed_sdk import QWEDClient
client = QWEDClient(api_key="qwed_...")
result = client.verify("2+2=4")
print(result.verified) # True
import { QWEDClient } from '@qwed-ai/sdk';
const client = new QWEDClient({ apiKey: 'qwed_...' });
const result = await client.verify('2+2=4');
console.log(result.verified); // true
client := qwed.NewClient("qwed_...")
result, _ := client.Verify(ctx, "2+2=4")
fmt.Println(result.Verified) // true
let client = QWEDClient::new("qwed_...");
let result = client.verify("2+2=4").await?;
println!("{}", result.verified); // true