Function: KabooActivityProvider()¶
KabooActivityProvider(
__namedParameters):Element
Defined in: src/context/ActivityProvider.tsx:88
Builds the sub-agent groups the cards render from the AG-UI run stream: each
SUBAGENT_STARTED opens a group, the events tagged with its subagentRunId
fill its timeline, and SUBAGENT_FINISHED or SUBAGENT_ERROR settles it.
The same fold runs live and on replay.
Included automatically by KabooProvider; mount it yourself only when
composing providers by hand under an existing <CopilotKit>.
Parameters¶
__namedParameters¶
Returns¶
Element
Example¶
import { KabooActivityProvider, ActivityPanel } from "@pgege/kaboo-react";
function Activity({ agent }: { agent: string }) {
return (
<KabooActivityProvider agentId={agent}>
<ActivityPanel />
</KabooActivityProvider>
);
}