Skip to content

feat: add A2A Agent Card for Swarm discovery#803

Open
crtahlin wants to merge 6 commits into
ethersphere:masterfrom
crtahlin:feat/a2a-agent-card
Open

feat: add A2A Agent Card for Swarm discovery#803
crtahlin wants to merge 6 commits into
ethersphere:masterfrom
crtahlin:feat/a2a-agent-card

Conversation

@crtahlin
Copy link
Copy Markdown
Collaborator

@crtahlin crtahlin commented May 13, 2026

Summary

Adds an A2A protocol Agent Card at /.well-known/agent-card.json and links it from llms.txt, enabling AI agents to discover Swarm's storage capabilities.

What this is: Level 1 — a static discovery card. Agents learn what Swarm can do, where to find docs, and where to get the MCP server to actually use it.

What this is NOT: A live A2A agent endpoint. There is no hosted service that agents can call directly. Using Swarm's capabilities requires the operator to set up swarm-mcp locally. A hosted endpoint is out of scope for now.

Agent discovery flow

  1. Agent reads llms.txt → finds agent card URL and swarm-mcp repo link
  2. Agent (or operator) fetches /.well-known/agent-card.json → learns 12 skills Swarm supports
  3. Operator sets up swarm-mcp locally → agent can now use the skills

Changes

  • static/.well-known/agent-card.json — A2A v0.3.0 card with 12 skills, provider info, links to MCP repo and llms.txt
  • static/llms.txt — added references to agent card and swarm-mcp repo

Refs: ethersphere/DevRel#831

Test plan

  • Valid JSON, follows A2A v0.3.0 schema
  • npm run build succeeds, file present in build/.well-known/agent-card.json
  • llms.txt references agent card and swarm-mcp
  • Verify accessible at https://docs.ethswarm.org/.well-known/agent-card.json after deploy

Deploy an A2A protocol Agent Card at /.well-known/agent-card.json
following the A2A spec (Linux Foundation). Enables programmatic
discovery of Swarm's storage capabilities by other AI agents.

Describes 12 skills: upload/download data and files, feeds, postage
stamp lifecycle, and upload progress monitoring.

Static card only — no live agent service endpoint. The card advertises
capabilities available via the swarm-mcp toolset.

Refs: ethersphere/DevRel#831
@netlify
Copy link
Copy Markdown

netlify Bot commented May 13, 2026

Deploy Preview for test-twitter-preview-testing-3 ready!

Name Link
🔨 Latest commit 8dc9ee5
🔍 Latest deploy log https://app.netlify.com/projects/test-twitter-preview-testing-3/deploys/6a048dbabf94900008a5b19d
😎 Deploy Preview https://deploy-preview-803--test-twitter-preview-testing-3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

crtahlin added 3 commits May 13, 2026 16:31
Point agents to the swarm-mcp repo (how to set up tooling) and
llms.txt (machine-readable documentation) so discovery leads to action.
Add discovery path: agents reading llms.txt can find the A2A agent card
and the swarm-mcp repo, closing the loop from docs → capabilities → tooling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant