AgentPart
Defined in: react/src/protocol.ts:146
One row per specialist run.
Properties
Section titled “Properties”agentId?
Section titled “agentId?”optional agentId?: string;Defined in: react/src/protocol.ts:151
The registered agent definition, for host-owned label maps. Not execution authority.
id: string;Defined in: react/src/protocol.ts:149
The specialist run, also referenced by its child tool/text parts.
optional kind?: "delegation" | "handoff" | "workflow" | "remote";Defined in: react/src/protocol.ts:157
label: string;Defined in: react/src/protocol.ts:155
parentId?
Section titled “parentId?”optional parentId?: string;Defined in: react/src/protocol.ts:154
The id of the agent part for the specialist that started this one. Absent when the root
run started it.
remoteState?
Section titled “remoteState?”optional remoteState?: | "completed" | "failed" | "unknown" | "submitted" | "working" | "input_required" | "auth_required" | "canceled" | "rejected";Defined in: react/src/protocol.ts:159
Last confirmed peer state. A local stop does not cancel remote work.
state: AgentState;Defined in: react/src/protocol.ts:156
summary?
Section titled “summary?”optional summary?: string;Defined in: react/src/protocol.ts:169
toolId?
Section titled “toolId?”optional toolId?: string;Defined in: react/src/protocol.ts:172
type: "agent";Defined in: react/src/protocol.ts:147
workflowId?
Section titled “workflowId?”optional workflowId?: string;Defined in: react/src/protocol.ts:171
Present for a workflow specialist instead of a registered agentId.