# Fix: A2A Agent Card published for agent-to-agent discovery

> Web-audit fix skill for the `a2a-agent-card` check (Agent discovery & auth, MAY).

## Goal

Publish an A2A Agent Card for agent-to-agent discovery.

## Fix

Serve an A2A Agent Card at `/.well-known/agent-card.json` (a2a-protocol.org) with `name`,
`version`, and `supportedInterfaces`. It lets other agents discover and interoperate with yours
over the agent-to-agent protocol.

## Resources

- [A2A protocol](https://a2a-protocol.org/latest/specification/)

## Copy-paste prompt

Paste this into your coding agent, replacing the Issue line with the Result line from [your audit](https://anc.dev/web-audit):

```text
Goal: Publish an A2A Agent Card for agent-to-agent discovery
Issue: <the audit's finding for this check>
Fix: Serve an A2A Agent Card at `/.well-known/agent-card.json` (a2a-protocol.org) with `name`, `version`, and `supportedInterfaces`. It lets other agents discover and interoperate with yours over the agent-to-agent protocol.
Skill: https://anc.dev/web-audit/skill/a2a-agent-card
Docs: https://a2a-protocol.org/latest/specification/
```

## Verify

Re-run the audit at [https://anc.dev/web-audit](https://anc.dev/web-audit) or call the `audit_website` MCP tool; the `a2a-agent-card` check should report `pass`.
