Unlock LangGraph: Learn Agent Programming Basics with 3 Mini Programs

Unlock LangGraph: Learn Agent Programming Basics with 3 Mini Programs

LangGraph is a programming framework that modularizes task workflows, building flexible and efficient intelligent dialogue systems through State Graphs. This article will gradually delve into the core concepts of graph programming in LangGraph through 3 mini-programs, helping you quickly get started and understand its practical application potential, as well as an initial understanding of Agent … Read more

Mastering LangGraph – Multi-Agent 03

Mastering LangGraph - Multi-Agent 03

How to Pass Private Data Between Nodes In some cases, you may want nodes to exchange information that is crucial to the intermediate logic but does not need to be part of the main architecture of the graph. This private data is unrelated to the overall input/output of the graph and should only be shared … Read more

Mastering LangGraph: Multi-Agent System

Mastering LangGraph: Multi-Agent System

An agent is a system that uses LLM to determine the control flow of applications. As you develop these systems, they may become more complex over time, making them harder to manage and scale. For example, we may encounter the following issues: There are too many tools that agents can use, making it overly complex … Read more

Mastering LangGraph Tools: Configuring Parameters

Mastering LangGraph Tools: Configuring Parameters

How to Pass Config to the Tools At runtime, we may need to pass values to the tools, such as user ID. For security reasons, this value should be set by application logic rather than controlled by the LLM. The LLM should only manage its expected parameters. The LangChain tools use the Runnable interface, where … Read more

LangGraph: A Framework for Developing Intelligent Agents Based on Graph Structures

LangGraph: A Framework for Developing Intelligent Agents Based on Graph Structures

LangGraph is a library developed by LangChainAI for creating workflows for agents and multi-agent systems. It offers the following core advantages: cycles, controllability, and persistence, which undoubtedly reduce the workload for agent developers. This article will highlight the key points and usage methods of LangGraph from my perspective during the development process. Basic Introduction The … 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