The Function-as-a-Service (FaaS) serverless paradigm is increasingly popular, allowing users to focus on application development and abstracting away operational aspects (e.g., auto-scaling), which are automatically managed by the underlying platform. The advent of Large Language Models (LLMs) capable of code generation raises the question of whether FaaS can be extended further to abstract away the coding effort from users as well. Although recent studies have investigated the use of LLMs for function generation and deployment, they do not provide an end-to-end pipeline spanning from user requirements to function deployment. To fill this gap, this paper introduces a novel multi-agent system, Spec2FaaS, that autonomously turns natural language specifications into validated deployment on an open-source FaaS platform. Spec2FaaS decomposes development into specialized agents for code generation, test synthesis, execution, debugging, and deployment, enabling fully automated and self-correcting function development. Evaluated on the HumanEval+ benchmark, Spec2FaaS achieves competitive performance, demonstrating that fully autonomous, end-to-end serverless engineering is feasible and promising, with 90% of the functions successfully deployed and executed.

Lupini, M., Russo Russo, G., Cardellini, V. (2026). Spec2FaaS: using AI agents for autonomous serverless function development and deployment. In DEBS '26: proceedings of the 20th ACM International Conference on Distributed and Event-based Systems (pp.69-81). New York : ACM [10.1145/3809481.3812613].

Spec2FaaS: using AI agents for autonomous serverless function development and deployment

Lupini, Martina;Russo Russo, Gabriele;Cardellini, Valeria
2026-06-01

Abstract

The Function-as-a-Service (FaaS) serverless paradigm is increasingly popular, allowing users to focus on application development and abstracting away operational aspects (e.g., auto-scaling), which are automatically managed by the underlying platform. The advent of Large Language Models (LLMs) capable of code generation raises the question of whether FaaS can be extended further to abstract away the coding effort from users as well. Although recent studies have investigated the use of LLMs for function generation and deployment, they do not provide an end-to-end pipeline spanning from user requirements to function deployment. To fill this gap, this paper introduces a novel multi-agent system, Spec2FaaS, that autonomously turns natural language specifications into validated deployment on an open-source FaaS platform. Spec2FaaS decomposes development into specialized agents for code generation, test synthesis, execution, debugging, and deployment, enabling fully automated and self-correcting function development. Evaluated on the HumanEval+ benchmark, Spec2FaaS achieves competitive performance, demonstrating that fully autonomous, end-to-end serverless engineering is feasible and promising, with 90% of the functions successfully deployed and executed.
20th ACM International Conference on Distributed and Event-based Systems
Lisbon, Portugal
2026
20
ACM
Rilevanza internazionale
contributo
giu-2026
giu-2026
Settore IINF-05/A - Sistemi di elaborazione delle informazioni
English
Intervento a convegno
Lupini, M., Russo Russo, G., Cardellini, V. (2026). Spec2FaaS: using AI agents for autonomous serverless function development and deployment. In DEBS '26: proceedings of the 20th ACM International Conference on Distributed and Event-based Systems (pp.69-81). New York : ACM [10.1145/3809481.3812613].
Lupini, M; Russo Russo, G; Cardellini, V
File in questo prodotto:
File Dimensione Formato  
debs2026_Spec2FaaS.pdf

accesso aperto

Tipologia: Versione Editoriale (PDF)
Licenza: Creative commons
Dimensione 1.49 MB
Formato Adobe PDF
1.49 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2108/469245
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact