A multi-functional information retrieval agent built with Google's Agent Development Kit (ADK) that provides access to multiple information sources through a unified interface.
- Web Search: Search the internet for general information, weather, and news
- Tech News: Get the latest posts from Hacker News and trending GitHub repositories
- Education News: Access the latest news, press releases, and memoranda from the Department of Education (DepEd)
- Unified Interface: Ask questions naturally and the agent will route to the appropriate specialized agent
- Python
- Google Gemini API Key
- Install ADK and helper libraries:
pip install google-adk
pip install requests beautifulsoup4
- Set up your credentials:
- Create a
.env
file in the info_hub_agent directory. Replace the
GOOGLE_GENAI_USE_VERTEXAI="False" GOOGLE_API_KEY="AIzaSyD......"
- Create a
- Start the Web UI:
adk web
-
Access the interface:
- Visit http://localhost:8000/ in your browser
-
Example queries:
- "What's the latest tech news?"
- "Show me trending GitHub repositories"
- "What are the recent DepEd memoranda?"
- "What's the weather in Manila today?"
- "Tell me about the latest education initiatives in the Philippines"
This agent uses a coordinator pattern with specialized sub-agents:
- Information Coordinator: Routes requests to the appropriate specialized agent
- Search Assistant: Handles general web searches using Google Search
- HackerNews Agent: Retrieves tech news from Hacker News and GitHub trending repositories
- DepEd Agent: Fetches and parses news from the Department of Education RSS feed
Built with Google Agent Development Kit (ADK), an open-source toolkit for building AI agents.