cs.AISep 28, 2026

LLMs for Executable Multi-Agent System Specification Generation

Authors: Andreas Kouvaras, Periklis Mantenoglou, Alexander Artikis

Organizations: University of Piraeus, Greece. · Örebro University, Sweden. · NCSR “Demokritos”, Greece.

Abstract

MAS specifications express the effects of the actions of the agents and their environment, as well as other temporal phenomena, such as the intervals during which an agent may perform an action. The specification of a MAS should also be executable in order to allow for run-time monitoring. Constructing the specification of a MAS requires formal language expertise, while machine learning techniques depend on labelled data which are rarely available. To address these issues, we propose genRTEC', a method that leverages pre-trained Large Language Models (LLMs) to generate executable MAS specifications, in the language of the Run-Time Event Calculus' (RTEC), from natural language descriptions. genRTEC constructs MAS specifications with complex hierarchical and cyclic dependencies based only on short natural language descriptions of the concepts involved. We present an extensive empirical evaluation of genRTEC, spanning various MAS specifications, including both a qualitative and a quantitative assessment. Our results demonstrate that genRTEC constructs executable MAS specifications of high predictive accuracy without compromising reasoning efficiency.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Translating Natural Language to Strategic Temporal Specifications via LLMs

    Jun 29, 2026Marco Aruta, Francesco Improta, Vadim Malvone +2Multi-Agent Large Language Model SystemsNatural Language

  2. RepoMAS: Solving Progressively Specified Tasks with Issue-Driven Multi-Agent Systems

    Sep 26, 2026Yuchen Song, Andong Chen, Wenxin Zhu +2Model-Based Multi-Agent SystemsOpen-Source

  3. MAS-Lab: A Specification-Driven Validation Framework for Reliable Multi-Agent Systems

    Jun 29, 2026Jordan Augé, Giovanna Carofiglio, Giulio Grassi +1Model-Based Multi-Agent SystemsAgentic Framework