Validate from URL¶
Validate an agent card hosted at a URL without downloading it first.
Problem¶
You want to validate an agent card that's hosted remotely, such as:
- An agent in production at any URL (e.g.,
https://agent.example.com/agent-card.json,https://api.example.com/agents/my-agent) - A colleague's staging environment
- A third-party agent you're considering integrating with
Solution¶
With Live Endpoint Testing¶
Add --test-live to also check if the agent's endpoint responds correctly:
How It Works¶
- The CLI fetches the agent card from the URL
- Validates the JSON structure against the A2A schema
- Checks all required and recommended fields
- (With
--test-live) Makes a test request to the agent's declared endpoint
Common Issues¶
Certificate errors
If you get SSL certificate errors:
Timeout errors
For slow endpoints, increase the timeout:
See Also¶
- Bulk Validation — Validate multiple URLs at once
- Custom Timeout — Handle slow endpoints
- Troubleshooting — Common issues and fixes