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