Usando o A2A Protocol Validator para Verificar o Suporte de Domínio ao A2A Protocol

Baseado no blog do A2A Protocol, aprendemos sobre os conceitos básicos do A2A Protocol e como desenvolver usando o A2A Protocol Python SDK.
Este artigo apresentará como usar o A2A Protocol Validator para verificar o A2A Protocol e visualizar o AgentCard para depuração conveniente:
- Verificar se um domínio específico suporta o A2A Protocol
- Visualizar o AgentCard
Para A2A Agents publicamente implantados, você pode inserir diretamente o domínio para verificação.
Como verificar A2A Agents executando localmente?
- Preparar o Agent
git clone https://github.com/sing1ee/a2a-python-currency.git
cd a2a-python-currency
uv run python main.py
Saída:
Installed 27 packages in 33ms
INFO: Started server process [61455]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://localhost:10000 (Press CTRL+C to quit)
Desta forma, o Currency Agent está executando localmente e acessível na porta 10000.
- Mapear o serviço do Agent local - Usando Cloudflare Zero Trust Consulte a documentação para instalação. Meu ambiente é Mac
brew install cloudflared
- Iniciar o proxy Zero Trust
cloudflared tunnel --url localhost:10000
Saída:
+--------------------------------------------------------------------------------------------+
2025-06-03T09:03:02Z INF | Your quick Tunnel has been created! Visit it at (it may take some time to be reachable): |
2025-06-03T09:03:02Z INF | https://sheriff-honor-undefined-relate.trycloudflare.com |
2025-06-03T09:03:02Z INF +--------------------------------------------------------------------------------------------+
https://sheriff-honor-undefined-relate.trycloudflare.com é o domínio temporário que pode acessar nosso serviço de Agent local.
Abrir o A2A Protocol Validator
Abra o A2A Protocol Validator, insira o domínio acima, e você pode verificar se o domínio suporta o A2A Protocol.
Através destes passos, você pode depurar rapidamente. No futuro, lançaremos um cliente online A2A para tornar a execução mais conveniente.
Related Articles
Explore more content related to this topic
A2UI Introduction - Declarative UI Protocol for Agent-Driven Interfaces
Discover A2UI, the declarative UI protocol that enables AI agents to generate rich, interactive user interfaces. Learn how A2UI works, who it's for, how to use it, and see real-world examples from Google Opal, Gemini Enterprise, and Flutter GenUI SDK.
Agent Gateway Protocol (AGP): Practical Tutorial and Specification
Learn the Agent Gateway Protocol (AGP): what it is, problems it solves, core spec (capability announcements, intent payloads, routing and error codes), routing algorithm, and how to run a working simulation.
Integrating A2A Protocol - Intelligent Agent Communication Solution for BeeAI Framework
Using A2A protocol instead of ACP is a better choice for BeeAI, reducing protocol fragmentation and improving ecosystem integration.
A2A vs ACP Protocol Comparison Analysis Report
A2A (Agent2Agent Protocol) and ACP (Agent Communication Protocol) represent two mainstream technical approaches in AI multi-agent system communication: 'cross-platform interoperability' and 'local/edge autonomy' respectively. A2A, with its powerful cross-vendor interconnection capabilities and rich task collaboration mechanisms, has become the preferred choice for cloud-based and distributed multi-agent scenarios; while ACP, with its low-latency, local-first, cloud-independent characteristics, is suitable for privacy-sensitive, bandwidth-constrained, or edge computing environments. Both protocols have their own focus in protocol design, ecosystem construction, and standardization governance, and are expected to further converge in openness in the future. Developers are advised to choose the most suitable protocol stack based on actual business needs.
A2A Inspector: A Deep Dive into Agent2Agent Communication Debugging
Learn about the A2A Inspector architecture and implementation - a powerful web-based tool that enables developers to connect to A2A agents, inspect agent cards, validate protocol compliance, and debug JSON-RPC communications in real-time.