Search papers, labs, and topics across Lattice.
EcoAssist, an IDE-integrated AI assistant, was developed to analyze and optimize the energy footprint of AI-generated frontend code. By estimating energy consumption and suggesting targeted optimizations, EcoAssist bridges the gap between energy-focused research and practical coding workflows. Benchmarks across 500 websites and a user study with 20 developers demonstrated that EcoAssist reduced per-website energy consumption by 13-16% while maintaining developer productivity and increasing awareness of energy use.
AI coding assistants can cut website energy use by 13-16% without sacrificing developer productivity, simply by integrating energy-aware analysis and optimization directly into the IDE.
Frontend code, replicated across millions of page views, consumes significant energy and contributes directly to digital emissions. Yet current AI coding assistants, such as GitHub Copilot and Amazon CodeWhisperer, emphasize developer speed and convenience, with energy impact not yet a primary focus. At the same time, existing energy-focused guidelines and metrics have seen limited adoption among practitioners, leaving a gap between research and everyday coding practice. To address this gap, we introduce EcoAssist, an energy-aware assistant integrated into an IDE that analyzes AI-generated frontend code, estimates its energy footprint, and proposes targeted optimizations. We evaluated EcoAssist through benchmarks of 500 websites and a controlled study with 20 developers. Results show that EcoAssist reduced per-website energy by 13-16% on average, increased developers'awareness of energy use, and maintained developer productivity. This work demonstrates how energy considerations can be embedded directly into AI-assisted coding workflows, supporting developers as they engage with energy implications through actionable feedback.