CAMEL: Communicative Agents for “Mind” Exploration of Large Language Model Society

基本信息

摘要

The rapid advancement of chat-based language models has led to remarkable progress in complex task-solving. However, their success heavily relies on human input to guide the conversation, which can be challenging and time-consuming. This paper explores the potential of building scalable techniques to facilitate autonomous cooperation among communicative agents, and provides insight into their “cognitive” processes. To address the challenges of achieving autonomous cooperation, we propose a novel communicative agent framework named role-playing. Our approach involves using inception prompting to guide chat agents toward task completion while maintaining consistency with human intentions. We showcase how role-playing can be used to generate conversational data for studying the behaviors and capabilities of a society of agents, providing a valuable resource for investigating conversational language models. In particular, we conduct comprehensive studies on instruction-following cooperation in multi-agent settings. Our contributions include introducing a novel communicative agent framework, offering a scalable approach for studying the cooperative behaviors and capabilities of multi-agent systems, and open-sourcing our library to support research on communicative agents and beyond: https://github.com/camel-ai/camel.

核心贡献

  1. 提出角色扮演框架(Role-Playing): 首次提出了一种基于角色扮演的通信智能体框架,使两个 LLM 智能体能够在无需人工干预的情况下自主协作完成复杂任务。每个智能体被赋予特定角色(如 AI 研发员、产品经理等),并通过角色约束保持行为一致性。

  2. Inception Prompting 技术: 设计了一种”始发提示”(Inception Prompting)机制,通过精心构造的初始提示词引导智能体之间的对话走向,使其在保持人类意图一致性的同时自主推进任务完成。这是实现自主多智能体协作的关键技术。

  3. 可扩展的多智能体协作研究范式: 提出了一种可扩展的方法来研究多智能体系统的协作行为和能力,能够生成大量对话数据用于分析智能体的”认知”过程,为研究 LLM 社会行为提供了宝贵的资源和工具。

  4. 开源框架与工具: 开源了 CAMEL 库(https://github.com/camel-ai/camel),支持通信智能体及相关研究,降低了多智能体协作研究的门槛。

方法概述

CAMEL 的核心方法是角色扮演(Role-Playing)框架,其工作流程如下:

该方法的核心优势在于利用 LLM 的指令遵循能力和角色扮演约束,实现了无需人工干预的自主多智能体协作。

实验结果

CAMEL 在多个维度上进行了全面的实验评估:

相关论文

相关概念

分析信息


导入时间: 2026-05-01 23:30 导入方式: url