Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Mistral AI SDKs - 10 languages recorded

Mistral AI SDKs by language

Mistral AI ships official SDKs for Python and TypeScript. For Go, Java, Ruby, PHP and Rust, its docs link community libraries, which are not official. Its docs list no SDK for C#, Swift and Kotlin.

Verified against each provider's own SDK docs and package registry pages. Status labels are the provider's own; no version numbers are recorded.

Mistral AI's SDK docs: docs.mistral.ai/resources/sdks. Compare every provider in the SDK grid.

Official
the provider's own SDK.
Beta
the provider's own SDK, which it labels beta (Fireworks AI says alpha).
OpenAI SDK
the provider's docs point to the OpenAI SDK for this language.
Community
a library the provider's docs link but do not ship. Not official.
None
the provider's SDK docs list no SDK for this language.
-
Not recorded: no entry in the data for this language.

TypeScript and JavaScript

Official SDK
Package
@mistralai/mistralai
Install
Install
npm install @mistralai/mistralai
Repo
github.com/mistralai/client-ts
Docs
docs.mistral.ai/resources/sdks
Notes
The page's 'more examples' link points to github.com/mistralai/client-js; the install link and the npm package both point to client-ts.

From the docs

We provide official SDK clients in both Python and Typescript, you can also find third-party non-official SDKs in other languages.
docs.mistral.ai/resources/sdks
TypeScript SDKs from every provider

Java

Community library, not official

Community library, not official. Mistral AI's docs link it, but Mistral AI does not ship it.

Package
langchain4j / spring-ai
Install
See docs
Repo
github.com/langchain4j/langchain4j
Docs
docs.mistral.ai/resources/sdks
Notes
Mistral's third-party table lists LangChain4j and Spring AI (frameworks, not dedicated clients).

From the docs

Here are some clients built by the community for various other languages ... Please note that these clients are not actively maintained or supported by Mistral AI.
docs.mistral.ai/resources/sdks
Java SDKs from every provider

No SDK in the docs

Mistral AI's SDK docs list no SDK for these languages. The quote shows what they do list.

More on Mistral AI

Newsletter

Know when a provider ships a new SDK

One email per week. New models, new SDKs and the API changes that break your client, and what they mean for your stack.