Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

Mistral AI

Official TypeScript SDK for calling Mistral's language models and APIs.

Model SDKs npm Apache-2.0

Used in agent projects
11
0.2% of 4,818 JS/TS repos built with AI coding agents; 32 counting our dependency samples
Gid Score
42 /100
#2367 of 3,794 tools, #36 in model sdks · ranking
Rank in model sdks
#22 of 79
by use in those projects
Downloads
4M
npm, last 7 days, @mistralai/mistralai
GitHub stars
157
45 forks · last push Oct 19, 2026

How Mistral AI is used

Mistral AI is a dependency in 11 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 32 projects, and what it is used with below comes from all of them. The most used alternative in our scan is OpenAI (284 projects). Projects that use it most often also use dotenv (78.1%), Google Generative AI (65.6%), Express (59.4%).

Mistral AI popularity over time

Top tools by Gid Score

Mistral AI: downloads per weeknpm, @mistralai/mistralai 4,003,738
Mistral AI: GitHub starsmistralai/client-ts 157

Gid Score 42: downloads 77, use in agent projects 34, GitHub stars 0, downloads trend 44 (each 0-100). How it is calculated.

Often used with Mistral AI

dotenv78.1% of Mistral AI projects · 5.0× more than average
Google Generative AI65.6% of Mistral AI projects · 24.1× more than average
Express59.4% of Mistral AI projects · 8.8× more than average
OpenAI59.4% of Mistral AI projects · 13.0× more than average
Anthropic SDK56.2% of Mistral AI projects · 15.1× more than average
Zod71.9% of Mistral AI projects · 2.9× more than average
ws43.8% of Mistral AI projects · 13.9× more than average
Model Context Protocol SDK (JavaScript)40.6% of Mistral AI projects · 4.3× more than average

From all 32 projects in our scan that use Mistral AI, including the dependency samples.

By coding agent

Claude Code0.3% of projects set up for it
OpenClaw2.6% of projects set up for it
GitHub Copilot0.2% of projects set up for it

Share of public repos configured for each agent that list Mistral AI as a dependency.

Install

Packagenpm install @mistralai/mistralai
Main stacksTypeScript / JavaScript (24), Next.js (7), Python (1)
Example projectsi-am-alice/3rd-devs, amingclawdev/toolBoxClient, lucagrippa/obsidian-ai-tagger, OpenYabby/OpenYabby, CharlesHoskinson/dancesWithClaws

Alternatives to Mistral AI

All model sdks

Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Mistral AI are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
OpenAI npm
Official TypeScript SDK for accessing OpenAI APIs including GPT and embeddings.
76 284 (5.9%) 25.3M 11.2K Apache-2.0
Anthropic SDK npm
Official TypeScript SDK for calling Claude API and building agent applications.
69 232 (4.8%) 28.3M 2,145 MIT
Google Generative AI npm
Official SDK for Google Gemini API to build AI-powered applications.
64 169 (3.5%) 14.7M 1,691 Apache-2.0
Groq SDK npm
Official TypeScript SDK for calling Groq's fast language models API.
42 20 (0.4%) 511K 267 Apache-2.0

More in Model SDKs: AI SDK OpenAI Python Library Anthropic Python SDK Google GenAI Python SDK Hugging Face Hub LiteLLM Ollama Ollama JavaScript Library

Is Mistral AI right for your project? Ask AgentGid →