Использование A2A Protocol Validator для проверки поддержки домена A2A Protocol

Основываясь на блоге A2A Protocol, мы изучили основные концепции A2A Protocol и способы разработки с использованием A2A Protocol Python SDK.
Эта статья представит, как использовать A2A Protocol Validator для проверки A2A Protocol и визуализации AgentCard для удобной отладки:
- Проверка поддержки A2A Protocol заданным доменом
- Визуализация AgentCard
Для публично развернутых A2A Agents вы можете напрямую ввести домен для проверки.
Как проверить локально запущенный A2A Agent?
- Подготовить Agent
git clone https://github.com/sing1ee/a2a-python-currency.git
cd a2a-python-currency
uv run python main.py
Вывод:
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)
Таким образом, Currency Agent запущен локально и доступен на порту 10000.
- Сопоставление локального сервиса Agent - Использование Cloudflare Zero Trust Обратитесь к документации для установки. Моя среда - Mac
brew install cloudflared
- Запуск прокси Zero Trust
cloudflared tunnel --url localhost:10000
Вывод:
+--------------------------------------------------------------------------------------------+
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 - это временный домен, который может получить доступ к нашему локальному сервису Agent.
Открыть A2A Protocol Validator
Откройте A2A Protocol Validator, введите указанный выше домен, и вы сможете проверить, поддерживает ли домен A2A Protocol.
Через эти шаги вы можете быстро отлаживать. В будущем мы запустим онлайн-клиент A2A, чтобы сделать выполнение более удобным.
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.