A health resource assistant AI agent built using Google's Agent Development Kit (ADK) and Gemini API. The agent searches through a FAQ knowledge base to answer health-related questions about topics like free flu shots, Medicaid providers, mental health resources, and emergency services.
- FAQ knowledge base with categorized health information (general health, mental health, emergency services)
- MCP (Model Context Protocol) toolset integration for file search capabilities
- Interactive testing interface with conversation history
- Automated evaluation framework with scoring metrics
- Performance visualization and analysis
- Google Gemini API key
- Python packages:
google-adk,google-genai,mcp
-
Get your Gemini API key
- Create an API key at Google AI Studio
-
Install dependencies
pip install -q google-adk google-genai mcp
-
Configure authentication
- Set your API key as an environment variable
GOOGLE_API_KEY
- Set your API key as an environment variable
The notebook contains a complete implementation including:
- FAQ knowledge base creation with health resource information
- AI agent configuration using Google's Agent Development Kit
- Interactive testing interface for asking health-related questions
- Automated evaluation system with scoring metrics
- Creates
/tmp/faq-knowledge/faqsdirectory for FAQ storage - Implements categorized health FAQs (general health, mental health, emergency services)
- Uses MCP toolset for file search capabilities
- Includes performance evaluation and visualization
Licensed under the Apache License, Version 2.0