Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/oss/deepagents/subagents.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,22 @@ The simplest pattern is to iterate `stream.subagents` to track each delegated ta

:::

### Checkpoint namespace on task result

When a subagent finishes with checkpointing active, the `task` tool's `ToolMessage` carries `artifact.checkpoint_ns`, the namespace the subagent saved under. Clients can load that subagent's history from the namespace instead of scanning the thread.

:::python
<Note>
The `checkpoint_ns` artifact on task results requires `deepagents>=0.7.36`.
</Note>
:::

:::js
<Note>
The `checkpoint_ns` artifact on task results requires `deepagents>=1.16.5`.
</Note>
:::

### LangSmith tracing

As your deep agent runs, all runs executed by a subagent or the coordinator will have the agent name in their metadata under the `lc_agent_name` key—for example, `{'lc_agent_name': 'research-agent'}`. This lets you identify and filter runs by subagent in LangSmith.
Expand Down
Loading