@threadplane/langgraphTypeAliasv0.3.7

LangGraphSubagent

A child graph as a core child agent. id is the child's namespace path as JSON, which stays unique whatever a segment contains, and name is the node that started it. A child the session related to a root tool call (see LangGraphSubgraph.delegation) carries that call's toolCallId, its task as description, and the requested subagent type as name.

import type { LangGraphSubagent } from '@threadplane/langgraph';

Declaration

export type LangGraphSubagent = AgentSubagent & {
    readonly namespace: readonly string[];
};