Intent-based Networking (IBN) is designed to streamline the complexities of network configuration and man- agement. Instead of focusing on the granular implementation details, IBN defines high-level objectives that describe the target state and behavior of the network. This paper proposes a Large Language Model-based approach to translate the declarative intent of users into python code. The approach designed and implemented is a novel framework with the objective of optimizing the network performance, producing operational python code for solving instances of routing and resource allocation problems, and it is able to modify network topology, also considering energy efficiency. The framework developed is inspired by ViperGPT, a software tool where vision-and-language models are split into subroutines to produce results for computer vision queries. More specifically, ViperGPT demonstrates how an LLM can generate and orchestrate Python code to call a predefined set of domain modules through an API, dynamically composing them into executable programs, a paradigm that we adapt to networking by defining an analogous API for intent translation. Validation of the proposed approach is provided, considering both the syntactical correctness and network effectiveness of the code produced. Finally, the human feedback is provided to test the strategies generated.
Intent-LLM: A Framework for Automated Network Configuration through Code Generation / Benedetta Picano, Lorenzo Seidenari, Romano Fantacci. - In: IEEE TRANSACTIONS ON COGNITIVE COMMUNICATIONS AND NETWORKING. - ISSN 2332-7731. - STAMPA. - (2026), pp. 1-14.
Intent-LLM: A Framework for Automated Network Configuration through Code Generation
Benedetta Picano
;Lorenzo Seidenari;Romano Fantacci
2026
Abstract
Intent-based Networking (IBN) is designed to streamline the complexities of network configuration and man- agement. Instead of focusing on the granular implementation details, IBN defines high-level objectives that describe the target state and behavior of the network. This paper proposes a Large Language Model-based approach to translate the declarative intent of users into python code. The approach designed and implemented is a novel framework with the objective of optimizing the network performance, producing operational python code for solving instances of routing and resource allocation problems, and it is able to modify network topology, also considering energy efficiency. The framework developed is inspired by ViperGPT, a software tool where vision-and-language models are split into subroutines to produce results for computer vision queries. More specifically, ViperGPT demonstrates how an LLM can generate and orchestrate Python code to call a predefined set of domain modules through an API, dynamically composing them into executable programs, a paradigm that we adapt to networking by defining an analogous API for intent translation. Validation of the proposed approach is provided, considering both the syntactical correctness and network effectiveness of the code produced. Finally, the human feedback is provided to test the strategies generated.I documenti in FLORE sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.



