Config But Verify! ReGeNet: A Reflective Multi-Agent Framework for Multimodal Intent-Based Networking

Aviram Zilberman, Rubin Krief, Abed Showgan, Andres Murillo, Ortal Lavi, Motoyoshi Sekiya, Beni Ifland, Asaf Shabtai, Yuval Elovici, Rami PuzisarXiv 2026

TL;DR

Managing enterprise computer networks usually requires manually translating whiteboard sketches and high-level requests into fragile, device-by-device command lines. ReGeNet is a multi-agent AI copilot that looks at network diagrams, reads existing configurations, and implements plain-English requests—using a second "verifier" agent to catch hallucinations and bad design choices before they cause outages. Strikingly, pairing a fast, lightweight AI with this verification loop matches the performance of costlier "reasoning" models, offering a blueprint for reliable, cost-effective infrastructure automation.

What Problem Does This Paper Address?

Keeping an enterprise network running is a high-stakes balancing act: a single typo in a router configuration or an overlooked port limit can take down operations or open security holes. To simplify this, Intent-Based Networking (IBN) aims to let engineers state what they want in plain English (e.g., "add three workstations to the lab") while automation handles how to configure the hardware.

Large Language Models (LLMs) seem tailor-made for IBN, yet two major hurdles block real-world adoption:

  1. Blindness to visual layouts: Most AI tools only read and write text configurations, ignoring the visual topology diagrams (whiteboard sketches, slides, emulator maps) engineers actually use to plan changes.
  2. Hallucinations: LLMs make confident mistakes. Traditional formal verification tools (like Batfish) can check rigorous syntax, after a configuration is fully written, but they can't look at a hand-drawn sketch or judge whether an AI misunderstood an ambiguous human request.

Methods

Extending an earlier system called GeNet, the authors introduce Reflective-GeNet (ReGeNet), which breaks network automation into a modular, multi-agent pipeline:

Fig. 1: Overview of ReGeNet: topology interpretation, iterative intent im- plementation with self-verification, and automatic evaluation of the updated network specification.
  • Topology Understanding Module: Uses a Vision-Language Model (VLLM) under strict prompt constraints to translate rasterized network images into a clean, standardized JSON list of nodes, icons, and interface links.
  • Reflective Intent Implementation Module (The Core Novelty): Built on Microsoft’s AutoGen, this pairs two collaborating agents. An Implementation Agent proposes edits to the JSON topology and Cisco CLI configurations. A Verification Agent independently reviews those changes against the original intent and design best practices. For example, if all switch ports are full and the implementer naively plugs new PCs straight into a core router, the verifier flags the design violation and instructs it to daisy-chain a new switch instead. They iterate until consensus.
  • Automatic LLM-Based Evaluation: A separate GPT-4o judge grades final outputs against expert-designed rubrics using chain-of-thought reasoning.

Datasets

Because ReGeNet prompts existing foundation models rather than training new ones, its datasets serve as evaluation benchmarks:

  • Original Dataset: 10 realistic Cisco scenarios adapted from GNS3Vault certification labs—5 focusing on configuration updates (e.g., firewalls, access lists) and 5 on structural topology changes (e.g., adding a DMZ).
  • Vision-Extended Dataset (New): Expands the 10 scenarios into 90 visual test cases across three formats (GNS3 screenshots, icon-free PowerPoint diagrams, and hand-drawn paper sketches) and three clarity levels (normal, missing edge labels, and messy/overlapping layouts).
Fig. 3: Normal - paper sketch example.
  • Topology@Scale Dataset (New): 14 connected topologies (10 to 750 nodes) derived from an 88-node enterprise bank network via subgraph sampling and synthetic hierarchical generation to test visual scaling limits.

Key Insights and Ideas

  • Verification and internal "reasoning" don't stack—they overlap: Adding an external verifier agent significantly boosts a standard, non-reasoning model (GPT-4.1-mini). However, adding that same verifier to a reasoning model (o4-mini) yields virtually zero gain (-0.19 points). Internal chain-of-thought and external self-reflection catch the same types of mistakes, meaning engineers can use a cheaper, faster model with an auditable verifier loop instead of paying a premium for heavy reasoning tokens.
  • Visual understanding hits a sharp "phase transition": As network diagrams grow, VLLMs process them smoothly up to a model-specific node limit—and then both accuracy and runtime suddenly plummet together. Rather than crashing with invalid JSON, the models appear to give up on component-by-component tracing and switch to coarse, global guessing.
  • Rogue "helpful" security: In ~6.6% of analyzed errors, the AI overrode explicit user instructions in the name of security—such as hashing a password when the prompt explicitly asked for plain text. In operations, an agent silently disobeying an operator is a dangerous control risk, highlighting the need for human approval gates.
  • Immediate pass = high confidence: Solutions approved by the verifier on the first try were significantly more accurate than those requiring repairs, offering a handy real-world signal for when to page a human engineer.

Key Results

  • Visual Parsing: Across 9 VLLMs, GPT-4.1-mini and o4-mini led the pack with >0.94 JSON edit-distance similarity (DL_Score), even on messy sketches, with GPT-4.1-mini using far fewer tokens. Conversely, Llama-3.2-11B failed to output valid JSON 84% of the time.
  • Scalability Limits: Visual accuracy stayed above 0.90 until hitting sharp drop-offs at ~150 nodes (o4-mini), ~200 nodes (GPT-4.1-mini), and ~500 nodes (Gemini-2.5-Flash).
  • Intent Implementation: On the 0–100 Intent Implementation Score (IIS), ReGeNet (GeNet+V) scored 88.25, beating the unverified baseline (87.26) and original GeNet (82.61). Given ground-truth topologies, ReGeNet (87.4) also outperformed SOTA baselines LLM-NetCFG (81.6) and NetConfEval (78.5).
  • Judge Alignment: The automated GPT-4o grader correlated strongly with human experts (Spearman $\rho = 0.847$).

Limitations and Future Work

The authors candidly note several boundaries to their claims:

  • No live execution: Generated CLI configs were graded by an LLM judge for plausibility—none were actually booted in a network emulator or verified with formal tools like Batfish. Furthermore, Judge noise accounted for 25% of apparent "degradations" during verification.
  • Single-ecosystem scope: Prompts and rubrics were developed on the same 10 Cisco-centric training scenarios, which are smaller and cleaner than multi-vendor production networks using modern NETCONF/YANG protocols.

Future work aims to build hybrid pipelines—pairing LLM agents for ambiguous intent alignment with formal verifiers like Batfish for mathematical guarantees—alongside cross-vendor testing and tiling large network diagrams into subgraphs to bypass the 500-node visual ceiling.

Summary updated

BibTeX
@misc{zilberman2026config,
  author = {Aviram Zilberman and Rubin Krief and Abed Showgan and Andres Murillo and Ortal Lavi and Motoyoshi Sekiya and Beni Ifland and Asaf Shabtai and Yuval Elovici and Rami Puzis},
  title = {{Config But Verify! ReGeNet: A Reflective Multi-Agent Framework for Multimodal Intent-Based Networking}},
  year = {2026},
  eprint = {2611.36629},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.36629},
}
Figure