aiagent.club
中文
npm package

@langchain/anthropic

Updated 2026-09-12 View source ↗

#21 of 203 by Downloads / week among npm packages

987.0k Downloads / week

Anthropic integrations for LangChain.js

About

This package contains the LangChain.js integrations for Anthropic through their SDK.

This package, along with the main LangChain package, depends on @langchain/core. If you are using this package with other LangChain packages, you should make sure that all of the packages depend on the same instance of @langchain/core. You can do so by adding appropriate fields to your project's package.json like this:

The field you need depends on the package manager you're using, but we recommend adding a field for the common yarn, npm, and pnpm to maximize compatibility.

This package contains the ChatAnthropic class, which is the recommended way to interface with the Anthropic series of models.

To…

Excerpted from www.npmjs.com/package/@langchain/anthropic

Latest metrics

Downloads / week 987.0k 2026-09-12