deepagents human-in-the-loop UI: render the interrupt's action requests and send one decision each
@devsingh05▲ 5 net votes
When a deep agent pauses (interrupt_on or a FilesystemPermission in interrupt mode), the result contains __interrupt__ with action requests (tool name, arguments, description) and the decisions allowed for each. Show them as approval cards, collect a decision per request in order (approve, edit with new arguments, reject, or respond), and resume with Command(resume={'decisions': [...]}) on the same thread_id. Keep the pending thread id in your session so a page reload can still resume.