← Back to Dashboard
🏆 TIER 2: MASTER BUILDER BATTLE

The AI Mayor

AI Builders Lab 🤝 Environmental Tech

Mission Briefing

The city of Tomorrowville is facing an energy crisis! Your goal is to build an AI Mayor agent that monitors simulated weather data and city power usage, and automatically redirects energy from solar farms to hospitals when storms hit.

Phase 1: The Environmental Data

First, we need to simulate the environment. Generate a JSON dataset representing the city's power grid over a 24-hour period, including weather conditions and solar output.

JSON output will appear here...

Phase 2: The AI Decision Engine

Now, architect the AI script. Ask Cursor/AI to write a Python script that loads the JSON data, evaluates the energy surplus/deficit, and prints the "Mayor's Actions" (e.g., turning on backup batteries).

AI code will appear here...

Victory Condition: Combine these two elements into a working prototype in Replit or your local IDE!

← Retreat