This project demonstrates the implementation of a custom agent using Google's Agent Development Kit (ADK). The agent is designed to handle queries about family members, including checking names and their genders.
- Python 3.x
- Google Agent Development Kit (ADK)
- Google Gemini 2.0 Flash Model
- FastAPI (used by ADK for the web interface)
multi_tool_agent/agent.py- Main agent implementation with name and gender checking functionality__init__.py- Package initialization.env- Environment configuration file
-
Install Google ADK:
pip install google-adk
-
Configure Environment Variables:
- Create a
.envfile in your project's root directory - Add your Google API key:
GOOGLE_GENAI_USE_VERTEXAI=False GOOGLE_API_KEY=your-api-key-here
- Create a
-
Run the Agent:
adk web
This will start the ADK web server at http://localhost:8000
- Name availability checking
- Gender identification for family members
- Interactive web interface
- Real-time response generation using Google's Gemini model
Here are the screenshots demonstrating the agent's functionality:
- Start the server using
adk web - Open your browser and navigate to http://localhost:8000
- Start a new conversation with the agent
- You can ask questions like:
- "Is [name] available?"
- "What gender is [name]?"
- "Can you check if [name] exists?"
Make sure to keep your API keys secure and never commit them directly to version control. The .env file should be added to your .gitignore.

