Open History to see the last commit
1---
2id: SubagentFinishedEvent
3title: SubagentFinishedEvent
4---
5
6Defined in: [packages/ai/src/types.ts:2165](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2165)
7
8A child agent's segment of this run ended.
9
10@ag-ui/core provides: `subagentRunId`, `result?`, `outcome?`
11
12## Extends
13
14- `SubagentFinishedEvent`