Skip to content
Preprint

VeraGrid-Agent: Tool-Augmented LLMs for Distribution Optimal Power Flow at the Grid Edge

Jul 2026 · 0 citations · 18 references
Engineering Computer Science

TL;DR

This work presents VeraGrid-Agent, a tool-augmented LLM that autonomously writes the simulator input, executes the open-source VeraGrid solver, and reads the solver output before answering, and does a failure-mode analysis to show that the few remaining errors arise from wrong interpretations during multi-step reasoning, rather than any failure in the simulators execution.

Abstract

Language models have demonstrated remarkable success in solving a wide range of tasks. However, answering complex scientific questions about the power flow often requires solving the distribution optimal power flow (D-OPF) problem. These questions call for numerical solvers and simulators, as linguistic reasoning from parametric knowledge often gives incorrect answers. In this work, we present VeraGrid-Agent, a tool-augmented LLM that autonomously writes the simulator input, executes the open-source VeraGrid solver, and reads the solver output before answering. To evaluate performance, we introduce VeraGrid-MCQ-150, a set of deterministic, expert template driven, $150$ multiple-choice questions. We evaluate the performance under two regimes: (i) no-tool reasoning and (ii) agent (LLM with simulator access). Without tools, every model performs with an accuracy of $42.7\%$--$49.3\%$. However, with VeraGrid-Agent, accuracy increases to $97.3\%$--$100.0\%$. We also do a failure-mode analysis to show that the few remaining errors arise from wrong interpretations during multi-step reasoning, rather than any failure in the simulators execution.

View source

Similar papers

Review Jul 2026

LLMs and Agentic AI Systems for Smart Grids: A Tutorial on Architectures and Applications

A solver-grounded design principle is presented: a numerical result is reported only when it originates from a trusted tool and passes explicit verification, and a four-group evaluation framework spanning task utility, solver-grounded correctness, faithfulness and safe failure, and cost and latency is proposed.

Daniel Rojas, Abdulwahab Albassam, Aidan G. Leung et al. · 0 citations
Preprint Aug 2026

CEDAR: Agent-Orchestrated Tree Search for Goal-Directed Optimization of Complex Systems

Complex systems, core objects of study in artificial life, model diverse phenomena through nonlinear, feedback-driven interactions that produce emergent behavior, with applications from population dynamics and biology to economic policy and strategic decision-making. Yet the difficulty of predicting how feedback structure gives rise to emergent behavior, a central open problem in artificial life, makes goal-directed design exceptionally challenging. In established practice, system structures are written in specialized modeling languages such as DYNAMO or STELLA, compounding the challenge with labor-intensive workflows that limit adoption and hinder timely decision-making. To address these challenges, we introduce CEDAR, an autonomous method that uses Large Language Model (LLM) agents to discover complex systems satisfying user-specified behavioral goals. Our key innovation is an LLM-driven Monte Carlo Tree Search (MCTS) deeply coupled with complex systems: at each iteration, an LLM Judge evaluates emergent behavior against specified goals and an LLM Editor proposes improved variants, with the Judge acting as a fitness function and the Editor as a variation operator, akin to a generate-and-evaluate loop in evolutionary computation. We represent complex systems as a restricted, runnable subset of Python with domain-specific primitives, letting LLMs modify system dynamics directly. CEDAR formalizes this as an MCTS variant with an LLM-parameterized transition kernel and value function, enabling goal-directed discovery of complex system behaviors while preserving solution diversity, and its LLM-based interpretability reveals how structural changes drive emergent behavior. CEDAR reduces human effort while enabling capabilities difficult to achieve with existing approaches, facilitating broader adoption of complex systems across domains.

Yingtao Tian · 0 citations
Book Open access Jul 2026

ScholForge: A Multi-Agent LLM System for Autonomous Software Engineering Research

A ScholForge - hierarchical multi-agent LLM system that tackles end-to-end software engineering research end-to-end, with a natural-language research goal, and produces working code, experimental results, and a compiled manuscript without human intervention.

A. Stepin, Boris Tolstokulakov, V. Kulikov et al. · 0 citations
Book Open access Aug 2026

DualLane: Fast and Reliable LLM Agents for Interactive AIOps via Dual-Path Planning

DualLane, a novel parallel dual-path planning architecture designed for AI agents, adaptively manages the highly skewed frequency distribution characteristic of real-world user queries and underscores the practical viability and effectiveness of adaptive dual-path planning in large-scale, interactive AIOps systems.

Haoyu Wang, Wenxuan Ma, Bing Hu et al. · 0 citations