Skip to main content
AmigoFish

Voice Agent observability with LangSmith ๐ŸŒŸ

From Google for Developers ยท ยท 55 sec

The player loads from YouTube only when you click. It uses YouTube's privacy-enhanced mode.

If the video does not play, the owner may have turned off embedding. Watch it on YouTube instead.

Watch on YouTube

Not rated yet

Description

Caroline di Vittorio, Engineer at LangChain, builds a voice agent with the Google ADK and the Gemini Live model, then sets up tracing in LangSmith to see exactly what the agent is doing under the hood. Gemini Live is Google's native audio model. It's speech-to-speech, taking audio directly as input and producing audio as output without transcribing to text, which keeps latency low and makes the agent's voice sound natural and emotive.

What's covered: building a terminal-based weather assistant with two tools, defining the LangSmith Google ADK plugin, registering it on the runner, recording user and agent audio so the trace captures only what the user actually heard, and reading the full trace in LangSmith, including audio playback, transcripts, tool calls, interruption events, and token-level cost breakdowns.

Get started with the Gemini Live API. Grab an API key in Google AI Studio and start building.

Resources:

Gemini Live API docs โ†’ https://goo.gle/4hNqR0H Google ADK docs โ†’ https://goo.gle/4wc2rSf LangSmith docs โ†’ https://goo.gle/4xH0A9l

Subscribe to Google for Developers โ†’ https://goo.gle/developers

What are you building with Gemini Live? Drop it in the comments.

Speaker: Caroline di Vittorio, Products Mentioned: Google AI, Gemini

Back to Google for Developers ยท Report a problem