Skip to main content
要安装 LangChain 包:
bash npm       npm install langchain @langchain/core
LangChain 提供了与数百个 LLM 和数千个其他组件的集成。这些功能存在于独立的供应商包中。例如:
# Installing the OpenAI integration
npm install @langchain/openai
# Installing the Anthropic integration
npm install @langchain/anthropic
查看 集成标签页 获取完整的可用集成列表。

Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.