$npx skillfedfor your agent

langchain-anthropic

Integration package connecting Claude (Anthropic) APIs and LangChain

Worth itPyPI Artificial IntelligenceReleased Aug 202623.6M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — langchain_anthropic-1.5.6-py3-none-any.whl
v1.5.6 · released 2026-08-13 · Python <4.0.0,>=3.10.0 · 3 runtime deps: anthropic, langchain-core, pydantic

Yes. This is a production-stable, actively maintained integration with low install friction, no security issues, and permissive licensing. Install it if you're already using LangChain and want to use Claude; it's the standard way to do so within the LangChain ecosystem.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; you must also have an Anthropic API key set in your environment to authenticate requests.
  • Low friction installation with a pure-Python wheel.
  • Active maintenance with a release 1 day old and continuous commits.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, making it suitable for both open-source and commercial projects.

last release 2026-08-13 (1 days) · last repo commit 2026-08-14 · 144,196 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 23,551,909 downloads/mo, #940 on PyPI

Verify before relying

pip install langchain-anthropic

from langchain_anthropic import ChatAnthropic

model = ChatAnthropic()
response = model.invoke("Hello, world!")
  • Which specific Claude model versions are supported by this release.
  • Whether streaming, vision, or tool-use features are included in this integration.
  • Performance characteristics or rate-limit handling compared to direct anthropic SDK use.
  • Exact model parameter names and defaults for ChatAnthropic instantiation.
Same gist for agents: .md · .json

What it is and what it does

langchain-anthropic is a bridge between LangChain and Anthropic's Claude models. It wraps Claude's API behind LangChain's standard interfaces, so you can use Claude as a language model within LangChain applications without writing provider-specific code. The package handles authentication, request formatting, and response parsing for you.

It's designed for developers building LangChain-based AI systems who want to use Claude as their model backbone. You install it alongside langchain-core and anthropic, then instantiate a ChatAnthropic object and call it like any other LangChain model. The package is actively maintained, supports Python 3.10 through 3.14, and has no known security vulnerabilities.

Use it for

  • Build a LangChain agent or chain that uses Claude for reasoning and text generation without writing anthropic SDK code directly.
  • Swap Claude in and out of a LangChain application by changing a single model parameter, keeping the rest of your pipeline unchanged.
  • Integrate Claude into LangChain's retrieval-augmented generation workflows for question-answering over documents.
  • Use Claude within LangChain's tool-calling and function-execution patterns for structured task automation.
  • Prototype multi-model LangChain applications where Claude is one of several selectable providers.

Worth the install?

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

Worth it

Yes.

This is a production-stable, actively maintained integration with low install friction, no security issues, and permissive licensing. Install it if you're already using LangChain and want to use Claude; it's the standard way to do so within the LangChain ecosystem.

Install

langchain-anthropic on PyPI

Before you install

Low friction installation with a pure-Python wheel. Active maintenance with a release 1 day old and continuous commits. Depends on anthropic, langchain-core, and pydantic—all stable, widely-used libraries.

Requires Python 3.10 or later; you must also have an Anthropic API key set in your environment to authenticate requests.

License in practice

MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install langchain-anthropic

from langchain_anthropic import ChatAnthropic

model = ChatAnthropic()
response = model.invoke("Hello, world!")

Verify before relying

  • Which specific Claude model versions are supported by this release.
  • Whether streaming, vision, or tool-use features are included in this integration.
  • Performance characteristics or rate-limit handling compared to direct anthropic SDK use.
  • Exact model parameter names and defaults for ChatAnthropic instantiation.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0.0,>=3.10.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
anthropiclangchain-corepydantic
MaintenanceActively maintained 1 days since the last release
Last repo commit
First released
Downloads23,551,909 / month, #940 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_anthropic-1.5.6-py3-none-any.whl

Tags

Capabilities
langchain anthropic claude integrationclaude api langchain wrapperanthropic models langchainlangchain claude providergenerative ai langchain anthropicllm integration langchainanthropic claude langchain
Topics
llm-integrationlangchain-providergenerative-ai

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 › “langchain anthropic claude 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-openai · langchain-mistralai · langchain-xai · langchain-perplexity · langchain-groq · langchain-deepseek · langchain-google-vertexai · llm-anthropic · langchain-fireworks

Further reading