A collection of AI agents built with Google's Agent Development Kit (ADK), demonstrating various agent architectures and capabilities.
This project showcases different agent architectures and their applications using Google's ADK:
- Multi-agent systems for tutoring and complex tasks
- Sequential processing for code generation and review
- Parallel agents for research and analysis
- Cloud-based translation and deployment services
Before running this project, ensure you have:
- A Google Cloud Platform account with billing enabled
- Google ADK access and API key
- Python 3.7 or higher installed
- Git installed on your system
- (Optional) OpenAI API key for enhanced capabilities
# Clone the repository
git clone https://github.com/yourusername/google_adk_dev.git
cd google_adk_dev
# Create and activate virtual environment (recommended)
python -m venv venv
# On Windows:
.\venv\Scripts\activate
# On Unix or MacOS:
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Set up your configuration (see Setup & Requirements section)
# Then run the main multi-agent tutor system:
streamlit run multi_agents_agents_as_tools.pyFor detailed setup instructions, see the Setup & Requirements section.
multi_agents_agents_as_tools.py- Tutor bot with Math, Spanish, and Search capabilitiesmulti-agents/multi_agents_subagents.py- Hybrid agent system with dynamic routing
sequential_agent.py- Code generation pipeline with auto-reviewresearch_parallel_agent.py- Parallel research processorloopagent.py- Document writing and improvement system
Translate_remote_agent.py- Multi-language translation servicedeploy_agent.py- Cloud deployment manageragent_management_cli.py- Agent management CLImulti_tool_agent/agent.py- Core agent utilities
- Python 3.7+
- Google Cloud Platform account
- OpenAI API access (optional)
- Google ADK (core framework)
- Vertex AI (cloud features)
- Google Search (research agent)
- OpenAI (optional, enhanced capabilities)
# Core Dependencies
google-cloud-aiplatform[adk,agent_engines]>=1.48.0
streamlit>=1.24.0
google-generativeai>=0.2.0
python-dotenv>=1.0.0
# Optional Components
openai>=1.0.0 # For GPT-4 integration
vertexai>=0.0.1 # For cloud deployment
nest_asyncio>=1.5.6 # For async operations- Create
.streamlit/secrets.toml:
GOOGLE_API_KEY = "your-google-api-key"
OPENAI_API_KEY = "your-openai-api-key" # Optional- For cloud features, set up GCP service account
- Specialized agents for Math, Spanish, and Search
- Real-time web search integration
- Content filtering and guardrails
- Dynamic agent configuration
- Code generation and review
- Research synthesis
- Document improvement
- Progress tracking
- Multi-language translation
- Remote deployment
- Agent management
- Resource optimization
- Core Framework: Google ADK
- Language Models: Gemini 2.0 Flash, GPT-4 (optional)
- Frontend: Streamlit
- Cloud Platform: Vertex AI
- Agent Types: Sequential, Parallel, Loop, LLM
- Secure API key management
- Session-based state management
- Input validation
- Content filtering
- Event logging
- Performance metrics
- Error handling
- Tool execution tracking
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the terms provided in the LICENSE file.