adk-a2a

vladkol
2
ADK to A2A relay sample: expose your ADK Agent as an A2A Server
#a2a #a2a-protocol #adk #agents

Overview

What is adk-a2a

adk-a2a is a lightweight relay server that exposes Agent Development Kit (ADK) agents as Agent2Agent (A2A) compliant services, enabling communication within an A2A ecosystem using the standard A2A protocol.

How to Use

To use adk-a2a, copy the .env-sample file to .env, specify your Google Cloud Project ID in the GOOGLE_CLOUD_PROJECT variable, and run your ADK agent using the command: python3 -m adk_a2a samples/adk_agents/dice_roll. You can replace the last argument with your own ADK agent's directory.

Key Features

Key features include seamless protocol bridging, dynamic agent loading without code modification, full streaming support, automatic type conversion between A2A and Google GenAI formats, function call forwarding, artifact handling, automatic agent card generation, and a simple CLI interface.

Where to Use

adk-a2a can be used in various fields such as AI development, real-time data processing, and interactive applications where ADK agents need to communicate with A2A services.

Use Cases

Use cases for adk-a2a include integrating ADK agents into A2A ecosystems for enhanced inter-agent communication, enabling real-time data streaming applications, and facilitating advanced tool use cases through structured A2A artifacts.

Content