Is there a way to pause an agent tool call for human confirmation. This agent being a part of a MAS

I am looking for a way to pause an external MCP tool call for the Human to confirm in the MCP client UI. Post that MCP tool can go ahead. The tool is behind a MCP server which is an agent with multiple tools.

catalog_tools = MCPTools(

*transport*="streamable-http",

url=“xxxx”,

requires_confirmation_tools=[

“update_data”

]

Hey @shubham, welcome to the Agno community! Thanks so much for reaching out and for your support - great to have you here!

Yes! You can use requires_confirmation_tools in your MCPTools to pause for human confirmation.
When the agent calls those tools, check run_response.is_paused and tools_requiring_confirmation, get user approval in your UI, set tool.confirmed = True/False, then call agent.continue_run().

You can also check out these docs for more context:
https://docs.agno.com/concepts/hitl/overview
https://docs.agno.com/examples/concepts/agent/human_in_the_loop/confirmation_required
https://docs.agno.com/examples/concepts/agent/human_in_the_loop/confirmation_required_toolkit

@yuvi
Thanks Yuvi. Could you please also confirm if I have a team of agents, and one of those agents have few tools which requires confirmation, does the team will pause and wait?

When (member agent) pauses, does team.arun() return is_paused=True?

  1. Is run_response.tools_requiring_confirmation populated at Team level?

  2. Does team.continue_run() correctly resume the paused member agent?

Hey @shubham,

  1. No we don’t yet support HITL features on teams.
  2. We don’t yet have team.continue_run(), not yet implemented.

We are currently working on HITL for teams/workflows together and will release updates in the coming weeks.

Thanks @yuvi for the update. Please let me know when can this be released tentatively. We are building multi agent team and this is crucial feature for us to move ahead.

Hi @shubham, we appreciate you letting us know how crucial this is for your multi-agent team.

We predict we will be releasing the HITL (Human-in-the-Loop) feature in pieces over the next two months.

I’ll be sure to notify you as soon as it gets released.

Hi @yuvi ,
Wanted to understand if we have picked this thread? Do we have any tentative timelines on it? If any workaround team can recommend, I can surely try to apply that as well.

Hey @shubham,

Thank you for following up on this. We’ve been releasing HITL in pieces.
Check out these documentations: User Confirmation - Agno and Human-in-the-Loop in Agents - Agno

Let me know if it addresses your query!

Thankyou for your confirmation @yuvi . I am also looking for HITL features on teams. Do we have any tentative timelines for it?

Hey @shubham,

I just checked with the team. We’re planning it to get it delivered around late January or before.