Skip to content
masterclass Buddy

Integrations · Class

ChatAnthropic

ChatAnthropic connects LangChain JavaScript to Anthropic chat models. It supports normal calls, streaming, tools, and structured output.

Last updated

Since
v1.1

Syntax

new ChatAnthropic({ model, temperature, maxTokens, maxRetries, apiKey, baseUrl })

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • ChatPromptTemplate
  • bindTools
  • withStructuredOutput
  • AIMessage
  • AIMessageChunk

Source: ChatAnthropic | @langchain/anthropic. Checked 2026-11-03.