Grid-Agent: An LLM-Powered Multi-Agent System for Power Grid Control

Yan Zhang, Ahmad Mohammad Saber, Amr Youssef, Deepa Kundur · 2025

Read Grid-Agent: An LLM-Powered Multi-Agent System for Power Grid Control by Yan Zhang, Ahmad Mohammad Saber, Amr Youssef, Deepa Kundur (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2508-05702.txt.

Introduction

Yan Zhang and co-authors present Grid-Agent, a language model system that detects and fixes power grid violations, in a 2025 paper. Modern grids juggle rooftop solar, electric vehicles, and extreme weather. Cyberattacks add a further threat that can push the grid out of safe bounds. Human operators need faster, coordinated help.

Specialized agents divide the work inside the system. A planning agent drafts action sequences using power flow solvers. A validation agent tests each plan in a sandbox before it runs. Failed plans roll back safely. A multi-scale view of the network keeps the system scalable. Tests target violation detection and remedy under attack scenarios. Grid operators gain a cautious form of AI assistance.

Catalog record

CREATORYan Zhang, Ahmad Mohammad Saber, Amr Youssef, Deepa Kundur
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE43 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2508-05702

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Grid-Agent: An LLM-Powered Multi-Agent System for Power Grid Control Thanks: Yan Zhang, Ahmad Mohammad Saber, Amr Youssef, Deepa Kundur Abstract Modern power grids face unprecedented complexity from the increasing penetration of Distributed Energy Resources (DERs), the widespread adoption of Electric Vehicles (EVs), and the growing frequency of extreme weather events. This complexity challenges traditional approaches to grid planning, operation, and management. Traditional rule-based systems and numerical optimization approaches often struggle with the scale, dynamics, and adaptability required by modern power networks. This paper introduces Grid-Agent, an autonomous, AI-driven framework that combines Large Language Models (LLMs) within a multi-agent framework to detect and remediate grid violations. Grid-Agent integrates semantic reasoning with numerical precision through a modular agent architecture: a planning agent generates coordinated action sequences using numerical power flow solvers, while a validation agent evaluates system stability and action effectiveness via sandboxed execution with safety rollbacks. To ensure scalability, Grid-Agent incorporates an adaptive multi-scale network representation that dynamically selects optimal encoding schemes based on network size and complexity. The framework enables coordinated violation resolution through optimizing switch configurations, battery deployment, and load curtailment strategies. Experimental results in standard IEEE and CIGRE test systems (IEEE 69-bus, CIGRE MV, and IEEE 30-bus) demonstrate superior violation mitigation performance. Additionally, the framework’s built-in data collection and learning capabilities enable continuous learning and adaptation to diverse network topologies. The autonomous nature of the framework makes it particularly suitable for modern smart grid applications requiring rapid response to dynamic operating conditions. I Introduction Modern power grids face unprecedented challenges due to increased integration of renewable energy, electric vehicles (EVs), increasing frequency of extreme weather events, and aging infrastructure. These factors demand optimization strategies that are not only intelligent and responsive, but also adaptable to highly dynamic and uncertain operating conditions, especially as grid failures and blackouts have been estimated to cost the U.S. economy over $150 billion annually [ 1 ] . Traditional power system optimization methods are based on fixed rule-based logic and deterministic numerical algorithms, often fall short in their ability to generalize, interpret contextual information, or reason semantically—capabilities that are essential for managing the complexity of real-world grid scenarios. The emergence of Large Language Models (LLMs) presents transformative opportunities for power system applications by enabling the integration of natural language reasoning with numerical precision. Recent advancements in LLM-based multi-agent systems have demonstrated impressive capabilities in solving complex, multi-faceted problems across various domains [ 2 ] [ 3 ] . However, their application to mission-critical infrastructures such as electric power grids remains largely unexplored. This paper introduces Grid-Agent, an autonomous, AI-driven framework conceived as an exploration into how LLMs can be applied to power system control, rather than as a finalized, production-ready solution. The primary goal is to push the boundaries of what LLMs and multi-agent systems might bring to future smart grid operations by demonstrating a novel methodology for autonomous grid management. Consequently, this work prioritizes the exploration of agentic reasoning, coordinated planning, and semantic interpretation over the formal optimality of the resulting control actions. The focus is on demonstrating a paradigm where Grid-Agent can interpret network topology, detect electrical violations, and formulate remediation strategies by integrating semantic understanding with domain-specific analysis tools. The key contributions of this work include: • Multi-Agent architecture . We introduce a multi-agent framework that integrates LLM-based planning with numerical validation, enabling autonomous grid violation detection and remediation without human intervention. • Adaptive Multi-scale Representation . A dynamic encoding scheme was developed that automatically adjusts network representation granularity based on system size and complexity, ensuring scalability from micro-grids to large distribution networks. • Coordinated Action Optimization . A coordinated violation resolution framework that optimizes multi-violation solutions through topology reconfiguration, battery deployment, and demand response that minimize the number of control actions while maximizing violation resolution effectiveness. • Comprehensive Experimental Validation . The framework’s performance was validated on standard IEEE and CIGRE test systems, showing superior violation mitigation. • Continuous Learning Capability . A training data generation framework that creates high-quality datasets in multiple formats for LLM fine-tuning to enable the system to learn from operational experience, ensuring its performance improves and adapts over time. The remainder of this paper is organized as follows: Section II reviews related work in power systems optimization and LLM-based multi-agent systems. Section III formulates the power grid violation resolution problem. Section IV presents the Grid-Agent system architecture and methodology. Section V describes the experimental setup and validation. Section VI discusses results and future works. Section VII concludes the achievements. II Related Work II-A Power Systems Optimization Traditional power system optimization has progressed from manual control to sophisticated automated frameworks. Classical methods, such as Optimal Power Flow (OPF) [ 4 ] , [ 5 ] , have been widely applied to objectives like peak shaving, cost/loss minimization, and violation mitigation. While mathematically robust, these approaches often face convergence issues due to the complexity of modern grids, which incorporate high levels of distributed renewable energy, highly variable loads, and numerous discrete controllable assets such as switches and tap changers. These factors result in a mixed-integer, non-convex, nonlinear, and unbalanced AC optimal powerflow problem, which is NP-hard and computationally intensive to solve. Furthermore, their rigid mathematical structure makes it difficult to incorporate heuristic operator knowledge or adapt to unforeseen event types. Furthermore, these approaches often address isolated tasks and lack a unified framework for holistic, system-level optimization and control. This highlights the need for a system that can integrate high-level strategic reasoning with precise numerical validation, a core principle of our proposed Grid-Agent framework. Recent advances in artificial intelligence (AI) have brought machine learning techniques into power systems, with promising results in tasks such as load forecasting [ 6 ] , renewable generation prediction [ 7 ] , and fault detection [ 8 ] . However, these approaches generally address isolated tasks and lack a unified framework for holistic, system-level optimization and control. II-B Large Language Models in Engineering Applications The application of LLMs to engineering domains has gained significant attention following the success of models like GPT-4 and Claude. Recent work has explored LLM applications in software engineering [ 9 ] , materials science [ 10 ] , and system design [ 11 ] . In the energy sector, preliminary investigations have examined LLMs for grid analytics [ 12 ] , energy trading [ 13 ] , and demand response optimization [ 14 ] . However, these applications primarily focus on data analysis and prediction rather than direct system control and optimization. This leaves a critical gap in utilizing LLM reasoning for active, real-time control and optimization in critical infrastructure, which is the primary focus of our work. II-C Multi-Agent Systems with LLMs The integration of LLMs with multi-agent systems is an emerging and rapidly advancing area of research. Recent studies have demonstrated the potential of LLM-based multi-agent frameworks in domains such as software engineering [ 15 ] , automated scientific research [ 16 ] , and collaborative problem-solving [ 17 ] . These systems leverage the reasoning capabilities of LLMs while maintaining structured workflows and state management. However, the application of LLM-based multi-agent systems to critical infrastructure domains like power grids presents unique challenges including safety requirements, real-time constraints, and the need for explainable decisions

Read the complete text