I’m building an agent using LangChain + LangGraph for a entertainment industry.
When a user requests a large offer amount, the issuance must pause until a manager approves it. The manager approval is handled outside the agent, and when approved, an event is pushed into event hub.
I’m currently using an Interrupt in LangGraph to pause the workflow and wait for the external approval event.
However, during the approval wait time, the user should still be able to chat with the agent and ask other unrelated questions.
My concern:
If I use Interrupt on the main thread, it seems like the entire agent stops and the user cannot continue the conversation.
How can this flow be implemented?..