A2A Protocol ValidatorでドメインのA2A Protocolサポートを検証する方法

A2A Protocolブログに基づいて、A2A Protocolの基本概念とA2A Protocol Python SDKを使用した開発方法を学びました。
この記事では、A2A Protocol Validatorを使用してA2A Protocolを検証し、AgentCardを可視化して便利なデバッグを行う方法を紹介します:
- 指定されたドメインがA2A Protocolをサポートしているかどうかを検証
- AgentCardの可視化
公開デプロイされたA2A Agentの場合、ドメインを直接入力して検証できます。
ローカルで実行されている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.
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.
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.