-
Notifications
You must be signed in to change notification settings - Fork 1.3k
human-in-the-loop #378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the question - please search the closed issues for human in the loop for some ideas, and followup here if you still have questions! |
Potential Ideas:
I imagine the flow to be something like: ... -> Function Tool call -> trigger for UI confirmation flow/agent -> Accept=continue; Reject=return error message -> Original agent see's either success or failure output. Hopefully this helps. |
This issue is stale because it has been open for 7 days with no activity. |
is there any update on this human in the loop feature @rm-openai |
The "human-in-the-loop" mechanism would also solve the issue of long-running tool executions. This would enable moving execution outside the main agent loop and processing resource-intensive operations asynchronously. If an application instance restarts, the system could restore state and continue execution after receiving the result, significantly improving reliability when working with resource-intensive tasks. |
Another way to implement the review/approval step is by using the agent hook |
Human Review/Approval Step for Agent Tool Execution
Problem Statement
When using AI agents with tool execution capabilities, we currently don't have a way to intercept the tool execution and have a human review before allowing the action to proceed. I need a mechanism to:
Current Limitations
Desired Implementation
I'm looking for a pattern/architecture that would allow:
Questions
Is this possible with the current agent architecture?
Are there examples of similar implementations?
What's the recommended approach for intercepting tool calls?
What's the best way to design the human approval UI flow?
How should we handle timeouts if a human doesn't respond promptly?
human-in-the-loop
The text was updated successfully, but these errors were encountered: