deer-flow — tool path: approve in after_model, run in the sandbox

deer-flow — tool path: approve in after_model, run in the sandbox A workflow diagram generated by Archify. 01 / Model EX / Human gate 03 / wrap_tool_call 04 / Sandbox Decide Execute Observe Model · tool_calls · Model › Decide Model tool_calls Subagent limit · trim task calls · Model › Decide Subagent limit trim task calls Observation · ToolMessage · Model › Observe Observation ToolMessage after_model · interrupt or deny · Human gate › Decide after_model interrupt or deny Denied · error ToolMessage · Human gate › Execute Denied error ToolMessage Paused · waiting_for_input · Human gate › Execute Paused waiting_for_input Lazy acquire · first tool call · wrap_tool_call › Execute Lazy acquire first tool call Clarification · goto END · wrap_tool_call › Execute Clarification goto END Output budget · 12k chars · wrap_tool_call › Execute Output budget 12k chars Tool body · bash, read, task · Sandbox › Execute Tool body bash, read, task stub no execution non-interactive interrupt allowed remaining tool_calls resume ask_clarification run raw Legend Agent logic Policy Context / trace External system