Multi-agent systems (MAS) offer a scalable path forward for agentic AI, comprising multiple LLM-based agents, each assigned a system prompt and a position within a workflow that governs inter-agent coordination and output aggregation. System prompts thus form a critical and accessible optimization surface: they specify agents' roles and behaviors, enabling system-level improvements without model finetuning. Although prompt optimization has shown substantial potential for single LLMs, extending it to MAS poses distinct challenges, notably an exponentially growing search space. It remains unclear whether, when, and by how much prompt optimization improves MAS performance, and how sensitive such gains are to system configuration. In this work, we systematically study system-prompt optimization across a broad range of MAS setups varying in task, workflow, communication protocol, and team size, benchmarking two prompt optimizers that naturally extend state-of-the-art single-agent methods. The results reveal its potential to unlock significant gains while exposing open challenges, characterizing when and how much prompt optimization helps across diverse MAS settings.
PromptBench: A Unified Library for Evaluation of Large Language Models
Microsoft Research Asia(微软亚洲研究院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Science and Technology of China(中国科学技术大学);Carnegie Mellon University(卡内基梅隆大学)
Design Patterns for Securing LLM Agents against Prompt Injections
Invariant Labs;IBM;EPFL(苏黎世联邦理工学院);ETH Zurich(苏黎世联邦理工学院);Swisscom(瑞士通信);Google(谷歌);ETH AI Center(苏黎世联邦理工学院人工智能中心);AppliedAI Institute for Europe(欧洲应用AI研究院);Microsoft(微软);Lakera
A Multi-Agent LLM Defense Pipeline Against Prompt Injection Attacks
School of Computing, Wichita State University, Kansas, USA(威斯康星州立大学计算机学院);College of Engineering and Computer Sciences, Marshall University, Huntington, WV, USA(马歇尔大学工程与计算机科学学院);Department of Computer Science and Engineering, University of Rajshahi, Bangladesh(拉贾沙希大学计算机科学与工程系);Department of Computer Science and Engineering, American International University-Bangladesh, Dhaka, Bangladesh(美国国际大学-孟加拉国计算机科学与工程系);School of Computer Science and Engineering, The University of Aizu, Aizuwakamatsu, Japan(立命馆大学计算机科学与工程学院)
MASPOB: Bandit-Based Prompt Optimization for Multi-Agent Systems with Graph Neural Networks
The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));South China University of Technology(华南理工大学);Ritsumeikan University(立命馆大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州))