A2a agent card

From OrcaQubits/agentic-commerce-skills-plugins · View interactive version

A2a agent card is an AI agent skill from the GitHub repository OrcaQubits/agentic-commerce-skills-plugins. Create and configure A2A Agent Cards — the discovery document describing an agent's capabilities, skills, authentication, and endpoint. Use when defining what your agent exposes to other agents.

How to use this skill

Skill file

A2A Agent Card

Before writing code

Fetch live docs:

  1. Fetch https://a2a-protocol.org/latest/specification/ and look for the Agent Card schema section
  2. Web-search site:github.com a2aproject A2A agent card schema for the JSON Schema definition
  3. Web-search site:github.com a2aproject a2a-samples agent-card for real-world Agent Card examples
  4. Fetch SDK docs for Agent Card builder/helper classes

Conceptual Architecture

What the Agent Card Is

The Agent Card is a JSON document that describes an A2A agent to potential clients. It's the discovery and capability advertisement mechanism — analogous to an OpenAPI spec for REST APIs, but for agent-to-agent communication.

Hosting

By convention, Agent Cards are served at:

{agent_base_url}/.well-known/agent-card.json

Agents can also be discovered via:

Key Sections

Identity
Capabilities

Declares what protocol features the agent supports:

Skills

Array of skills (capabilities) the agent offers:

Skills help client agents understand what tasks they can delegate.

Authentication

Declares required authentication via two top-level fields:

Input/Output Modes

Agent Card Design Principles

Use Cases

Best Practices

Fetch the specification for the exact Agent Card JSON Schema, all field types, and required vs optional fields before implementing.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.