LangGraph
LangGraph is a module built on top of LangChain that enables the creation of cyclical graphs, often needed for agent runtimes. It adds value by introducing an easy way to create these cyclical graphs, which are useful when creating more complex LLM applications. The functionality includes StateGraph, Nodes, Edges, and Compile features. Two agent runtimes have been implemented using LangGraph: Agent Executor and Chat Agent Executor. Modifications include force calling a tool, human-in-the-loop steps, managing agent steps, returning output in a specific format, and dynamically returning the output of a tool directly. Future work includes more advanced agent runtimes from academia, stateful tools, controlled human-in-the-loop workflows, and multi-agent workflows.
Company
LangChain
Date published
Jan. 17, 2024
Author(s)
LangChain
Word count
1846
Language
English
Hacker News points
None found.