Welcome to the LangGraph User Group! We're a community of developers and researchers exploring and building with LangGraph, LangChain's powerful framework for creating stateful, multi-actor applications with LLMs. This organization is hosted on Hugging Face to facilitate collaboration, sharing, and learning within the LangGraph community.
This page showcases the LangGraph Agent Chat UI, a key project developed by the user group. It's a ready-to-use, intuitive interface that makes it easy to interact with your LangGraph agents. Whether you're just getting started with LangGraph or building complex multi-agent systems, this UI will streamline your development and experimentation.
Why Join the LangGraph User Group?
To use the Agent Chat UI, you'll need a running LangGraph agent served via LangServe. Here are two Python examples (basic and with human-in-the-loop):
Basic LangGraph Agent (Summary):
langchain_openai
, langgraph
, fastapi
, and langserve
.get_weather
tool.ChatPromptTemplate
, MessagesPlaceholder
, ChatOpenAI
, and create_agent_executor
.FastAPI
and add_routes
from langserve
. The path
argument to add_routes
is the "Graph ID".LangGraph Agent with Human-in-the-Loop (Summary):
write_email
tool.handle_interrupt
function that uses langgraph.prebuilt.interrupt
to pause execution and request human input when the write_email
tool is called. The interrupt
function uses a specific schema that the UI understands."type": "interrupt"
, and an args
dictionary with "type"
(response, accept, ignore) and data for the human to review/edit.Key LangGraph Concepts (Illustrated by the UI):
add_routes
and path
: The path
you use with langserve.add_routes
is essential. It's the "Graph ID" you enter in the UI to connect.bind_tools
).interrupt
function, with its specific schema, is how you trigger human-in-the-loop interactions.We encourage you to join the LangGraph User Group to connect with fellow developers, ask questions, share your projects, and contribute to the LangGraph ecosystem. Click the "Join Group" button to become a member! We look forward to seeing what you build with LangGraph!
Contributions are welcome! Please see the GitHub repository for issues and pull requests.
This organisation is an opensource community project, always check the licences in the repositories + report any ambiguities.