arXiv:2610.34722cs.AIOct 2026

Manuscript Offprint

arXiv:2610.34722

CEPO: A General Framework for Improving Prompt Optimization in Multi-Agent Systems

Jongha Kim, Seohyun Lee, Jonathan Minho Chung, Jinsung Yoon, Hyunwoo J. Kim

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Multi-agent systems (MAS) require both effective coordination and specialized task execution. Existing prompt optimization approaches typically couple these functions within agent-specific prompts. We introduce Coordinator-Executor Prompt Optimization (CEPO), a general framework for improving prompt optimization in MAS. CEPO separates system-level coordination from agent-level execution through a shared coordinator prompt and agent-specific executor prompts, and guides their updates according to their respective roles. This structure allows shared coordination rules to be refined consistently across agents while keeping execution instructions separately adjustable. CEPO provides the prompt structure and optimization guidance, while existing prompt optimizers perform the underlying search. Extensive experiments spanning 11 benchmarks across four domains demonstrate that applying CEPO to four existing prompt optimizers consistently improves their performance. Ablations and qualitative analyses support the proposed design, while controlled studies on a document-understanding MAS further demonstrate improved optimization budget efficiency and performance scaling with the number of agents.

1 INTRODUCTION

Large language models (LLMs) have demonstrated strong capabilities in reasoning, tool use, and cross-modal grounding (Achiam et al., 2023; Schick et al., 2023; Huang et al., 2023b), enabling multi-agent systems (MAS) (Wu et al., 2024; Li et al., 2023; Zhuge et al., 2024) in which specialized agents collaborate on complex tasks. These systems have shown promising results across document understanding (Han et al., 2025a; Sun et al., 2025), mathematical reasoning (Du et al., 2024; Yuan & Xie, 2025), code generation (Islam et al., 2024), and video understanding (Liu et al., 2026; Wang et al., 2026a). However, realizing their potential requires both effective system-level coordination and specialized agent-level execution. In other words, each agent must perform their assigned tasks well while working together toward the system's overall goal.

Prompt optimization automates the search for effective instructions and has expanded from single-agent settings (Zhou et al., 2023; Yang et al., 2024; Pryzant et al., 2023; Ye et al., 2024) to multi-agent systems (Zhou et al., 2026; Zhuge et al., 2024). Recent methods jointly optimize agent prompts or incorporate feedback from downstream interactions and system-level outcomes (Han et al., 2025b; Wang et al., 2026b). However, even when these methods account for agent interactions, their prompt updates typically target only agent-specific prompts, within which system-level coordination and agent-level execution remain coupled. Revising shared coordination rules can therefore require consistent changes across multiple prompts with different execution responsibilities. This raises our central question: “how can prompt structure and optimization guidance make existing prompt optimizers more effective for MAS?”

We introduce Coordinator-Executor Prompt Optimization (CEPO), a general framework for improving prompt optimization in multi-agent systems. CEPO specifies how prompts are structured and how their updates are guided, while existing prompt optimizers carry out the underlying search. The framework combines two complementary components. First, coordinator-executor prompt

∗^{*}Equal contribution.

†^{\dagger}Corresponding author.

Prior Work

Vanilla optimization guidance

Optimizer

p1p_{1}

p2p_{2}

p3p_{3}

✗ Coordination & execution coupled

✗ Role-agnostic prompt optimization

Figure

CEPO (Ours)

Role-aligned optimization guidance

Prompt Decomposition

Optimizer

Coordination objective

pcp_{c}

Optimizer

Execution objective

pE(1)p_{E}^{(1)}

pE(2)p_{E}^{(2)}

pE(3)p_{E}^{(3)}

✓ Coordination & execution separated

✓ Role-aligned prompt optimization

Figure

Prior Work vs. CEPO (Ours)

Figure

Figure 1: CEPO separates coordination and execution for role-aligned prompt optimization. (a) Prior work vs. CEPO (left). Existing methods couple coordination and execution roles within agent-specific prompts. CEPO represents these functions as distinct optimizable parameters through a shared coordinator prompt pCp_C and agent-specific executor prompts pEp_E, and guides their updates according to their respective roles using an existing prompt optimizer. (b) Component-wise comparison (right). Accuracy on MDocAgent (Han et al., 2025a) + MMLongBench-Doc (Ma et al., 2024). Vanilla optimizer improves baseline (54.1 → 57.9), prompt decomposition yields a further gain (58.6), and combining decomposition with role-aligned optimization (CEPO) performs the best (61.0).

decomposition introduces a coordinator prompt that is shared across all agents and defines system-level rules for how they coordinate. Each agent receives this shared coordinator prompt together with its own executor prompt, which specifies how it performs its assigned task. This structure allows a single coordination update to apply consistently across all agents while keeping each agent's execution instructions separately adjustable. Second, role-aligned optimization provides distinct meta-instructions that guide coordinator updates toward team-level collaboration and executor updates toward each agent's task execution. Together, these components make coordination and execution explicit optimization targets that can be refined using different underlying optimizers.

We apply CEPO to four different prompt optimizers (PE2, OPRO, ProTeGi, and MASPO) (Ye et al., 2024; Yang et al., 2024; Pryzant et al., 2023; Wang et al., 2026b) and conduct extensive experiments on 11 benchmarks across four domains: document understanding, mathematical reasoning, code generation, and video understanding. Across the evaluated settings, CEPO consistently improves performance over the corresponding optimizers without CEPO, demonstrating its applicability to both general-purpose and MAS-specific prompt optimizers. Beyond these performance gains, controlled studies on MDocAgent show improved optimization budget efficiency and performance scaling with the number of agents. Component ablations, optimization-guidance swaps, and qualitative prompt analyses further support the benefits of separating coordination from execution and aligning optimization guidance with each component's role.

Our main contributions are as follows.

• We propose two principles to address the coupling of coordination and execution, a common limitation of existing MAS prompt optimization. We decompose prompts into a shared coordinator prompt for system-level coordination and agent-specific executor prompts for agent-level execution, and apply role-aligned guidance for each.

• We integrate these two principles into CEPO, a general framework for MAS prompt optimization. Applying CEPO to four different prompt optimizers yields consistent gains in extensive experiments spanning eleven benchmarks across four domains.

• Quantitative and qualitative analyses support the proposed design, and controlled studies on a document-understanding MAS further demonstrate improved optimization budget efficiency and performance scaling with MAS size.