AI Agents 相关度: 9/10

Agent Primitives: Reusable Latent Building Blocks for Multi-Agent Systems

Haibo Jin, Kuang Peng, Ye Yu, Xiaopeng Yuan, Haohan Wang
arXiv: 2602.03695v1 发布: 2026-02-03 更新: 2026-02-03

AI 摘要

提出了Agent Primitives,一种可复用的多智能体系统构建块,提升了效率和鲁棒性。

主要贡献

  • 提出了Agent Primitives的概念,包括Review, Voting and Selection, Planning and Execution三种基本单元。
  • 使用KV cache进行内部通信,提高鲁棒性和效率。
  • 提出了基于知识池的自动系统构建方法,通过Organizer agent选择和组合Primitives。

方法论

通过观察现有MAS架构的共性,提炼出可复用的Agent Primitives,并设计了基于KV cache的内部通信机制,实现自动系统构建。

原文摘要

While existing multi-agent systems (MAS) can handle complex problems by enabling collaboration among multiple agents, they are often highly task-specific, relying on manually crafted agent roles and interaction prompts, which leads to increased architectural complexity and limited reusability across tasks. Moreover, most MAS communicate primarily through natural language, making them vulnerable to error accumulation and instability in long-context, multi-stage interactions within internal agent histories. In this work, we propose \textbf{Agent Primitives}, a set of reusable latent building blocks for LLM-based MAS. Inspired by neural network design, where complex models are built from reusable components, we observe that many existing MAS architectures can be decomposed into a small number of recurring internal computation patterns. Based on this observation, we instantiate three primitives: Review, Voting and Selection, and Planning and Execution. All primitives communicate internally via key-value (KV) cache, which improves both robustness and efficiency by mitigating information degradation across multi-stage interactions. To enable automatic system construction, an Organizer agent selects and composes primitives for each query, guided by a lightweight knowledge pool of previously successful configurations, forming a primitive-based MAS. Experiments show that primitives-based MAS improve average accuracy by 12.0-16.5\% over single-agent baselines, reduce token usage and inference latency by approximately 3$\times$-4$\times$ compared to text-based MAS, while incurring only 1.3$\times$-1.6$\times$ overhead relative to single-agent inference and providing more stable performance across model backbones.

标签

Multi-Agent Systems LLM Agent Primitives KV Cache

arXiv 分类

cs.MA cs.AI cs.CL