跳到主要内容Skip to main content

Plan-and-SolvePlan-and-Solve

Plan-and-Solve

  • 智能体Agents
  • 第三站 · 用深Station 3 · Going Deeper
  • 引用核验 2026-11-19refs checked 2026-11-19
解决什么问题What problem it solves

先让模型写出完整计划,再按计划逐步执行,避免边想边做漏步骤。Write a full plan first, then execute it step by step, so multi-step tasks do not miss conditions.

这是什么What it is

第一阶段只做分解:把任务拆成有序的子步骤,先不急着算答案。

第二阶段按计划逐项执行,每一步只处理当前子任务。

它和 ReAct 的区别是「先规划后执行」,不是每步都重新想。

Phase one only decomposes the task into ordered sub-steps, without solving yet.

Phase two executes each sub-task in order.

Unlike ReAct, it plans once up front rather than rethinking every step.

为什么需要知道Why it matters

多步任务最容易漏条件。先写计划能把隐含步骤显式化,也方便人和程序检查。Multi-step tasks lose conditions easily. An explicit plan surfaces hidden steps and lets humans or programs inspect them.

出处Sources
  • Plan-and-Solve 论文(arXiv)Plan-and-Solve Prompting (arXiv 2305.04091) ↗