Skip to main content

Agent Development Kit

google.github.io

Install

Setup

Set the GOOGLE_API_KEY environment variable. Refer to Google’s ADK documentation for more details on authentication and environment variables.
Use the register function to connect your application to Phoenix.

Observe

Now that you have tracing setup, all Google ADK SDK requests will be streamed to Phoenix for observability and evaluation.

Agent Engine Deployment

When using Vertex AI Agent Engine for remote deployment, instrumentation must be configured within the remote agent module, not in the main application code.
When deployed to Agent Engine, the Vertex AI framework aggressively manages the OpenTelemetry global state. If Phoenix uses the global TracerProvider, Vertex AI will automatically shut down the Phoenix export pipeline during container initialization, resulting in dropped traces and warnings. To avoid this, Phoenix must use an isolated (non-global) provider. Main Application:
Agent Module (adk_agent.py):

Resources:

OpenInference Package

Google ADK documentation