> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qwedai.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# SDKs overview

> QWED official SDKs for Python, TypeScript, Go, and Rust. Compare features, view quick install commands, and get started with verification in minutes.

QWED provides official SDKs for 4 languages.

## Available SDKs

| Language | Package | Status |
| - | - | - |
| [Python](https://docs.qwedai.tech/sdks/python.md) | `qwed` | ✅ Stable |
| [TypeScript](https://docs.qwedai.tech/sdks/typescript.md) | `@qwed-ai/sdk` | ✅ Stable |
| [Go](https://docs.qwedai.tech/sdks/go.md) | `github.com/QWED-AI/qwed-verification/sdk-go/v9` | Tagged releases (`sdk-go/vX.Y.Z`) |
| [Rust](https://docs.qwedai.tech/sdks/rust.md) | `qwed` | ✅ Stable |

## Feature comparison

| Feature | Python | TypeScript | Go | Rust |
| - | - | - | - | - |
| Sync client | ✅ | ✅ | ✅ | ✅ |
| Async client | ✅ | ✅ | ✅ | ✅ |
| Batch operations | ✅ | ✅ | ✅ | ✅ |
| Agent API | ✅ | ✅ | ❌ | ❌ |
| Attestations | ✅ | ✅ | ✅ | ✅ |
| CLI | ✅ | ❌ | ❌ | ❌ |

## Quick install

```bash theme={null}
# Python
pip install qwed

# TypeScript
npm install @qwed-ai/sdk

# Go
go get github.com/QWED-AI/qwed-verification/sdk-go/v9

# Rust
cargo add qwed
```

## Minimal example

> [tab] Python
>
> ```python theme={null}
> import httpx
> from qwed_sdk import QWEDClient
>
> client = QWEDClient(api_key="qwed_...")
> try:
>     result = client.verify_math("2+2=4")
> except httpx.HTTPError as exc:
>     raise RuntimeError(f"QWED request failed: {exc}") from exc  # not a verdict
> print(result.is_verified)  # True: the server admitted it
> ```

> [tab] TypeScript
>
> ```typescript theme={null}
> import { QWEDClient, isAdmitted } from '@qwed-ai/sdk';
>
> const client = new QWEDClient({ apiKey: 'qwed_...' });
> try {
>   const result = await client.verifyMath('2+2=4');
>   console.log(isAdmitted(result));  // true
> } catch (err) {
>   console.error(err);  // the request failed: not a verdict
> }
> ```

> [tab] Go
>
> ```go theme={null}
> client := qwed.NewClient("qwed_...")
> result, err := client.VerifyMath(ctx, "2+2=4")
> if err != nil {
>     log.Fatal(err) // the request failed: not a verdict
> }
> fmt.Println(result.IsAdmitted())  // true
> ```

> [tab] Rust
>
> ```rust theme={null}
> let client = QWEDClient::new("qwed_...");
> let result = client.verify_math("2+2=4").await?;
> println!("{}", result.is_admitted());  // true
> ```


## Related topics

- [QWED: deterministic verification for LLMs and AI agents](https://docs.qwedai.tech/intro.md)
- [API overview](https://docs.qwedai.tech/api/overview.md)
- [Go SDK](https://docs.qwedai.tech/sdks/go.md)
- [Python SDK](https://docs.qwedai.tech/sdks/python.md)
- [Rust SDK](https://docs.qwedai.tech/sdks/rust.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.