AECP: Artifact-Exclusive Communication Protocol for Multi-Agent Code Generation

📅 2026-10-05
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
This study addresses the challenges of information redundancy, interface deviation, and collaboration failure caused by free-text communication in multi-agent code generation. We propose an artifact-exclusive communication protocol that prohibits unstructured interactions, compelling agents to communicate solely through structured artifacts. Furthermore, coordination responsibilities are shifted from individual agents to the execution framework, which automatically handles coordination logic and verifies interface commitments, thereby enabling actionable communication content and automated monitoring. Experimental results demonstrate that this approach improves test pass rates by 28.2%, reduces execution time by 16.5%, and decreases the propagation rate of malicious instructions to 0%.
📝 Abstract
As AI agents increasingly tackle complex repository-level coding tasks, distributing work across multiple agents is a natural way to scale beyond the capabilities of a single agent. To coordinate their interdependent work, these agents share findings and agree on interfaces between modules. However, exchanged information often serves only as context, leaving individual agents to interpret it and incorporate it into subsequent work. Consequently, shared findings may go unused and deviations from interface agreements may go undetected, undermining the reliability and efficiency of collaboration. This motivates moving part of the coordination responsibility from individual agents to the execution harness. To make shared information actionable during execution, we introduce the Artifact-Exclusive Communication Protocol (AECP). AECP requires agents to communicate exclusively through structured artifacts and specifies how the harness processes them. The harness supplies findings when agents access relevant code, screens implementations for mismatches with recorded interface commitments, and requires affected agents to revisit revised agreements. These coordination steps become part of harness execution rather than actions that agents must initiate from prior messages. Across Doc2Repo, NL2Repo, and CodeProjectEval, using closed- and open-source models including Opus-4.8 and DeepSeek-V4-Flash, AECP improves average test pass rate by 28.2% and reduces average wall time by 16.5% relative to an agent team using free-form inter-agent messages. Artifact-exclusive communication also blocks the relay of malicious instructions between agents, reducing how often they reach other agents from 95% to 0% and how often those agents act on them from 40% to 0%.
Problem

Research questions and friction points this paper is trying to address.

multi-agent code generation
inter-agent communication
coordination reliability
collaboration efficiency
malicious instruction relay
Innovation

Methods, ideas, or system contributions that make the work stand out.

Artifact-Exclusive Communication Protocol
Multi-Agent Code Generation
Execution Harness
Structured Artifacts
Interface Compliance
🔎 Similar Papers
No similar papers found.
Jiaqi Xue
Jiaqi Xue
University of Central Florida
AI Security
Y
Yanjun Wang
AWS AI Labs
X
Xiangci Li
AWS AI Labs
L
Lingbo Mo
AWS AI Labs
Aritra Sengupta
Aritra Sengupta
Automated Reasoning Group, AWS.
Program analysisCode LLMsAI AgentsSystems
S
Shweta Garg
AWS AI Labs
M
Murali Krishna Ramanathan
AWS AI Labs
M
Myeongsoo Kim
AWS AI Labs