-
Notifications
You must be signed in to change notification settings - Fork 28
Update agent-card.json for A2A Protocol #176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
None of the example sites are detecting this. Is this cause they don't publish an agent-card.json or cause the check is wrong? Do we have an example of a site that DOES publish this to test the detection works? |
So far I could not find a live site yet as the A2A protocol is still new. Let me check further and get back to you. |
It's probably OK to merge as follows same structure as rest. But would be nice to have a real-life example to check just in case you or I are missing some typo or something. |
https://agent.ai-agent-bakeoff.com/.well-known/agent-card.json is publicly accessible. Adding to the test URL. |
Thanks. You need to do a dummy commit (or a force push?) to retrigger the CI. Unfortunately rerunning doesn’t work as it picks up the original list. |
https://almanac.httparchive.org/en/2022/Changed custom metrics values: {
"_well-known": {
"/.well-known/assetlinks.json": {
"found": false
},
"/.well-known/apple-app-site-association": {
"found": false
},
"/.well-known/related-website-set.json": {
"found": false
},
"/.well-known/privacy-sandbox-attestations.json": {
"found": false
},
"/.well-known/gpc.json": {
"found": false
},
"/.well-known/web-identity": {
"found": false
},
"/.well-known/passkey-endpoints": {
"found": false
},
"/.well-known/webauthn": {
"found": false
},
"/robots.txt": {
"found": true,
"data": {
"matched_disallows": {}
}
},
"/.well-known/security.txt": {
"found": false,
"data": {
"status": 404,
"redirected": true,
"url": "https://almanac.httparchive.org/.well-known/security.txt/",
"content_type": "text/html; charset=utf-8"
}
},
"/.well-known/change-password": {
"found": false,
"data": {
"status": 404,
"redirected": true,
"url": "https://almanac.httparchive.org/.well-known/change-password/"
}
},
"/.well-known/agent-card.json": {
"found": false
},
"/.well-known/resource-that-should-not-exist-whose-status-code-should-not-be-200/": {
"found": false,
"data": {
"status": 404,
"redirected": false,
"url": "https://almanac.httparchive.org/.well-known/resource-that-should-not-exist-whose-status-code-should-not-be-200/"
}
}
}
} https://agent.ai-agent-bakeoff.comChanged custom metrics values: {
"_well-known": null
} https://www.mozilla.orgChanged custom metrics values: {
"_well-known": {
"/.well-known/assetlinks.json": {
"found": false
},
"/.well-known/apple-app-site-association": {
"found": true,
"data": {
"app_links": true,
"web_credentials": false
}
},
"/.well-known/related-website-set.json": {
"found": false
},
"/.well-known/privacy-sandbox-attestations.json": {
"found": false
},
"/.well-known/gpc.json": {
"found": true,
"data": {
"gpc": true
}
},
"/.well-known/web-identity": {
"found": false
},
"/.well-known/passkey-endpoints": {
"found": false
},
"/.well-known/webauthn": {
"found": false
},
"/robots.txt": {
"found": true,
"data": {
"matched_disallows": {}
}
},
"/.well-known/security.txt": {
"found": true,
"data": {
"status": 200,
"redirected": false,
"url": "https://www.mozilla.org/.well-known/security.txt",
"content_type": "text/plain",
"signed": false,
"other": [
[
"Email",
"security@mozilla.org"
],
[
"Main info",
"https://www.mozilla.org/en-US/security/"
],
[
"Bounty program",
"https://www.mozilla.org/en-US/security/bug-bounty/"
]
],
"all_required_exist": false,
"only_one_requirement_broken": false,
"valid": false
}
},
"/.well-known/change-password": {
"found": false,
"data": {
"status": 404,
"redirected": false,
"url": "https://www.mozilla.org/.well-known/change-password"
}
},
"/.well-known/agent-card.json": {
"found": false
},
"/.well-known/resource-that-should-not-exist-whose-status-code-should-not-be-200/": {
"found": false,
"data": {
"status": 404,
"redirected": false,
"url": "https://www.mozilla.org/.well-known/resource-that-should-not-exist-whose-status-code-should-not-be-200/"
}
}
}
} |
Urgh. Looks like because the site doesn’t return a 200 response we don’t bother running custom metrics on it 😔 |
I will try to find a different one with status 200. Let me check further. Thank you for your support. |
Description
This PR adds support for tracking and analyzing a critical file related to AI Agent discovery and communication:
/.well-known/agent-card.json
This file is central to the Agent2Agent (A2A) Protocol and serves as the agent's digital business card. It's used by clients to discover the agent's identity, capabilities, service endpoints, and security requirements. The changes ensure this file is fetched, parsed, and included in the HTTP Archive's custom metrics for analysis of emerging AI agent standards adoption.
Changes
parseResponse
call for/.well-known/agent-card.json
to track its presence, structure, and key metadata (e.g., agent name, version, and declared skills).Example Output
Agent Card (
/.well-known/agent-card.json
)Test websites: