Skip to main content

Agent Card Configuration

An agent card is a JSON file that defines your AI agents's profile, capabilities, and endpoint.It's like a digital business card for the agent.

👉 For full details, see the A2A Protocol Documentation

Usage​

Reference your agent card in the <focus-chat> element using any of these attribute formats:

<!-- snake_case (recommended) -->
<focus-chat agent_card_url="https://example.com/agent-card.json"></focus-chat>

<!-- camelCase -->
<focus-chat agentCardUrl="https://example.com/agent-card.json"></focus-chat>

<!-- kebab-case -->
<focus-chat agent-card-url="https://example.com/agent-card.json"></focus-chat>

Next Steps​