skillfed

langchain-anthropic

Integration package connecting Claude (Anthropic) APIs and LangChain

langchain-anthropic Permissive license MIT Active 144,174 v1.5.6 released

Install

langchain-anthropic on PyPI

pip

pip install langchain-anthropic

uv

uv add langchain-anthropic

poetry

poetry add langchain-anthropic

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 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

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

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
langchain anthropic claude integrationclaude api langchainanthropic models langchainlangchain claude llmanthropic generative models integrationlangchain ai provider anthropicclaude language model framework

Similar packages