$npx skillfedfor your agent

langchain-mistralai

An integration package connecting Mistral and LangChain

With conditionsPyPI Artificial IntelligenceReleased Jul 20261.3M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — langchain_mistralai-1.1.6-py3-none-any.whl
v1.1.6 · released 2026-07-05 · Python <4.0.0,>=3.10.0 · 5 runtime deps: httpx-sse, httpx, langchain-core, pydantic, tokenizers

Yes, if you are already using LangChain and want to integrate Mistral models. The package is actively maintained, has low install friction, carries a permissive MIT license, and has no known vulnerabilities. Install it when you need Mistral as your LLM provider within a LangChain application; skip it if you are not using LangChain or do not need Mistral specifically.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a valid Mistral API key and Python 3.10 or later.
  • Low friction install with a pure-Python wheel.
  • Active maintenance with a recent release 40 days ago; the parent LangChain project has substantial community engagement (144266 stars) and ongoing development.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

last release 2026-07-05 (40 days) · last repo commit 2026-08-14 · 144,266 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,319,121 downloads/mo, #4,065 on PyPI

Verify before relying

pip install langchain-mistralai

from langchain_mistralai import ChatMistralAI

model = ChatMistralAI(api_key="your-key")
response = model.invoke("Hello")
  • Whether the package supports streaming responses or only synchronous calls.
  • Which Mistral models are available through this integration and their current availability.
  • Whether tool-calling or function-calling features are supported.
Same gist for agents: .md · .json

What it is and what it does

langchain-mistralai is a bridge package that integrates Mistral AI's language models into the LangChain ecosystem. It wraps Mistral's API behind LangChain's standard model interfaces, so you can drop Mistral models into existing LangChain agents, chains, and workflows without rewriting integration code. The package depends on langchain-core for the base interfaces, httpx and httpx-sse for HTTP communication with Mistral's servers, pydantic for configuration validation, and tokenizers for token counting.

It's designed for developers already working within LangChain who want to experiment with or deploy Mistral models as their LLM backbone. The integration is maintained as part of the larger LangChain project and follows its release and versioning policies. You provide your Mistral API credentials, instantiate a model class, and use it like any other LangChain LLM—no special Mistral-specific code needed in your application logic.

Use it for

  • Build a LangChain agent that uses Mistral models instead of OpenAI or Anthropic.
  • Swap Mistral into an existing LangChain RAG pipeline without rewriting the retrieval or chain logic.
  • Prototype multi-model applications by comparing Mistral outputs alongside other providers in the same LangChain workflow.
  • Deploy a production chatbot using LangChain's memory and tool-calling features backed by Mistral's API.
  • Integrate Mistral models into a LangChain-based data analysis or summarization pipeline.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are already using LangChain and want to integrate Mistral models.

The package is actively maintained, has low install friction, carries a permissive MIT license, and has no known vulnerabilities. Install it when you need Mistral as your LLM provider within a LangChain application; skip it if you are not using LangChain or do not need Mistral specifically.

Install

langchain-mistralai on PyPI

Before you install

Low friction install with a pure-Python wheel. Active maintenance with a recent release 40 days ago; the parent LangChain project has substantial community engagement (144266 stars) and ongoing development.

Requires a valid Mistral API key and Python 3.10 or later.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install langchain-mistralai

from langchain_mistralai import ChatMistralAI

model = ChatMistralAI(api_key="your-key")
response = model.invoke("Hello")

Verify before relying

  • Whether the package supports streaming responses or only synchronous calls.
  • Which Mistral models are available through this integration and their current availability.
  • Whether tool-calling or function-calling features are supported.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0.0,>=3.10.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
httpx-ssehttpxlangchain-corepydantictokenizers
MaintenanceActively maintained 40 days since the last release
Last repo commit
First released
Downloads1,319,121 / month, #4,065 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: Artificial Intelligence

Evidence: langchain_mistralai-1.1.6-py3-none-any.whl

Tags

Capabilities
mistral ai langchain integrationmistral language models pythonlangchain mistral providermistral llm integrationmistral ai api wrapperlangchain ai model provider
Topics
llm-integrationlangchain-provider

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “mistral ai langchain integration”

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also langchain-ollama · langchain-openai · langchain-xai · langchain-anthropic · langchain-perplexity · langchain-fireworks · langchain-modal · langchain-deepseek · langchain-openrouter · langchain-aws