How to make human in the loop workflows with agent builder?

When running a workflow, I need an Agent node that can proactively ask the user for missing information. The problem is that the workflow continues executing instead of waiting for the user’s response. However, platforms like OpenAI’s https://chatkit.world/ do support this behavior, so I know it’s achievable.

How can I design an Agent or workflow step that pauses execution, collects user input, and then resumes once the missing information is provided? Any best practices or examples would be appreciated.

3 Likes

Hello, my guess is that it’s not possible right now with the agent builder, the only way is to start all over again with the start and keep the state and add a huge if else statement. But the workflow will look horrible.

There is no way to interupt the flow, except with user approval or function calling. But I think you can keep the front with chatkit and develop the back with agent sdk and that way you should be able to do it.

I really hope OpenAI will add the feature soon …

1 Like

The human-in-the-loop feature was one of the questions raised during our exploration of the Chatkit solution with stakeholders. +1 For this feature.

Something that you can use for human in the loop / team in the loop would be symio.app. Which is a tool for teams of humans and agents working together.