> ## Documentation Index
> Fetch the complete documentation index at: https://cndoc-langchain.site/llms.txt
> Use this file to discover all available pages before exploring further.

# LangGraph v1 新特性

**LangGraph v1 是一个以稳定性为重点的代理运行时版本。** 它保持核心图 API 和执行模型不变，同时改进了类型安全性、文档和开发者体验。

它旨在与 [LangChain v1](/oss/python/releases/langchain-v1)（其 `create_agent` 基于 LangGraph 构建）协同工作，因此您可以从高级功能开始，并在需要时深入到精细控制。

<CardGroup cols={1}>
  <Card title="稳定的核心 API" icon="sitemap">
    图原语（状态、节点、边）和执行/运行时模型保持不变，使升级变得简单直接。
  </Card>

  <Card title="默认可靠性" icon="database">
    具有检查点、持久化、流式处理和Human in the Loop的持久执行仍然是首要特性。
  </Card>

  <Card title="与 LangChain v1 无缝集成" icon="link">
    LangChain 的 `create_agent` 运行在 LangGraph 上。使用 LangChain
    快速启动；使用 LangGraph 进行自定义编排。
  </Card>
</CardGroup>

要升级，

<CodeGroup>
  `bash pip pip install -U langgraph ` `bash uv uv add langgraph `
</CodeGroup>

## `create_react_agent` 已弃用

LangGraph 的 [`create_react_agent`](https://reference.langchain.com/python/langchain-classic/agents/react/agent/create_react_agent) 预构建已被弃用，转而使用 LangChain 的 [`create_agent`](https://reference.langchain.com/python/langchain/agents/factory/create_agent)。它提供了更简单的接口，并通过引入中间件提供了更大的自定义潜力。

* 有关新的 [`create_agent`](https://reference.langchain.com/python/langchain/agents/factory/create_agent) API 的信息，请参阅 [LangChain v1 发布说明](/oss/python/releases/langchain-v1#create_agent)。
* 有关从 [`create_react_agent`](https://reference.langchain.com/python/langchain-classic/agents/react/agent/create_react_agent) 迁移到 [`create_agent`](https://reference.langchain.com/python/langchain/agents/factory/create_agent) 的信息，请参阅 [LangChain v1 迁移指南](/oss/python/migrate/langchain-v1#migrate-to-create_agent)。

## 报告问题

请在 [GitHub](https://github.com/langchain-ai/langgraph/issues) 上使用 [`'v1'` 标签](https://github.com/langchain-ai/langgraph/issues?q=state%3Aopen%20label%3Av1) 报告在 1.0 中发现的任何问题。

## 附加资源

<CardGroup cols={3}>
  <Card title="LangGraph 1.0" icon="rocket" href="https://blog.langchain.com/langchain-langchain-1-0-alpha-releases/">
    阅读公告
  </Card>

  <Card title="概述" icon="book" href="/oss/python/langgraph/overview" arrow>
    LangGraph 是什么以及何时使用它
  </Card>

  <Card title="图 API" icon="sitemap" href="/oss/python/langgraph/graph-api" arrow>
    使用状态、节点和边构建图
  </Card>

  <Card title="LangChain 代理" icon="robot" href="/oss/python/langchain/agents" arrow>
    基于 LangGraph 构建的高级代理
  </Card>

  <Card title="迁移指南" icon="arrows-exchange" href="/oss/python/migrate/langgraph-v1" arrow>
    如何迁移到 LangGraph v1
  </Card>

  <Card title="GitHub" icon="brand-github" href="https://github.com/langchain-ai/langgraph">
    报告问题或贡献
  </Card>
</CardGroup>

## 另请参阅

* [版本控制](/oss/python/versioning) – 理解版本号
* [发布策略](/oss/python/release-policy) – 详细的发布策略

***

<div className="source-links">
  <Callout icon="terminal-2">
    [将这些文档](/use-these-docs) 通过 MCP 连接到 Claude、VSCode
    等，以获取实时答案。
  </Callout>

  <Callout icon="edit">
    [在 GitHub
    上编辑此页面](https://github.com/langchain-ai/docs/edit/main/src/oss/python/releases/langgraph-v1.mdx)
    或 [提交问题](https://github.com/langchain-ai/docs/issues/new/choose)。
  </Callout>
</div>
