Skip to main content
本站翻译于2026年4月19,请放心食用🎉🎉🎉
Docs by LangChain home page
开源组件
Search...
⌘K
Ask AI
GitHub
Try LangSmith
Try LangSmith
Search...
Navigation
Get started
安装 LangGraph
Deep Agents
LangChain
LangGraph
Integrations
Learn
Reference
Contribute
Python
概述
Get started
安装
快速入门
本地服务器
更新日志
LangGraph 思维模式
工作流 + 智能体
Capabilities
持久化
持久化执行
流式传输
中断
时间旅行
内存
子图
Production
应用程序结构
测试
LangSmith Studio
Agent Chat UI
LangSmith 部署
LangSmith 可观测性
Frontend
概述
图形执行
LangGraph APIs
Graph API
Functional API
运行时
Get started
安装 LangGraph
Copy page
Copy page
要安装基础 LangGraph 包:
pip
uv
pip
install
-U
langgraph
要使用 LangGraph,您通常需要访问 LLM 并定义工具。 您可以根据自己的喜好来实现这一点。
一种方法(我们将在文档中使用)是使用
LangChain
。
安装 LangChain:
pip
uv
pip
install
-U
langchain
# 需要 Python 3.10+
要使用特定的 LLM 提供程序包,您需要单独安装它们。
请参阅
集成
页面以获取特定提供程序的安装说明。
在 GitHub 上编辑此页面
或
提交问题
。
通过 MCP 将这些文档连接到 Claude、VSCode 等工具
以获取实时答案。
LangGraph 概述
Previous
快速入门
Next
⌘I