Open mmurad2 opened 2 weeks ago
Hi Maya, this ticket is super interesting and might be a good first iteration. This could be part of a larger "epic" of work enabling human-in-the-loop interaction.
The human as a tool is valid for cases when the agent determines the need to call out to a human for more information, but a complementary paradigm for the framework developers might be building agents with predefined points of validation and corrections from the end user.
So having a concept similar to the emitter
for observing agent behaviour might be useful to have a concept that allows developers to pause and resume agent behaviour with a human interaction in the middle.
Eg:
Validate Step/Tool to call
Validate Tool Input to use
In a more complex case, the end user may also be able to rerun previous prompt with adapted tool inputs that they observed were used by the agent last time.
thanks for the feedback @prattyushmangal - would you be open to contributing this?
Is your feature request related to a problem? Please describe. For certain use cases, the agent requires additional information or steering from the user in order to execute correctly.
Describe the solution you'd like An abstraction that calls for human intervention during a single agent's workflow. This could be consider a "tool" that can be configured for a certain use case. I would assume the agent builder would need to define when this "tool" should be used.