概览
What is Google ADK Speaker Agent with ElevenLabs?
Google ADK Speaker Agent with ElevenLabs is a Text-to-Speech (TTS) speaker agent built using Google’s Agent Development Kit (ADK) and the ElevenLabs MCP server. It connects to ElevenLabs via uvx to provide text-to-speech capabilities for developers building voice-enabled applications.
How to use Google ADK Speaker Agent with ElevenLabs?
Install dependencies (Python 3.11+), set your ElevenLabs and Google Gemini API keys in a .env file, activate a virtual environment, and navigate to the agents/ directory. Then run adk web to start the web client – the agent only supports async execution through this interface.
Key features of Google ADK Speaker Agent with ElevenLabs
- Built with Google ADK and ElevenLabs MCP server
- Connects via
uvxfor seamless TTS integration - Requires Python 3.11 or higher
- Runs as an async agent through the web client
- Simple project structure with minimal setup
Use cases of Google ADK Speaker Agent with ElevenLabs
- Convert user text input into spoken audio using ElevenLabs voices
- Integrate TTS capabilities into a Google ADK‑based agent workflow
- Build voice‑enabled applications (e.g., interactive assistants, narrators)
- Serve as a reference architecture for combining ADK with external MCP servers
FAQ from Google ADK Speaker Agent with ElevenLabs
What are the prerequisites for using this agent?
You need Python 3.11+, an ElevenLabs API key, a Google Gemini API key, and Google ADK installed.
How do I run the agent?
Activate your virtual environment, go to the agents/ directory, and run adk web. The agent is only executable as an async agent through the web client.
What environment variables are required?
A .env file in the root directory must contain ELEVENLABS_API_KEY and GOOGLE_API_KEY.
What should I do if I encounter issues?
Ensure your virtual environment is active, verify API keys are correctly set in .env, confirm all dependencies are installed, and check that you are running the command from the correct directory.
Where can I find additional documentation?
Refer to the Google ADK documentation, ElevenLabs documentation, and uvx documentation for further details.