Towards Semantic Microservice Interoperability Using LLMs in 6G Networks

Authors:

Abstract
The emergence of 6G networks marks a shift toward Artificial Intelligence (AI)-native, intelligent, and highly dynamic communication environments where services must interoperate seamlessly across heterogeneous platforms and contexts. However, the current microservice architectures rely on rigid, predefined Application Programming Interfaces (APIs) that hinder scalability, adaptability, and resilience in rapidly evolving ecosystems. We propose a novel framework that leverages Large Language Models (LLMs) as mediators between microservices to enable flexible, semantic, and self-adaptive interfaces. By abstracting and interpreting input-output requirements in natural or structured language, LLMs can dynamically align mismatched service interfaces, adapt to schema changes, and facilitate plugand-play integration without manual reprogramming. Simulations in multi-vendor scenarios demonstrate 0 % fault rates for top-performing LLMs and up to 76.55 % accuracy in mapping queries to 6G use cases, showcasing enhanced decoupling and resilience using the proposed scheme.