How 1willshine/energy-intelligence-agent works
GridEdge Intelligence is a Streamlit energy-market intelligence platform. Its main workflow collects electricity, weather, gas, generation-mix, and news data; the app combines live signals with price forecasts and presents market analysis and procurement guidance. A separate real-time manager bootstraps and refreshes cached market data. AI-generated explanations are distinct from the quantitative risk decision. The README is empty, so capabilities are inferred from the sampled source; some app-to-subsystem calls and storage details are not visible and are shown only where documented or left unlinked.
Main entry points: app.py Market dashboard · pipeline.py Historical data fetch · realtime.py Realtime data manager · model.py Price forecasting
Components 12
Market experience
- Market dashboard
app.py
Market data
- Historical data fetch
pipeline.py
Forecasts and decisions
- Price forecasting
forecasting/model.py - Risk decisions
models.py
Real-time ingestion
- Realtime data manager
ingestion/realtime.py - Local parquet cache
ingestion/realtime.py
Other components
- Energy analyst
- AI providers
- CAISO OASIS
- Open-Meteo
- EIA
- NewsAPI
Connections 14
- Energy analyst → Market dashboard: uses dashboard
app.py - Market dashboard → Historical data fetch: fetches market data
app.py - Historical data fetch → CAISO OASIS: fetches prices
pipeline.py - Historical data fetch → Open-Meteo: fetches weather
pipeline.py - Historical data fetch → EIA: fetches gas data
pipeline.py - Historical data fetch → NewsAPI: fetches headlines
pipeline.py - Market dashboard → Price forecasting: builds price prediction
app.py - Market dashboard → Risk decisions
app.py - Market dashboard → AI providers: requests explanations
app.py - Market dashboard → Realtime data manager
app.py - Realtime data manager → CAISO OASIS: polls prices
ingestion/realtime.py - Realtime data manager → Open-Meteo: fetches weather
ingestion/realtime.py - Realtime data manager → EIA: fetches gas data
ingestion/realtime.py - Realtime data manager → Local parquet cache: caches market data
ingestion/realtime.py