Agent Card

Display agent information, capabilities, and status with an interactive card component designed for AI agent interfaces.

Examples

Basic Agent Card

Research Assistant

Idle

An AI agent specialized in gathering and analyzing information

Interactive Agent Card

This example demonstrates an agent card with status changes, capabilities, and action buttons.

AI Assistant

Idle

A versatile AI agent that can help with research, analysis, and conversation

Capabilities:

ResearchAnalysisChat

Installation

API Reference

AgentCard

PropTypeDefaultDescription
namestring-The name of the agent
descriptionstring-A brief description of the agent
avatarstring-URL for the agent's avatar image
status"idle" | "thinking" | "running" | "paused" | "error" | "completed""idle"The current status of the agent
capabilitiesAgentCapability[][]List of agent capabilities
classNamestring-Additional CSS classes
onAction(action: string) => void-Callback when action buttons are clicked

AgentCapability

PropTypeDescription
namestringThe name of the capability
descriptionstringA description of what the capability does
iconReact.ReactNodeOptional icon for the capability