-
Notifications
You must be signed in to change notification settings - Fork 140
Labels
compatibilityIssue related to A2A compatibilityIssue related to A2A compatibility
Description
What happened?
Summary
The Agent Card HTTP response does not include Cache-Control, ETag, or Last-Modified caching headers, failing three caching-related requirements across all transports.
Requirement
- ID: CARD-CACHE-001, CARD-CACHE-002, CARD-CACHE-003
- Section: 2.1.1 — Agent Card Caching
- Level: SHOULD (CARD-CACHE-001, CARD-CACHE-002), MAY (CARD-CACHE-003)
- Spec: specification.md#211-agent-card
Specification
Servers SHOULD include standard HTTP caching headers (e.g.,
Cache-Control,ETag) in their Agent Card responses to allow clients to cache and revalidate efficiently. Servers MAY also include aLast-Modifiedheader.
Expected behavior
A compliant implementation should:
- Include a
Cache-Controlheader with amax-agedirective in the Agent Card response (CARD-CACHE-001) - Include an
ETagheader in the Agent Card response (CARD-CACHE-002) - Optionally include a
Last-Modifiedheader in the Agent Card response (CARD-CACHE-003)
Actual behavior
The Agent Card response at /.well-known/agent-card.json contains none of these caching headers:
< HTTP/1.1 200 OK
< content-type: application/json;charset=UTF-8
< content-length: ...
No Cache-Control, ETag, or Last-Modified headers are present.
Reproducer
# Fetch the agent card and inspect response headers
curl -si http://localhost:9999/.well-known/agent-card.json | head -20
# Check specifically for caching headers (all missing)
curl -si http://localhost:9999/.well-known/agent-card.json | grep -iE '^(cache-control|etag|last-modified):'TCK test
tests/compatibility/agent_card/test_agent_card_caching.py::TestAgentCardCacheControl::test_cache_control_presenttests/compatibility/agent_card/test_agent_card_caching.py::TestAgentCardCacheControl::test_cache_control_has_max_agetests/compatibility/agent_card/test_agent_card_caching.py::TestAgentCardETag::test_etag_presenttests/compatibility/agent_card/test_agent_card_caching.py::TestAgentCardLastModified::test_last_modified_present
Relevant log output
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
compatibilityIssue related to A2A compatibilityIssue related to A2A compatibility