CAMEL is a multi-agent communication framework for building autonomous AI agents that can role-play, collaborate, and solve complex tasks. It provides model backends (OpenAI, Anthropic, DeepSeek, etc.), toolkits, memory, and planning. Current stable version is 0.2.90 (Python 3.10–3.14). Development is active with frequent pre-releases (e.g., 0.2.91a4).
pip install camel-aiVerified import paths — ran on the pinned version, not inferred.
Basic ChatAgent example. Requires OPENAI_API_KEY environment variable.
Use `from camel.agent import ChatAgent` (singular) for v0.2.90.
Use `ModelFactory.create(model_type='gpt-4o-mini', api_key=...)`.
Install extras: `pip install 'camel-ai[all]'` or targeted extras like `camel-ai[anthropic]`.
Ensure all pydantic models use v2 syntax (`BaseModel` from `pydantic` not `pydantic.v1`).