Framework · Orchestration Frameworks

CAMEL-AI

Study agent scaling laws by providing a multi-agent framework whose core building blocks are ChatAgent (tool-calling LLM agent), RolePlaying (AI-assistant + AI-user dialectic), Workforce (managed multi-agent collaboration), MCP-backed toolkits, RAG pipelines, code interpreters, and large-scale simulated societies.

Description

CAMEL ('Communicative Agents for "Mind" Exploration of Large Language Model Society') is an Apache-2.0 Python multi-agent framework whose stated mission is 'finding the scaling laws of agents'. Building blocks: ChatAgent (atomic LLM-driven reasoning unit with tool use), RolePlaying (two-agent cooperative paradigm where an AI-assistant and an AI-user collaborate on a task), Workforce (manager-led multi-agent collaboration in camel/societies/workforce), 20+ toolkits including SearchToolkit, MCP support, RAG retrievers, code interpreters (Python/shell/browser), and OWL agent for reasoning. The framework is used at scale (up to ~1M agents in OASIS-style simulations).

Solution

ChatAgent inner loop is tool-calling: model emits messages and tool calls, tools (Python interpreter, shell, browser, MCP, search) execute, results return as messages. RolePlaying sits on top: a Society pairs an AI-assistant and an AI-user who exchange messages until the task converges or a step cap is hit. Workforce wraps this with a manager that decomposes tasks, assigns to workers, and synthesises results. Memory persists across turns; RAG pipelines combine chunking, retrieval, and generation; OASIS-style simulations scale this to large agent populations.

Primary use cases

  • two-agent role-playing task solving (CAMEL paradigm)
  • managed multi-agent collaboration via Workforce
  • ChatAgent-based tool-using assistants
  • MCP-backed agentic workflows over external infrastructure
  • large-scale social simulation (e.g. OASIS, ~1M agents)

Open the full interactive page

Diagram, neighbourhood map, code examples, related patterns and full provenance.

Related