langchain-anthropic
Integration package connecting Claude (Anthropic) APIs and LangChain
Install
langchain-anthropic on PyPI
pip
pip install langchain-anthropicuv
uv add langchain-anthropicpoetry
poetry add langchain-anthropicPackage 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 | 3 — anthropic, langchain-core, pydantic |
| Maintenance | actively maintained — 0 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: langchain_anthropic-1.5.6-py3-none-any.whl
About langchain-anthropic
from the package's own PyPI description — quoted content, verbatim
langchain-anthropic
PyPI - Version (image) PyPI - License (image) PyPI - Downloads (image) Twitter (image)
Looking for the JS/TS version? Check out LangChain.js.
Quick Install
uv add langchain-anthropic
🤔 What is this?
This package contains the LangChain integration for Anthropic's generative models.
📖 Documentation
For full documentation, see the API reference. For conceptual guides, tutorials, and examples on using these classes, see the LangChain Docs.
📕 Releases & Versioning
See our...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Integrates Anthropic's Claude models with LangChain, enabling Claude to be used as a language model within LangChain applications and workflows.
Low install friction with a pure-Python wheel distribution. The package is actively maintained with a recent release and depends on three well-established runtime dependencies: anthropic, langchain-core, and pydantic.
MIT license permits broad use, modification, and distribution with minimal restrictions, making this suitable for both open-source and commercial projects.
Usage
pip install langchain-anthropic
from langchain_anthropic import ChatAnthropic
model = ChatAnthropic()
Requires Python 3.10 or later (up to 3.14). An Anthropic API key must be set via environment variable or passed to the ChatAnthropic constructor.
Verdict: Production-ready integration with active maintenance, no known vulnerabilities, and permissive licensing. The low install friction and top-1000 popularity indicate solid adoption. Suitable for production use in LangChain applications requiring Claude models.
Needs verification
- Which specific Claude model versions are supported and recommended for use with this integration
- Performance characteristics and rate-limiting behavior when used with high-volume LangChain workflows
- Backward compatibility guarantees across minor versions
Similar packages
permissive · top 1,000 on PyPI
langchain-openaipermissive · top 1,000 on PyPI
langchain-text-splitterspermissive · top 1,000 on PyPI
langchain-corepermissive · top 1,000 on PyPI
langchain-google-vertexaipermissive · top 1,000 on PyPI
langchain-classicpermissive · top 1,000 on PyPI
langchain-communitypermissive · top 1,000 on PyPI
langchain-protocolpermissive · top 1,000 on PyPI
langchainpermissive · top 1,000 on PyPI
langgraph-prebuiltpermissive · top 1,000 on PyPI