A messaging-first, multi-agent tutor that teaches appliance-level energy concepts and actionable savings. Built with Google Antigravity and the Agent Development Kit (ADK).
- Primary: Agents for Good
- Secondary: Concierge
The system uses a multi-agent architecture with the following agents:
- AdvisorAgent: Generates educational content using Gemini.
- AnalyzerAgent: Analyzes appliance data for cost and power factor issues.
- ReporterAgent: Creates visual charts of energy usage.
- NotifierAgent: Formats and sends messages via Matrix.
- SessionAgent: Manages user session state.
-
Clone the repository:
git clone <repo_url> cd energy_tutor
-
Install dependencies:
pip install -r requirements.txt
-
Configure Environment: Create a
.envfile with the following:GEMINI_API_KEY=your_gemini_key MATRIX_USER=@your_user:matrix.org MATRIX_PASSWORD=your_password MATRIX_ROOM_ID=!your_room_id:matrix.org
-
Run the Demo:
python demo_push.py
The system includes offline scenarios to verify functionality.
- Scenarios:
src/data/samples/containsappliances.jsonandtariff_telangana.json. - Metrics: Latency, bill estimates, and action counts are logged.
Build and run with Docker:
docker build -t energy-tutor .
docker run --env-file .env energy-tutor