Skip to content

@pgege/kaboo-react


Function: KabooInlineCards()

KabooInlineCards(): Element

Defined in: integrations/KabooInlineCards.tsx:34

Renders AgentCards inline in the chat for delegate sub-agents.

Every delegate group is spawned by a delegate tool call and carries its toolCallId. We register a v2 tool renderer per such agent so CopilotKit places the card at the tool-call position in the assistant turn, correlated by (agentName, toolCallId).

First-class swarm/graph entries have no delegating tool call, so their member cards are rendered by KabooMessageView / KabooAssistantMessage instead, anchored to the assistant turn. Groups carrying a toolCallId are excluded there, so the two paths never double-render the same group.

Returns

Element