2605.29910v1 May 28, 2026 cs.SE

Agora: Toward Autonomous Bug Detection in Production-Level Consensus Protocols with LLM Agents

Jason Zeng
Jason Zeng
Citations: 9
h-index: 2
Michael Heinrich
Michael Heinrich
Citations: 9
h-index: 2
Saozhong Song
Saozhong Song
Citations: 2
h-index: 1
Huiying Lan
Huiying Lan
Citations: 19
h-index: 3
Yong Sun
Yong Sun
Citations: 13
h-index: 2
Xiang Liu
Xiang Liu
Citations: 5
h-index: 1
Ming Wu
Ming Wu
Citations: 7
h-index: 2
Ceyao Zhang
Ceyao Zhang
The Chinese University of Hong Kong, Shenzhen
Citations: 2,396
h-index: 6
Zhaowei Zhang
Zhaowei Zhang
Citations: 231
h-index: 1

Consensus protocols form the backbone of distributed systems and blockchains, where implementation bugs can cause data corruption and financial losses. While LLM-based approaches show promise in code analysis, they struggle with deep protocol-level logic bugs involving complex state-dependent behaviors across multiple execution stages. We present Agora, a domain-aware multi-agent framework that integrates hypothesis-driven testing with LLM capabilities for systematic protocol verification. Agora employs specialized agents that collaboratively explore protocol state spaces, synthesize attack scenarios using domain-specific constraints, and validate findings through iterative refinement. This explicit role separation enables reasoning about global protocol invariants beyond single-function code analysis. We evaluate Agora on four consensus implementations (Raft, EPaxos, HotStuff, BullShark) using four state-of-the-art LLMs. Agora discovers 15 previously unknown protocol-level logic bugs that violate safety properties, while existing LLM-based agents fail to detect any such protocol-level logic bugs. Our results demonstrate that domain-aware multi-agent collaboration is essential for detecting deep logic bugs in complex protocols.

0 Citations
0 Influential
3 Altmetric
15.0 Score
Original PDF

No Analysis Report Yet

This paper hasn't been analyzed by Gemini yet.

Log in to request an AI analysis.

댓글

댓글을 작성하려면 로그인하세요.

아직 댓글이 없습니다. 첫 번째 댓글을 남겨보세요!