AgentCard Validation
Agent Explorer validates AgentCards against the A2A specification and reports both errors and warnings.
Validation Levels
Errors
Errors indicate invalid AgentCards that violate the spec:
- Missing required fields (
name,url,version) - Invalid field types
- Malformed JSON
- Empty or invalid skills array
Warnings
Warnings highlight potential issues:
- Missing recommended fields (
description,skills) - Empty capabilities object
- Missing input/output modes
- Deprecated fields
Validation Process
When you create or refresh a project:
- Agent Explorer fetches the AgentCard from
{base-url}/.well-known/agent-card.json - The JSON is parsed and validated against the A2A Zod schema
- Errors and warnings are surfaced in the project overview
- The AgentCard details are displayed in a structured view
Viewing Validation Results
In the project overview:
- Look for the validation status badge (green check or red error count)
- Expand the validation details panel
- Review any errors or warnings with descriptions
Common Issues
CORS Errors
If the AgentCard cannot be fetched, you may see a CORS error. Solutions:
- Ensure the agent allows cross-origin requests from your Agent Explorer origin
- Use the Proxy API (
/api/proxy) to route the request server-side
Invalid JSON
Check for syntax errors, ensure UTF-8 encoding, and validate with a JSON linter.
Missing Capabilities
While not an error, missing capabilities mean streaming, push notifications, and state history won't be available.