Skip to content

Releases: mozilla-ai/otari-sdk-python

otari: v0.1.1

12 Jun 09:19
77c822a

Choose a tag to compare

0.1.1 (2026-06-12)

Features

  • independent release automation + surface gateway spec version (#12) (21b9b5b)
  • wrap /v1/messages/count_tokens (regenerate core + ergonomic method) (#10) (6704e56)

Bug Fixes

  • regenerate SDK client core so message.reasoning is a string (#14) (2cad75b)

Documentation

  • add AGENTS.md/CLAUDE.md agent guide, refresh README (#6) (56c3848)

0.1.0

10 Jun 15:01
6704e56

Choose a tag to compare

First feature-complete release of the Python SDK. The client is now generated from the otari gateway's OpenAPI spec and covers the full API surface (inference and control plane), with a hand-written ergonomic layer on top. Both synchronous (OtariClient) and asynchronous (AsyncOtariClient) clients are included.

Still pre-1.0 (alpha): minor releases may include breaking changes while the surface settles.

Added

  • Full typed client core generated from the gateway OpenAPI spec, covering every endpoint: chat completions, responses, Anthropic-style messages, embeddings, moderations, rerank, models, and batches (#3).
  • Control-plane management with ergonomic methods for keys, users, budgets, pricing, and usage, so self-hosted gateways can be administered directly from the SDK. The raw generated methods remain available as an escape hatch (#7).
  • count_tokens() on the sync and async clients, wrapping POST /v1/messages/count_tokens. It counts the input tokens an Anthropic-style /messages request would consume without generating a response, and returns a typed CountTokensResponse (#10).
  • Typed responses across inference (ChatCompletion, embeddings, rerank, moderation, models) and streaming support for chat, messages, and responses.

Documentation

  • Added AGENTS.md / CLAUDE.md agent guide and refreshed the README with current usage (#6).

Install

pip install otari==0.1.0

Full changelog: 0.0.3...0.1.0

0.0.3

02 Jun 19:47
2a76998

Choose a tag to compare

What's Changed

  • Add synchronous client alongside async by @tbille in #2

New Contributors

  • @tbille made their first contribution in #2

Full Changelog: 0.0.2...0.0.3

0.0.2

02 Jun 09:27
ae0636b

Choose a tag to compare

What's Changed

  • Align with modernized TS SDK: hosted-gateway default, OTARI_AI_TOKEN, logo by @khaledosman in #1

New Contributors

Full Changelog: 0.0.1...0.0.2

0.0.1

28 Apr 13:47

Choose a tag to compare