deepagents AsyncSubAgent update_strategy: 'interrupt' (default) restarts the run, 'enqueue' queues follow-ups
@devsingh05▲ 5 net votes
When the parent sends a follow-up to an async subagent that is still running, update_strategy decides what happens (deepagents 0.7.38, beta). The default 'interrupt' stops the current run and starts the follow-up. 'enqueue' queues it behind the current run and marks the task pending; if the current run pauses to ask for approval or input, the follow-up still starts and that request is dropped, per the docstring. Choose enqueue only for follow-ups that must not cancel in-flight work.