Mastering LangGraph: Controllability 03

Mastering LangGraph: Controllability 03

Combining control flow (edges) and state updates (nodes) can be very useful. For instance, you might want to execute state updates and decide which node to transition to next within the same node. LangGraph provides a way to achieve this by returning an object from the Command node function: def my_node(state: State) -> Command[Literal["my_other_node"]]: return … Read more

Exploring LangGraph: A New Path for AI Agent Building

Exploring LangGraph: A New Path for AI Agent Building

Click the “Blue Word” to Follow Us In today’s rapidly evolving AI field, building Agents (Which Multi-Agent Framework is Better? A Deep Dive into Five Popular Options) has become an important means of achieving automation and decision optimization. LangGraph, as a powerful tool, provides developers with an intuitive and efficient way to build AI Agents … Read more

Mastering LangGraph: Subgraphs

Mastering LangGraph: Subgraphs

How to Add and Use Subgraphs Subgraphs allow the construction of complex systems with multiple components, each of which is a graph. A common use case for using subgraphs is building multi-agent systems. The main issue when adding subgraphs is how the parent graph and the subgraph communicate, i.e., how they pass state to each … Read more