diff --git a/src/oss/deepagents/subagents.mdx b/src/oss/deepagents/subagents.mdx index f4a0721852..c228baa604 100644 --- a/src/oss/deepagents/subagents.mdx +++ b/src/oss/deepagents/subagents.mdx @@ -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 + + The `checkpoint_ns` artifact on task results requires `deepagents>=0.7.36`. + +::: + +:::js + + The `checkpoint_ns` artifact on task results requires `deepagents>=1.16.5`. + +::: + ### 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.