LangChain debuts Plan-and-Execute agents for complex tasks
LangChain has released an experimental Plan-and-Execute agent framework to help developers build more reliable AI systems capable of handling complex, long-term planning.

LangChain has introduced a new agent executor framework called Plan-and-Execute, now available in its experimental module for both Python and TypeScript. Inspired by the BabyAGI project and the Plan-and-Solve research paper, this new framework contrasts with the company's traditional Action Agents, which have historically relied on the ReAct framework. While Action Agents decide on tools and execute steps iteratively in a single loop, Plan-and-Execute agents separate the high-level planning phase from the actual execution of those steps.
The new architecture splits the workload between two distinct components: a planner and an executor. The planner, typically a large language model, maps out the necessary steps to achieve a complex goal and uses an output parser to turn its reasoning into a structured list of tasks. The executor, which is implemented as an Action Agent in this initial release, then takes each individual task and determines the specific tools required to complete it.
For AI practitioners, this separation of concerns addresses the reliability issues that crop up as user objectives grow more complex. In traditional setups, prompts quickly bloat with historical context and tool instructions, which can degrade model performance. By decoupling planning from execution, developers can assign different language models to each role. This opens the door to using smaller, faster, and cheaper fine-tuned models for specific execution tasks, even though the overall architecture requires more total model calls.
Because this is an experimental release, LangChain expects rapid changes to the framework. Planned improvements include integrating vectorstores to manage long sequences of intermediate steps, adding mechanisms to adjust plans dynamically during execution, and supporting multiple specialized execution chains. The team also aims to introduce more rigorous benchmarking to evaluate agent performance.
This is our own summary of reporting by LangChain Blog



