The A2A Agent Card: How One Agent Finds Another

Executive Summary
An A2A agent card is the short JSON document an agent publishes so other agents can find it, understand what it does and send it work correctly. In the Agent2Agent (A2A) protocol, the open standard Google introduced in April 2025 and contributed to the Linux Foundation, the card is the first thing a client agent reads. It names the agent, gives its endpoint, lists its skills, states which content types it accepts and returns, declares whether it can stream updates or send push notifications, and says which authentication it requires. I'm Trevor Solis, Lead AI Engineer for Missions at StudioX. This piece covers what goes into a card, where it lives, how a client agent uses it to decide whether and how to send a task, and what a good skill description looks like.
The Problem: Why the A2A Agent Card Exists
Enterprises now run agents built by different teams and vendors on different frameworks. When one agent needs help from another, it has three questions:
- Does an agent exist that can do this piece of work?
- What exactly can it do, and what input does it expect?
- How do I reach it, and how do I prove who I am?
Without a shared answer, every agent-to-agent connection is a custom integration, and facts such as which credentials are in use are hidden from the people responsible for security.
The Traditional Approach
Before A2A, teams connected agents the way they connected services: a bespoke REST endpoint per agent, a hand-written tool wrapper in the caller, documentation on a wiki page, and an API key pasted into configuration. Some teams wrapped the other agent as a tool through the Model Context Protocol (MCP), which treats an autonomous agent as a function call and loses the idea that the other side may need to ask a question, take time or refuse.
Why It Fails
- Discovery is manual. A client agent cannot learn at runtime that a capability exists.
- Descriptions are not machine-readable. A model planning a task has nothing structured to reason over when choosing which agent to call.
- Authentication is implicit. The scheme an endpoint expects is buried in code.
- Long-running work has no shape. Each integration invents its own status values for "working", "need more input" and "failed".
- Changes break callers silently. When the remote agent changes, nothing tells the caller.
IBM's 2025 research found that 97% of AI breaches traced back to missing access controls.
How StudioX Solves It
StudioX is building on open standards, including A2A, so agents can be described and reached in a consistent way. The standards we track are on the StudioX standards page. The practices below are how we think about publishing and consuming agent descriptions, and they map directly onto the A2A agent card.
What a card contains
An illustrative card follows. Field names are kept general; the exact schema is at a2a-protocol.org.
{
"_comment": "Illustrative example only, not a complete or normative card",
"name": "Supplier Credit Check Agent",
"description": "Checks a supplier's payment terms, open balance and credit hold status before a purchase order is released.",
"url": "https://agents.example.com/credit-check",
"version": "1.0",
"capabilities": { "streaming": true, "pushNotifications": true },
"defaultInputModes": ["application/json", "text/plain"],
"defaultOutputModes": ["application/json"],
"securitySchemes": {
"oauth": { "type": "oauth2", "description": "Client credentials, scope credit.read" }
},
"skills": [
{
"id": "check-supplier-credit",
"name": "Check supplier credit",
"description": "Given a supplier ID and an order amount, returns whether the order is within the supplier's credit limit, the open balance and any hold reason. Does not change any record.",
"inputModes": ["application/json"],
"outputModes": ["application/json"],
"examples": ["Is supplier S-1042 within limit for an order of 18,500?"]
}
]
}
- Name and description tell a planner, human or model, what the agent is for.
- Endpoint URL says where to send tasks. Transport is HTTP(S) with JSON-RPC.
- Skills are the units of work on offer, each with an ID, name, description, input and output modes and optional examples.
- Input and output modes declare content types, so a client knows whether to send text, a file or structured data. A2A messages are built from parts of those kinds.
- Capabilities state whether the agent streams updates over server-sent events or calls a webhook when a long task changes state.
- Security schemes declare the standard scheme required: OAuth 2.0, OpenID Connect, API keys or mTLS.
Where it is published
A card is typically served from a well-known URL on the agent's host, so a client that knows the host can fetch it without prior arrangement. It is plain JSON over HTTPS and can be reviewed like any other configuration.
How a client agent reads it
The client makes four decisions from the card:
- Whether. Does any skill match the work? A model compares the task against the skill description.
- What to send. Which input mode, and how to shape the message parts.
- How to authenticate. Which scheme to obtain credentials for.
- How to wait. Subscribe to a stream, register a webhook, or poll the task.
The remote agent stays opaque. It does not expose its reasoning, memory or tools; it accepts tasks and returns results as artifacts.
What a good skill description looks like
Most problems I see come from skill descriptions. A good one states the input precisely ("given a supplier ID and an order amount"), names the output fields, states side effects ("does not change any record" or "creates a work order"), states limits such as region or currency, and gives one or two realistic examples. A description like "intelligent supplier management powered by AI" gives a model nothing to plan against and a security reviewer nothing to approve.
Benefits
- Runtime discovery. A client agent finds a capability without a developer wiring it up.
- Reviewable connections. Security teams read declared authentication and side effects in one document.
- A shared shape for long work. Tasks move through states such as submitted, working, input-required, completed, failed and canceled.
- Independent change. The owner of a remote agent can add skills without breaking callers.
StudioX customers report employee productivity up 32%, operational costs down 40% and net new revenue up 10%; those are customer-reported figures for the whole platform, not guarantees. Gartner predicts over 40% of agentic AI projects will be canceled by the end of 2027, and clear contracts between agents are one way to keep a project off that list.
Example Workflow
A procurement agent, run by the buying team, needs a credit check from a supplier credit agent, run by the finance team on another platform.
- Trigger. A buyer submits a purchase request for 18,500. The procurement agent's plan requires a credit check before release.
- Discovery. It fetches the credit agent's card from the well-known URL on the finance team's host.
- Matching. It finds the "Check supplier credit" skill. The description states the inputs, the outputs and that nothing is changed.
- Authentication. The card declares OAuth 2.0 client credentials with a read scope, so it obtains a token with that scope only.
- Sending. It sends a message with one structured data part: supplier ID and amount.
- Waiting. Streaming is supported, so it subscribes and receives "submitted", then "working".
- Input required. If the supplier ID is ambiguous, the remote agent can move the task to input-required and ask; the client answers or escalates to a person.
- Result. The task completes with an artifact: within limit, open balance, no hold.
- Decision. The procurement agent releases the order if policy allows, or pauses for a buyer to approve above a threshold the team has set.
Related StudioX Capabilities
Governing what your own agents do with another agent's results is a separate job:
- Missions and the Reasoning Core. Teams of specialist agents execute goals end to end. The Reasoning Core plans, routes work, hands off with context and on failure decides retry, escalate or reroute. Every decision is traced.
- Human approval. A workflow can pause at a defined step for someone to review and approve. Teams define which actions an agent can take and where a person must approve.
- Agent Policies. Built on Open Policy Agent and Rego, every tool call is checked against your policies before it runs, and every allow or deny is logged (Studio → Business settings → Security & Access → Agent Policies).
- Provenance. Download a W3C PROV record for any agent run: who acted, what data it used, what it produced.
- MCP. Agents use tools through MCP, with 1,300+ pre-built connectors; Instant MCP turns an OpenAPI spec into callable tools. MCP connects an agent to tools and data; A2A connects an agent to another agent.
Frequently Asked Questions
Is an A2A agent card the same as an OpenAPI spec?
No. An OpenAPI spec describes an API's endpoints and fields. A card describes an agent's skills in natural language, its content types, streaming support and authentication; A2A standardises the transport.
Does the card expose how the agent works internally?
No. The card describes what the agent accepts and returns, not its prompts, models, memory or tools.
What should a client do if a skill description is vague?
Not call the agent automatically. Route the decision to a person, or ask the owning team to tighten the description.
Do both sides need to support A2A?
Yes. A2A is new, and a card is only useful if the other agent publishes one and accepts tasks over the protocol. Until then, an MCP tool or a conventional API integration is the practical route.
Call to Action
If your agents will work with agents run by other teams or vendors, start by writing the card you would want to read: precise skills, declared side effects, narrow authentication. Then decide where policies and approvals sit around each handoff. See the open standards StudioX builds on at the StudioX standards page, and read about the Enterprise AI Platform.
Related Reading
- Agentic Finance Automation: When Payables Asks Procurement
- Agentic Network Operations: From NOC Fault to Booked Technician
- An AI Agent for Tenant Maintenance Requests, Handed to the Vendor
- AI Agents for Equipment Maintenance: Part, Approval, Work Order
- Multi-Agent Software Engineering: Code Agent to Test Agent
- AI Agent for Customer Support: A Refund Within the Agent's Limit
Discussion
No comments yet — start the conversation.