cs.SEFeb 28, 2026

TopoEdge: Topology-Grounded Agentic Framework for Edge Networking Code Generation and Repair

Authors: Haomin Qi, Bohan Liu, Zihan Dai, Yunkai Gao

Organizations: University of California San Diego, La Jolla, CA, USA · The Chinese University of Hong Kong, Hong Kong SAR · University of Copenhagen, Copenhagen, Denmark · Duke University, Durham, NC, USA

Abstract

TopoEdge is a topology-grounded, edge-deployable framework for end-to-end software-defined networking (SDN) configuration generation and repair, motivated by the brittleness of configuration artefacts under topology variation and by strict operational constraints on latency, privacy, and on-site execution. TopoEdge represents each target topology as a router-level graph and embeds it using a contrastively trained graph neural network (GNN), enabling nearest-neighbour retrieval of a verified reference configuration paired with an executable Python driver (a Topotest/pytest test script that orchestrates the emulated network and checks protocol assertions). The target topology, retrieved reference topology, and reference driver are assembled into a topology-grounded retrieval-augmented generation context (TopoRAG), which grounds a distributed, execution-centric generate--verify--repair loop coordinated by a central controller and realised by three role-specialised agents: (i) a Planning agent that produces a topology-consistent configuration plan and a per-device skeleton; (ii) a Generation agent that materialises executable configuration artefacts, including device configurations and the driver; and (iii) a Verification agent that runs the FRRouting Topotest/pytest harness, compresses failures into a compact trace, and emits localised patch directives for iterative repair.

Figures & tables

Explore similar work

CardsList
  1. TopoIntent: Compiling Security Intent into Executable, Compliance-Checked Network Topologies

    Aug 13, 2026Xiaokang Qu, Jianliang Ma, Zao Fan +3Cybersecurity

  2. An LLM-Based Framework for Intent-Driven Network Topology Design

    Jul 1, 2026Kholoud El-Habbouli, Fen Zhou, Stephane HuetLLM EvaluationGraph Generation

  3. Evaluating Agentic Configuration Repair for Computer Networks

    Jun 4, 2026Rufat Asadli, Benjamin Hoffman, Ioannis Protogeros +1LLM Agent EvaluationAI Agent Benchmarks