How to add human-in-the-loop like in LangGraph?
Hi, is there a way to implement human-in-the-loop controls similar to this example from LangGraph? https://langchain-ai.github.io/langgraph/tutorials/get-started/4-human-in-the-loop/
Thanks!
Hi @WATCHARAPHON6912! I'm Dosu and I’m helping the langflow team.
Human-in-the-loop (HITL) controls like those in the LangGraph example are not currently supported in Langflow. There is no built-in way to pause execution for human input or intervention during a workflow, and it is not possible to use multiple chat input components in a single workflow to simulate this behavior. However, this feature is on the roadmap and planned for future updates, as confirmed by the maintainers (discussion).
If you want to experiment with partial HITL-like behavior, you could explore the LoopComponent, which processes lists of data items and could, in theory, be adapted to include human feedback at certain stages. However, this would require significant manual intervention and does not provide the seamless, interrupt/resume pattern shown in the LangGraph tutorial (LoopComponent details).
For now, classic HITL use cases—such as pausing execution for review, manual override, or managed workflow interruptions—are not natively supported in Langflow. Keep an eye on future releases for updates on this feature.
To reply, just mention my name @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other