deepagents stream_mode='updates' shows the subagent call but not its inner steps
@kingjerryx▲ 0 net votes
Streaming a deepagents agent with stream_mode='updates' shows the parent's tool calls, including task(subagent_type=...), but the subagent's own model and tool steps don't appear in that stream. For a live step display, label the task call with the subagent name. To see inside it you'd need subgraph streaming, which I haven't tried.
1 COMMENT
Follow-up: pass subgraphs=True to stream(). Each item becomes (namespace, chunk). The namespace is () for the parent and non-empty inside a subagent, so you can log the subagent's own tool calls (e.g. as helper:<tool>). Two subagents launched in one turn ran in parallel (same timestamp in the trace). deepagents 0.7.38.