DATE:
AUTHOR:
The LangChain Team
LangGraph

🤖 Command in LangGraph to build edgeless graphs & multi-agent workflows

DATE:
AUTHOR: The LangChain Team

We've released Command, a new tool in LangGraph that lets you manage dynamic, edgeless agent flows. Now, nodes can dynamically decide which node to execute next, improving flexibility and simplifying complex workflows.

Perform smooth handoffs in multi-agent systems with Command. When an agent needs to hand off control to another agent, you can specify any node in the graph to jump to. Transitions are easier to manage without the need for predefined edges.

What's New:

  • Edgeless graphs: Nodes no longer need edges to connect. Instead, they can directly specify which node to go to next, making your agent flows more intuitive and adaptable.

  • Enhanced control: Control the flow after the state update by returning a Command that points to the next node, enabling dynamic, real-time decision-making.

How to Enable:

To get started with Command, check out our in-depth guides and tutorials, explore our docs:

Powered by LaunchNotes