langchain-ai

Google Adk Realtime Deepagents Example — Development skill for Claude Code

Development community

Example realtime voice agent built with Google ADK and deepagents.

How to install Google Adk Realtime Deepagents Example

This entry records only its repository, not the path inside it, so there is no exact command to give. Open langchain-ai/google-adk-realtime-deepagents-example and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Google Adk Realtime Deepagents Example does

Example realtime voice agent built with Google ADK and deepagents.

Alternatives in Development

  • Claude Code Examples — Official example projects and patterns from Anthropic 35.6k ★
  • Deepagents — The batteries-included agent harness 31.6k ★
  • Happy — Mobile and Web client for Claude Code, with realtime voice, encryption and fully featured 16.3k ★

README

🎙️ Real-time Voice Research Agent — Google ADK × Gemini Live × deepagents

A small, hackable demo of a **real-time voice agent**:

  • Google ADK runs a bidirectional Gemini Live API session (gemini-3.1-flash-live-preview) — you talk, it talks back, with barge-in.
  • When you ask something that needs real research, the voice agent calls a LangChain deepagents tool that plans, runs multiple Tavily web searches, and writes a report.
  • The voice model then narrates the answer conversationally.
  • Every research run is traced to LangSmith so you can replay each plan step, search, and sub-agent call.
 ┌─────────┐  16kHz PCM   ┌──────────────┐  run_live()  ┌──────────────┐
 │ Browser │ ───────────▶ │  FastAPI WS  │ ───────────▶ │  Gemini Live │
 │ mic/spkr│ ◀─────────── │   (ADK)      │ ◀─────────── │  (ADK agent) │
 └─────────┘  24kHz PCM   └──────────────┘   events     └──────┬───────┘
                                                                │ tool call
                                                         ┌──────▼───────┐
                                                         │ deep_research│  ← deepagents
                                                         │  + Tavily    │
                                                         └──────────────┘

Project layout

app/
  main.py            FastAPI WebSocket server; bridges browser audio <-> Gemini Live
  voice_agent.py     The ADK root agent (Gemini Live model + deep_research tool)
  research_agent.py  LangChain deep agent (planning + Tavily search), exposed as a tool
  config.py          Env/config and audio constants
static/
  index.html         Minimal UI with live captions
  app.js             Mic capture, WS transport, playback
  pcm-recorder-processor.js   AudioWorklet: mic -> Float32 frames
  pcm-player-processor.js