NetConfArena: An Executable Benchmark for LLM Agents in Closed-Loop Network Configuration
Organizations: Department of Computer Science and Technology, Tsinghua University, Beijing, China
Abstract
Large language model (LLM) agents are increasingly attractive for automating network configuration, yet their reliability and failure patterns are poorly understood. An essential prerequisite is to assess such agents in a realistic but risk-free environment. Existing benchmarks, however, fall short: they often treat configuration as static command generation or rely on overly simplified settings. Such evaluations understate the core challenges of network configuration, where correctness requires reasoning about protocol complexity and topology dependence. We present NetConfArena, an executable benchmark for evaluating LLM agents in closed-loop network configuration. NetConfArena places agents in emulated multi-device networks, provides a standardized and compact action interface for task execution, and evaluates the resulting network behavior with hidden task-specific executable test cases. The benchmark relies on an LLM-assisted, emulation-grounded pipeline, which converts human-oriented network materials into reusable parameterized task templates. We evaluate representative LLM agents on 480 task instances instantiated from 96 protocol-focused task templates, yielding 3840 execution trajectories, and show that failures are not limited to command errors. The failures also reveal gaps in task-specification adherence and robust planning and execution. These findings suggest two future directions: using validated trajectories as supervision signals to improve foundation models, and designing harness mechanisms that make agent execution more reliable and accountable.
Figures & tables
| Benchmark | R1 | R2 | R3 |
|---|---|---|---|
| NetConfEval | ✗ | ◐ | ✗ |
| NetLLMBench | ✗ | ✗ | ◐ |
| NetArena | ✓ | ✗ | ◐ |
| NetConfArena | ✓ | ✓ | ✓ |
| Model | Think | Score | Pass rate | Cfg. F1 | Turns | Err. act. | Rep. act. | Limit | Early sub. | Corr. sub. | Err. sub. |
|---|---|---|---|---|---|---|---|---|---|---|---|
| qwen3-8B | ✗ | 0.337 | 0.046 | 0.508 | 18.26 | 0.455 | 0.496 | 0.833 | 0.000 | 0.046 | 0.121 |
| ✓ | 0.457 | 0.094 | 0.582 | 14.21 | 0.317 | 0.124 | 0.446 | 0.000 | 0.094 | 0.460 | |
| qwen3-32B | ✗ | 0.656 | 0.233 | 0.684 | 15.61 | 0.090 | 0.017 | 0.473 | 0.000 | 0.154 | 0.373 |
| ✓ | 0.728 | 0.421 | 0.682 | 10.88 | 0.139 | 0.020 | 0.208 | 0.013 | 0.379 | 0.400 | |
| deepseek-v4-flash | ✗ | 0.914 | 0.656 | 0.759 | 14.72 | 0.027 | 0.000 | 0.350 | 0.000 | 0.502 | 0.148 |
| ✓ | 0.933 | 0.794 | 0.739 | 14.42 | 0.038 | 0.001 | 0.246 | 0.000 | 0.675 | 0.079 |
| Field | Template-level content |
|---|---|
| Scenario | Defines the task category, e.g., BGP Local Preference and MED. |
| Goals | Specifies the natural-language intent with placeholders, including iBGP over loopbacks, eBGP sessions, loopback advertisement, reachability, MED-based inbound preference, and Local Preference-based outbound preference. |
| Topology model | Describes abstract nodes and links before rendering, including four routers and five logical links whose media are parameterized. |
| Startup configurations | Defines initial per-router configuration templates using placeholders for interfaces, loopbacks, link addresses, masks, and EIGRP networks. |
| Reference configurations | Defines reference configuration templates for BGP neighbors, update sources, advertised loopbacks, route maps, MED, and Local Preference. |
| Test cases | Defines diagnostic commands and expected structured outcomes for BGP sessions, route advertisements, path selection, and policy effects. |
| Intent | Device | Diagnostic command | Deterministic predicate |
|---|---|---|---|
| iBGP sessions use loopback endpoints inside AS100 | router4_name | show ip bgp neighbors | Output contains established AS100 neighbors for router2_loopback0_ip and router1_loopback0_ip , with the local endpoint equal to router4_loopback0_ip . |
| eBGP session between router2_name and router3_name | router2_name | show ip bgp neighbors | Neighbor link5_ip2 is established with remote AS 200 , local IP link5_ip1 , and remote IP link5_ip2 . |
| eBGP session between router1_name and router3_name | router1_name | show ip bgp neighbors | Neighbor link3_ip2 is established with remote AS 200 , local IP link3_ip1 , and remote IP link3_ip2 . |
| Full reachability to all loopback networks | router3_name | show ip bgp | BGP table contains router1_loopback0_network/24 , router2_loopback0_network/24 , router3_loopback0_network/24 , and router4_loopback0_network/24 . |
| MED policy is configured on AS100 eBGP exits | router1_name , router2_name | show route-map | Outbound route maps attached to link3_ip2 and link5_ip2 contain set metric clauses. |
| AS100-bound traffic prefers the router1_name – router3_name link | router3_name | show ip bgp | Best paths to AS100 loopback prefixes use next hop link3_ip1 , reflecting the lower MED advertised on the router1_name – router3_name eBGP session. |
| Category | Subcategory | Feature | # Templates | Evaluation Target |
| Static Routing | Basic Routing | Static, default, and floating routes | 1 | Route entries, next hops, AD-based failover, reachability |
| RIP | Fundamentals | RIPv2 unicast neighbors | 1 | Neighbor peering, passive interfaces, no multicast/broadcast updates |
| Policy and Route Control | Summarization, offset-list, distribute-list, prefix-list, ACL | 3 | Aggregation, filtering, metric manipulation, path preference | |
| OSPF | Fundamentals | Single-area operation, network statements, router ID, interface cost | 1 | Adjacency, route exchange, network-statement forms, cost |
| Areas and Route Control | Stub/NSSA areas, summarization, DR/BDR, reference bandwidth | 8 | Area behavior, LSA visibility, summary routes, election and metric outcomes | |
| Advanced Area Design | Virtual links, forward-address suppression, Type-7/5 translation | 4 | Backbone continuity, transit-area behavior, translator selection |
LLM Agent Evaluation
Large language model agent evaluation measures whether tool-using systems complete tasks reliably, safely, and efficiently.
See all 1,132 papers