Skip to content

@pgege/kaboo-react


Function: AgentCard()

AgentCard(__namedParameters): Element

Defined in: components/AgentCard.tsx:50

Card for a single agent run: title, status badge, task, chronological timeline (text + tool rows), result/structured output, and a "View details" drill button. Delegated sub-agents are interleaved at their tool-call position; with showChildren the card renders its whole child tree inline.

Parameters

__namedParameters

AgentCardProps

Returns

Element

Example

import { AgentCard, useActivity } from "@pgege/kaboo-react";

function FirstCard() {
  const { groups } = useActivity();
  const [id, group] = Object.entries(groups)[0] ?? [];
  return id ? <AgentCard groupId={id} group={group} /> : null;
}