CAMEL-AI is the first large language model (LLM) multi-agent framework and an open-source community dedicated to finding the scaling law of agents. Checkout their comprehensive documentation here.
Here’s a simple example of tracking a single CAMEL agent with tools using AgentOps:
import agentopsimport osfrom camel.agents import ChatAgentfrom camel.messages import BaseMessagefrom camel.models import ModelFactoryfrom camel.types import ModelPlatformType, ModelType# Initialize AgentOpsagentops.init(os.getenv("AGENTOPS_API_KEY"))# Import toolkits after AgentOps init for trackingfrom camel.toolkits import SearchToolkit# Set up the agent with search toolssys_msg = BaseMessage.make_assistant_message( role_name='Tools calling operator', content='You are a helpful assistant')# Configure tools and modeltools = [*SearchToolkit().get_tools()]model = ModelFactory.create( model_platform=ModelPlatformType.OPENAI, model_type=ModelType.GPT_4O_MINI,)# Create the agentcamel_agent = ChatAgent( system_message=sys_msg, model=model, tools=tools,)# Run the agentuser_msg = 'What is CAMEL-AI.org?'response = camel_agent.step(user_msg)print(response)# End the sessionagentops.end_session("Success")