Join us May 13th & May 14th at Interrupt, the Agent Conference by LangChain. Buy tickets >
TypeScript
npm install langchain @langchain/core # 需要 Node.js 20+
# 安装 OpenAI 集成 npm install @langchain/openai # 安装 Anthropic 集成 npm install @langchain/anthropic