Install#
Setup#
Set the GEMINI_API_KEY environment variable. To use the Gen AI SDK with Vertex AI instead of the Developer API, refer to Google’s guide on setting the required environment variables.
Connect your application to Phoenix with the register function:
Observe#
Now that you have tracing setup, all Gen AI SDK requests will be streamed to Phoenix for observability and evaluation.
Info
This instrumentation will support tool calling soon. Refer to this page for the status.

