langchain-deepseek
An integration package connecting DeepSeek and LangChain
Decision gist · record as of 2026-08-14
Yes. The package has low install friction, active maintenance, a permissive MIT license, no known vulnerabilities, and sits in the top 5000 PyPI packages by download volume. Install it if you are already using LangChain and want to integrate DeepSeek models; it is a straightforward drop-in provider integration.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a valid DeepSeek API key and Python 3.10 or later.
- Low install friction with a pure Python wheel.
- Actively maintained with a recent release 72 days ago; the parent LangChain repository shows strong community engagement (144267 stars) and current development activity.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2026-06-03 (72 days) · last repo commit 2026-08-14 · 144,267 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 855,478 downloads/mo, #4,891 on PyPI
Alternatives
Verify before relying
pip install langchain-deepseek
from langchain_deepseek import ChatDeepSeek
from langchain_core.messages import HumanMessage
model = ChatDeepSeek(api_key="your-deepseek-key")
response = model.invoke([HumanMessage(content="Hello")])- Specific DeepSeek model names and versions supported by this integration version
- Whether all DeepSeek API features are exposed or only a subset through LangChain abstractions
- Rate limiting or quota handling behavior when used with DeepSeek's API
What it is and what it does
This package is a LangChain integration that connects DeepSeek's language models to the LangChain ecosystem. It wraps DeepSeek's API behind LangChain's standard interfaces, allowing developers to use DeepSeek models in place of other LLM providers within LangChain applications without rewriting integration code.
The package depends on langchain-core for base abstractions and langchain-openai for shared patterns (DeepSeek's API follows OpenAI-compatible conventions). It supports Python 3.10 through 3.14 and is marked as production-stable. Use it when you want to build LangChain applications that call DeepSeek models, or when you need to swap DeepSeek in as an alternative LLM provider in an existing LangChain workflow.
Use it for
- Build a LangChain agent or chain that uses DeepSeek as the reasoning engine instead of OpenAI or other providers.
- Migrate an existing LangChain application from one LLM provider to DeepSeek without rewriting integration logic.
- Prototype multi-model applications that compare DeepSeek output alongside other LLM providers in LangChain.
- Use DeepSeek in LangChain's retrieval-augmented generation (RAG) or document Q&A workflows.
- Deploy LangChain-based chatbots or assistants powered by DeepSeek's models.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package has low install friction, active maintenance, a permissive MIT license, no known vulnerabilities, and sits in the top 5000 PyPI packages by download volume. Install it if you are already using LangChain and want to integrate DeepSeek models; it is a straightforward drop-in provider integration.
Install
langchain-deepseek on PyPI
Before you install
Low install friction with a pure Python wheel. Actively maintained with a recent release 72 days ago; the parent LangChain repository shows strong community engagement (144267 stars) and current development activity.
Requires a valid DeepSeek API key and Python 3.10 or later.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install langchain-deepseek
from langchain_deepseek import ChatDeepSeek
from langchain_core.messages import HumanMessage
model = ChatDeepSeek(api_key="your-deepseek-key")
response = model.invoke([HumanMessage(content="Hello")])
Verify before relying
- Specific DeepSeek model names and versions supported by this integration version
- Whether all DeepSeek API features are exposed or only a subset through LangChain abstractions
- Rate limiting or quota handling behavior when used with DeepSeek's API
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0.0,>=3.10.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packageslangchain-corelangchain-openai |
| Maintenance | Actively maintained 72 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 855,478 / month, #4,891 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None 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_deepseek-1.1.0-py3-none-any.whl
Tags
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 › “deepseek langchain integration”
- langchain-deepseekIntegrates DeepSeek language models into LangChain applications,…
- ipex-llmAccelerates large language model inference on Intel hardware (GPU,…
- llm-github-modelsA plugin for the llm command-line tool that provides access to GitHub…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
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.
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.
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.
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.
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.
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.
See also langchain-groq · langchain-perplexity · langchain-text-splitters · langchain-aws · langchain-openai · langchain-tests · langchain-ollama · langchain-mistralai · langchain-xai · langchain-exa