camel-ai 0.2.0__tar.gz → 0.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of camel-ai might be problematic. Click here for more details.

Files changed (217) hide show
  1. camel_ai-0.2.3/LICENSE +201 -0
  2. {camel_ai-0.2.0 → camel_ai-0.2.3}/PKG-INFO +39 -65
  3. {camel_ai-0.2.0 → camel_ai-0.2.3}/README.md +12 -48
  4. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/__init__.py +1 -1
  5. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/agents/chat_agent.py +326 -115
  6. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/agents/knowledge_graph_agent.py +4 -6
  7. camel_ai-0.2.3/camel/bots/__init__.py +34 -0
  8. camel_ai-0.2.3/camel/bots/discord_app.py +138 -0
  9. camel_ai-0.2.3/camel/bots/slack/__init__.py +30 -0
  10. camel_ai-0.2.3/camel/bots/slack/models.py +158 -0
  11. camel_ai-0.2.3/camel/bots/slack/slack_app.py +255 -0
  12. camel_ai-0.2.3/camel/bots/telegram_bot.py +82 -0
  13. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/configs/__init__.py +1 -2
  14. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/configs/anthropic_config.py +2 -5
  15. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/configs/base_config.py +6 -6
  16. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/configs/gemini_config.py +1 -1
  17. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/configs/groq_config.py +2 -3
  18. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/configs/ollama_config.py +1 -2
  19. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/configs/openai_config.py +2 -23
  20. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/configs/samba_config.py +2 -2
  21. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/configs/togetherai_config.py +1 -1
  22. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/configs/vllm_config.py +1 -1
  23. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/configs/zhipuai_config.py +2 -3
  24. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/embeddings/openai_embedding.py +2 -2
  25. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/loaders/__init__.py +2 -0
  26. camel_ai-0.2.3/camel/loaders/chunkr_reader.py +163 -0
  27. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/loaders/firecrawl_reader.py +13 -45
  28. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/loaders/unstructured_io.py +65 -29
  29. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/messages/__init__.py +1 -0
  30. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/messages/func_message.py +2 -2
  31. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/models/__init__.py +2 -4
  32. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/models/anthropic_model.py +32 -26
  33. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/models/azure_openai_model.py +39 -36
  34. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/models/base_model.py +31 -20
  35. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/models/gemini_model.py +37 -29
  36. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/models/groq_model.py +29 -23
  37. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/models/litellm_model.py +44 -61
  38. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/models/mistral_model.py +33 -30
  39. camel_ai-0.2.3/camel/models/model_factory.py +124 -0
  40. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/models/nemotron_model.py +33 -23
  41. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/models/ollama_model.py +42 -47
  42. camel_ai-0.2.0/camel/models/openai_compatibility_model.py → camel_ai-0.2.3/camel/models/openai_compatible_model.py +36 -41
  43. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/models/openai_model.py +48 -29
  44. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/models/reka_model.py +30 -28
  45. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/models/samba_model.py +82 -177
  46. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/models/stub_model.py +2 -2
  47. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/models/togetherai_model.py +37 -43
  48. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/models/vllm_model.py +43 -50
  49. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/models/zhipuai_model.py +33 -27
  50. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/retrievers/auto_retriever.py +28 -10
  51. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/retrievers/vector_retriever.py +72 -44
  52. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/societies/babyagi_playing.py +6 -3
  53. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/societies/role_playing.py +17 -3
  54. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/storages/__init__.py +2 -0
  55. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/storages/graph_storages/__init__.py +2 -0
  56. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/storages/graph_storages/graph_element.py +3 -5
  57. camel_ai-0.2.3/camel/storages/graph_storages/nebula_graph.py +547 -0
  58. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/storages/key_value_storages/json.py +6 -1
  59. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/tasks/task.py +11 -4
  60. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/tasks/task_prompt.py +4 -0
  61. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/__init__.py +20 -7
  62. camel_ai-0.2.3/camel/toolkits/arxiv_toolkit.py +155 -0
  63. camel_ai-0.2.3/camel/toolkits/ask_news_toolkit.py +653 -0
  64. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/base.py +2 -3
  65. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/code_execution.py +6 -7
  66. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/dalle_toolkit.py +6 -6
  67. camel_ai-0.2.0/camel/toolkits/openai_function.py → camel_ai-0.2.3/camel/toolkits/function_tool.py +34 -11
  68. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/github_toolkit.py +9 -10
  69. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/google_maps_toolkit.py +7 -7
  70. camel_ai-0.2.3/camel/toolkits/google_scholar_toolkit.py +146 -0
  71. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/linkedin_toolkit.py +7 -7
  72. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/math_toolkit.py +8 -8
  73. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_toolkit.py +5 -5
  74. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/reddit_toolkit.py +7 -7
  75. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/retrieval_toolkit.py +5 -5
  76. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/search_toolkit.py +9 -9
  77. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/slack_toolkit.py +11 -11
  78. camel_ai-0.2.3/camel/toolkits/twitter_toolkit.py +445 -0
  79. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/weather_toolkit.py +6 -6
  80. camel_ai-0.2.3/camel/toolkits/whatsapp_toolkit.py +177 -0
  81. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/types/__init__.py +6 -1
  82. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/types/enums.py +43 -85
  83. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/types/openai_types.py +3 -0
  84. camel_ai-0.2.3/camel/types/unified_model_type.py +104 -0
  85. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/utils/__init__.py +0 -2
  86. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/utils/async_func.py +7 -7
  87. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/utils/commons.py +40 -4
  88. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/utils/token_counting.py +30 -212
  89. camel_ai-0.2.3/camel/workforce/__init__.py +23 -0
  90. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/workforce/base.py +9 -5
  91. camel_ai-0.2.3/camel/workforce/prompts.py +179 -0
  92. camel_ai-0.2.3/camel/workforce/role_playing_worker.py +181 -0
  93. camel_ai-0.2.0/camel/workforce/single_agent_node.py → camel_ai-0.2.3/camel/workforce/single_agent_worker.py +49 -23
  94. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/workforce/task_channel.py +7 -8
  95. camel_ai-0.2.3/camel/workforce/utils.py +67 -0
  96. camel_ai-0.2.0/camel/workforce/worker_node.py → camel_ai-0.2.3/camel/workforce/worker.py +15 -12
  97. camel_ai-0.2.3/camel/workforce/workforce.py +486 -0
  98. {camel_ai-0.2.0 → camel_ai-0.2.3}/pyproject.toml +66 -17
  99. camel_ai-0.2.0/camel/models/model_factory.py +0 -134
  100. camel_ai-0.2.0/camel/models/open_source_model.py +0 -170
  101. camel_ai-0.2.0/camel/toolkits/twitter_toolkit.py +0 -519
  102. camel_ai-0.2.0/camel/workforce/__init__.py +0 -23
  103. camel_ai-0.2.0/camel/workforce/manager_node.py +0 -299
  104. camel_ai-0.2.0/camel/workforce/role_playing_node.py +0 -168
  105. camel_ai-0.2.0/camel/workforce/utils.py +0 -97
  106. camel_ai-0.2.0/camel/workforce/workforce.py +0 -49
  107. camel_ai-0.2.0/camel/workforce/workforce_prompt.py +0 -125
  108. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/agents/__init__.py +0 -0
  109. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/agents/base.py +0 -0
  110. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/agents/critic_agent.py +0 -0
  111. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/agents/deductive_reasoner_agent.py +0 -0
  112. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/agents/embodied_agent.py +0 -0
  113. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/agents/role_assignment_agent.py +0 -0
  114. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/agents/search_agent.py +0 -0
  115. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/agents/task_agent.py +0 -0
  116. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/agents/tool_agents/__init__.py +0 -0
  117. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/agents/tool_agents/base.py +0 -0
  118. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/agents/tool_agents/hugging_face_tool_agent.py +0 -0
  119. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/configs/litellm_config.py +0 -0
  120. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/configs/mistral_config.py +0 -0
  121. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/configs/reka_config.py +0 -0
  122. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/embeddings/__init__.py +0 -0
  123. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/embeddings/base.py +0 -0
  124. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/embeddings/mistral_embedding.py +0 -0
  125. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/embeddings/sentence_transformers_embeddings.py +0 -0
  126. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/embeddings/vlm_embedding.py +0 -0
  127. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/generators.py +0 -0
  128. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/human.py +0 -0
  129. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/interpreters/__init__.py +0 -0
  130. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/interpreters/base.py +0 -0
  131. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/interpreters/docker_interpreter.py +0 -0
  132. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/interpreters/internal_python_interpreter.py +0 -0
  133. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/interpreters/interpreter_error.py +0 -0
  134. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/interpreters/ipython_interpreter.py +0 -0
  135. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/interpreters/subprocess_interpreter.py +0 -0
  136. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/loaders/base_io.py +0 -0
  137. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/loaders/jina_url_reader.py +0 -0
  138. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/memories/__init__.py +0 -0
  139. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/memories/agent_memories.py +0 -0
  140. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/memories/base.py +0 -0
  141. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/memories/blocks/__init__.py +0 -0
  142. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/memories/blocks/chat_history_block.py +0 -0
  143. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/memories/blocks/vectordb_block.py +0 -0
  144. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/memories/context_creators/__init__.py +0 -0
  145. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/memories/context_creators/score_based.py +0 -0
  146. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/memories/records.py +0 -0
  147. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/messages/base.py +0 -0
  148. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/models/openai_audio_models.py +0 -0
  149. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/prompts/__init__.py +0 -0
  150. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/prompts/ai_society.py +0 -0
  151. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/prompts/base.py +0 -0
  152. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/prompts/code.py +0 -0
  153. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/prompts/evaluation.py +0 -0
  154. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/prompts/generate_text_embedding_data.py +0 -0
  155. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/prompts/image_craft.py +0 -0
  156. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/prompts/misalignment.py +0 -0
  157. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/prompts/multi_condition_image_craft.py +0 -0
  158. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/prompts/object_recognition.py +0 -0
  159. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/prompts/prompt_templates.py +0 -0
  160. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/prompts/role_description_prompt_template.py +0 -0
  161. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/prompts/solution_extraction.py +0 -0
  162. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/prompts/task_prompt_template.py +0 -0
  163. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/prompts/translation.py +0 -0
  164. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/prompts/video_description_prompt.py +0 -0
  165. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/responses/__init__.py +0 -0
  166. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/responses/agent_responses.py +0 -0
  167. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/retrievers/__init__.py +0 -0
  168. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/retrievers/base.py +0 -0
  169. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/retrievers/bm25_retriever.py +0 -0
  170. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/retrievers/cohere_rerank_retriever.py +0 -0
  171. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/societies/__init__.py +0 -0
  172. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/storages/graph_storages/base.py +0 -0
  173. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/storages/graph_storages/neo4j_graph.py +0 -0
  174. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/storages/key_value_storages/__init__.py +0 -0
  175. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/storages/key_value_storages/base.py +0 -0
  176. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/storages/key_value_storages/in_memory.py +0 -0
  177. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/storages/key_value_storages/redis.py +0 -0
  178. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/storages/object_storages/__init__.py +0 -0
  179. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/storages/object_storages/amazon_s3.py +0 -0
  180. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/storages/object_storages/azure_blob.py +0 -0
  181. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/storages/object_storages/base.py +0 -0
  182. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/storages/object_storages/google_cloud.py +0 -0
  183. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/storages/vectordb_storages/__init__.py +0 -0
  184. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/storages/vectordb_storages/base.py +0 -0
  185. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/storages/vectordb_storages/milvus.py +0 -0
  186. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/storages/vectordb_storages/qdrant.py +0 -0
  187. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/tasks/__init__.py +0 -0
  188. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/terminators/__init__.py +0 -0
  189. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/terminators/base.py +0 -0
  190. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/terminators/response_terminator.py +0 -0
  191. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/terminators/token_limit_terminator.py +0 -0
  192. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/biztoc/__init__.py +0 -0
  193. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/biztoc/ai-plugin.json +0 -0
  194. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/biztoc/openapi.yaml +0 -0
  195. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/coursera/__init__.py +0 -0
  196. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/coursera/openapi.yaml +0 -0
  197. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/create_qr_code/__init__.py +0 -0
  198. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/create_qr_code/openapi.yaml +0 -0
  199. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/klarna/__init__.py +0 -0
  200. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/klarna/openapi.yaml +0 -0
  201. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/nasa_apod/__init__.py +0 -0
  202. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/nasa_apod/openapi.yaml +0 -0
  203. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/outschool/__init__.py +0 -0
  204. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/outschool/ai-plugin.json +0 -0
  205. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/outschool/openapi.yaml +0 -0
  206. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/outschool/paths/__init__.py +0 -0
  207. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/outschool/paths/get_classes.py +0 -0
  208. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/outschool/paths/search_teachers.py +0 -0
  209. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/security_config.py +0 -0
  210. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/speak/__init__.py +0 -0
  211. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/speak/openapi.yaml +0 -0
  212. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/web_scraper/__init__.py +0 -0
  213. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/web_scraper/ai-plugin.json +0 -0
  214. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/web_scraper/openapi.yaml +0 -0
  215. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/web_scraper/paths/__init__.py +0 -0
  216. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/toolkits/open_api_specs/web_scraper/paths/scraper.py +0 -0
  217. {camel_ai-0.2.0 → camel_ai-0.2.3}/camel/utils/constants.py +0 -0
camel_ai-0.2.3/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2023 @ CAMEL-AI.org
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -1,16 +1,17 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: camel-ai
3
- Version: 0.2.0
3
+ Version: 0.2.3
4
4
  Summary: Communicative Agents for AI Society Study
5
5
  Home-page: https://www.camel-ai.org/
6
6
  License: Apache-2.0
7
7
  Keywords: communicative-ai,ai-societies,artificial-intelligence,deep-learning,multi-agent-systems,cooperative-ai,natural-language-processing,large-language-models
8
8
  Author: CAMEL-AI.org
9
- Requires-Python: >=3.10.0,<3.12
9
+ Requires-Python: >=3.10,<3.13
10
10
  Classifier: License :: OSI Approved :: Apache Software License
11
11
  Classifier: Programming Language :: Python :: 3
12
12
  Classifier: Programming Language :: Python :: 3.10
13
13
  Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
14
15
  Provides-Extra: all
15
16
  Provides-Extra: encoders
16
17
  Provides-Extra: graph-storages
@@ -18,18 +19,23 @@ Provides-Extra: huggingface-agent
18
19
  Provides-Extra: kv-stroages
19
20
  Provides-Extra: model-platforms
20
21
  Provides-Extra: object-storages
22
+ Provides-Extra: rag
21
23
  Provides-Extra: retrievers
24
+ Provides-Extra: search-tools
22
25
  Provides-Extra: test
23
26
  Provides-Extra: tools
24
27
  Provides-Extra: vector-databases
25
28
  Requires-Dist: PyMuPDF (>=1.22.5,<2.0.0) ; extra == "tools" or extra == "all"
26
29
  Requires-Dist: accelerate (>=0,<1) ; extra == "huggingface-agent" or extra == "all"
27
30
  Requires-Dist: agentops (>=0.3.6,<0.4.0) ; extra == "tools" or extra == "all"
28
- Requires-Dist: anthropic (>=0.29.0,<0.30.0)
31
+ Requires-Dist: anthropic (>=0.29.0,<0.30.0) ; extra == "model-platforms" or extra == "all"
32
+ Requires-Dist: arxiv (>=2.1.3,<3.0.0) ; extra == "tools" or extra == "all"
33
+ Requires-Dist: arxiv2text (>=0.1.14,<0.2.0) ; extra == "tools" or extra == "all"
34
+ Requires-Dist: asknews (>=0.7.43,<0.8.0) ; extra == "tools" or extra == "all"
29
35
  Requires-Dist: azure-storage-blob (>=12.21.0,<13.0.0) ; extra == "object-storages" or extra == "all"
30
36
  Requires-Dist: beautifulsoup4 (>=4,<5) ; extra == "tools" or extra == "all"
31
37
  Requires-Dist: botocore (>=1.35.3,<2.0.0) ; extra == "object-storages" or extra == "all"
32
- Requires-Dist: cohere (>=4.56,<5.0) ; extra == "retrievers" or extra == "all"
38
+ Requires-Dist: cohere (>=4.56,<5.0) ; extra == "rag" or extra == "retrievers" or extra == "all"
33
39
  Requires-Dist: colorama (>=0,<1)
34
40
  Requires-Dist: curl_cffi (==0.6.2)
35
41
  Requires-Dist: datasets (>=2,<3) ; extra == "huggingface-agent" or extra == "all"
@@ -38,21 +44,21 @@ Requires-Dist: discord.py (>=2.3.2,<3.0.0) ; extra == "tools" or extra == "all"
38
44
  Requires-Dist: docker (>=7.1.0,<8.0.0) ; extra == "tools" or extra == "all"
39
45
  Requires-Dist: docstring-parser (>=0.15,<0.16)
40
46
  Requires-Dist: docx2txt (>=0.8,<0.9) ; extra == "tools" or extra == "all"
41
- Requires-Dist: duckduckgo-search (>=6.1.0,<7.0.0) ; extra == "tools" or extra == "all"
47
+ Requires-Dist: duckduckgo-search (>=6.2.12,<7.0.0) ; extra == "search-tools" or extra == "tools" or extra == "all"
42
48
  Requires-Dist: eval-type-backport (==0.2.0)
43
49
  Requires-Dist: firecrawl-py (>=1.0.0,<2.0.0) ; extra == "tools" or extra == "all"
44
50
  Requires-Dist: google-cloud-storage (>=2.18.0,<3.0.0) ; extra == "object-storages" or extra == "all"
45
51
  Requires-Dist: google-generativeai (>=0.6.0,<0.7.0) ; extra == "model-platforms" or extra == "all"
46
52
  Requires-Dist: googlemaps (>=4.10.0,<5.0.0) ; extra == "tools" or extra == "all"
47
- Requires-Dist: groq (>=0.5.0,<0.6.0)
48
53
  Requires-Dist: imageio[pyav] (>=2.34.2,<3.0.0) ; extra == "tools" or extra == "all"
49
- Requires-Dist: ipykernel (>=6.0.0,<7.0.0)
54
+ Requires-Dist: ipykernel (>=6.0.0,<7.0.0) ; extra == "tools" or extra == "all"
50
55
  Requires-Dist: jsonschema (>=4,<5)
51
56
  Requires-Dist: jupyter_client (>=8.6.2,<9.0.0) ; extra == "tools" or extra == "all"
52
57
  Requires-Dist: litellm (>=1.38.1,<2.0.0) ; extra == "model-platforms" or extra == "all"
53
- Requires-Dist: mistralai (>=1.0.0,<2.0.0) ; extra == "model-platforms" or extra == "all"
58
+ Requires-Dist: mistralai (>=1.1.0,<2.0.0) ; extra == "model-platforms" or extra == "all"
54
59
  Requires-Dist: mock (>=5,<6) ; extra == "test"
55
- Requires-Dist: neo4j (>=5.18.0,<6.0.0) ; extra == "graph-storages" or extra == "all"
60
+ Requires-Dist: nebula3-python (==3.8.2) ; extra == "rag" or extra == "graph-storages" or extra == "all"
61
+ Requires-Dist: neo4j (>=5.18.0,<6.0.0) ; extra == "rag" or extra == "graph-storages" or extra == "all"
56
62
  Requires-Dist: newspaper3k (>=0.2.8,<0.3.0) ; extra == "tools" or extra == "all"
57
63
  Requires-Dist: nltk (==3.8.1) ; extra == "tools" or extra == "all"
58
64
  Requires-Dist: numpy (>=1,<2)
@@ -61,6 +67,7 @@ Requires-Dist: openapi-spec-validator (>=0.7.1,<0.8.0) ; extra == "tools" or ext
61
67
  Requires-Dist: opencv-python (>=4,<5) ; extra == "huggingface-agent" or extra == "all"
62
68
  Requires-Dist: pandoc
63
69
  Requires-Dist: pathlib (>=1.0.1,<2.0.0)
70
+ Requires-Dist: pdfplumber (>=0.11.0,<0.12.0) ; extra == "tools" or extra == "all"
64
71
  Requires-Dist: pillow (>=10.2.0,<11.0.0) ; extra == "tools" or extra == "all"
65
72
  Requires-Dist: prance (>=23.6.21.0,<24.0.0.0) ; extra == "tools" or extra == "all"
66
73
  Requires-Dist: praw (>=7.7.1,<8.0.0) ; extra == "tools" or extra == "all"
@@ -69,26 +76,29 @@ Requires-Dist: pyTelegramBotAPI (>=4.18.0,<5.0.0) ; extra == "tools" or extra ==
69
76
  Requires-Dist: pydantic (>=1.9,<3)
70
77
  Requires-Dist: pydub (>=0.25.1,<0.26.0) ; extra == "tools" or extra == "all"
71
78
  Requires-Dist: pygithub (>=2.3.0,<3.0.0) ; extra == "tools" or extra == "all"
72
- Requires-Dist: pymilvus (>=2.4.0,<3.0.0) ; extra == "vector-databases" or extra == "all"
79
+ Requires-Dist: pymilvus (>=2.4.0,<3.0.0) ; extra == "rag" or extra == "vector-databases" or extra == "all"
73
80
  Requires-Dist: pyowm (>=3.3.0,<4.0.0) ; extra == "tools" or extra == "all"
74
81
  Requires-Dist: pytest (>=7,<8) ; extra == "test"
75
82
  Requires-Dist: pytest-asyncio (>=0.23.0,<0.24.0) ; extra == "test"
76
- Requires-Dist: qdrant-client (>=1.9.0,<2.0.0) ; extra == "vector-databases" or extra == "all"
77
- Requires-Dist: rank-bm25 (>=0.2.2,<0.3.0) ; extra == "retrievers" or extra == "all"
83
+ Requires-Dist: qdrant-client (>=1.9.0,<2.0.0) ; extra == "rag" or extra == "vector-databases" or extra == "all"
84
+ Requires-Dist: rank-bm25 (>=0.2.2,<0.3.0) ; extra == "rag" or extra == "retrievers" or extra == "all"
78
85
  Requires-Dist: redis (>=5.0.6,<6.0.0) ; extra == "kv-stroages" or extra == "all"
79
86
  Requires-Dist: reka-api (>=3.0.8,<4.0.0) ; extra == "model-platforms" or extra == "all"
80
87
  Requires-Dist: requests_oauthlib (>=1.3.1,<2.0.0) ; extra == "tools" or extra == "all"
81
- Requires-Dist: sentence-transformers (>=3.0.1,<4.0.0) ; extra == "encoders" or extra == "all"
88
+ Requires-Dist: scholarly[tor] (==1.7.11) ; extra == "tools" or extra == "all"
89
+ Requires-Dist: sentence-transformers (>=3.0.1,<4.0.0) ; extra == "rag" or extra == "encoders" or extra == "all"
82
90
  Requires-Dist: sentencepiece (>=0,<1) ; extra == "huggingface-agent" or extra == "all"
91
+ Requires-Dist: slack-bolt (>=1.20.1,<2.0.0) ; extra == "tools" or extra == "all"
83
92
  Requires-Dist: slack-sdk (>=3.27.2,<4.0.0) ; extra == "tools" or extra == "all"
84
93
  Requires-Dist: soundfile (>=0,<1) ; extra == "huggingface-agent" or extra == "all"
85
94
  Requires-Dist: textblob (>=0.18.0.post0,<0.19.0) ; extra == "tools" or extra == "all"
86
95
  Requires-Dist: tiktoken (>=0.7.0,<0.8.0)
87
- Requires-Dist: torch (>=2,<3) ; extra == "huggingface-agent" or extra == "all"
96
+ Requires-Dist: torch (==2.1.0) ; (platform_system == "Darwin" and platform_machine != "arm64") and (extra == "huggingface-agent" or extra == "all")
97
+ Requires-Dist: torch (>=2,<3) ; (platform_system != "Darwin" or platform_machine == "arm64") and (extra == "huggingface-agent" or extra == "all")
88
98
  Requires-Dist: transformers (>=4,<5) ; extra == "huggingface-agent" or extra == "all"
89
- Requires-Dist: unstructured[all-docs] (>=0.10,<0.11) ; extra == "tools" or extra == "all"
90
- Requires-Dist: wikipedia (>=1,<2) ; extra == "tools" or extra == "all"
91
- Requires-Dist: wolframalpha (>=5.0.0,<6.0.0) ; extra == "tools" or extra == "all"
99
+ Requires-Dist: unstructured[all-docs] (>=0.14,<0.15) ; extra == "rag" or extra == "tools" or extra == "all"
100
+ Requires-Dist: wikipedia (>=1,<2) ; extra == "search-tools" or extra == "tools" or extra == "all"
101
+ Requires-Dist: wolframalpha (>=5.0.0,<6.0.0) ; extra == "search-tools" or extra == "tools" or extra == "all"
92
102
  Project-URL: Documentation, https://docs.camel-ai.org
93
103
  Project-URL: Repository, https://github.com/camel-ai/camel
94
104
  Description-Content-Type: text/markdown
@@ -102,14 +112,13 @@ Description-Content-Type: text/markdown
102
112
 
103
113
  ______________________________________________________________________
104
114
 
105
- # CAMEL: Communicative Agents for “Mind” Exploration of Large Language Model Society
115
+ # CAMEL: Finding the Scaling Laws of Agents
106
116
 
107
117
  [![Python Version][python-image]][python-url]
108
118
  [![PyTest Status][pytest-image]][pytest-url]
109
119
  [![Documentation][docs-image]][docs-url]
110
120
  [![Star][star-image]][star-url]
111
121
  [![Package License][package-license-image]][package-license-url]
112
- [![Data License][data-license-image]][data-license-url]
113
122
 
114
123
  <p align="center">
115
124
  <a href="https://github.com/camel-ai/camel#community">Community</a> |
@@ -123,16 +132,14 @@ ______________________________________________________________________
123
132
  </p>
124
133
 
125
134
  <p align="center">
126
- <img src='https://raw.githubusercontent.com/camel-ai/camel/master/misc/primary_logo.png' width=800>
135
+ <img src='https://raw.githubusercontent.com/camel-ai/camel/master/misc/logo_light.png' width=800>
127
136
  </p>
128
137
 
129
- ## Overview
130
- The rapid advancement of conversational and 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 provide 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 chat agents, providing a valuable resource for investigating conversational language models. 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. The GitHub repository of this project is made publicly available on: [https://github.com/camel-ai/camel](https://github.com/camel-ai/camel).
131
138
 
132
139
  ## Community
133
- 🐫 CAMEL is an open-source library designed for the study of autonomous and communicative agents. We believe that studying these agents on a large scale offers valuable insights into their behaviors, capabilities, and potential risks. To facilitate research in this field, we implement and support various types of agents, tasks, prompts, models, and simulated environments.
140
+ 🐫 CAMEL is an open-source community dedicated to finding the scaling laws of agents. We believe that studying these agents on a large scale offers valuable insights into their behaviors, capabilities, and potential risks. To facilitate research in this field, we implement and support various types of agents, tasks, prompts, models, and simulated environments.
134
141
 
135
- Join us ([*Slack*](https://join.slack.com/t/camel-ai/shared_invite/zt-2g7xc41gy-_7rcrNNAArIP6sLQqldkqQ), [*Discord*](https://discord.gg/CNcNpquyDc) or [*WeChat*](https://ghli.org/camel/wechat.png)) in pushing the boundaries of building AI Society.
142
+ Join us ([*Discord*](https://discord.camel-ai.org/), [*WeChat*](https://ghli.org/camel/wechat.png) or [*Slack*](https://join.slack.com/t/camel-ai/shared_invite/zt-2g7xc41gy-_7rcrNNAArIP6sLQqldkqQ)) in pushing the boundaries of finding the scaling laws of agents.
136
143
 
137
144
  ## Try it yourself
138
145
  We provide a [![Google Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1AzP33O8rnMW__7ocWJhVBXjKziJXPtim?usp=sharing) demo showcasing a conversation between two ChatGPT agents playing roles as a python programmer and a stock trader collaborating on developing a trading bot for stock market.
@@ -168,7 +175,7 @@ Some features require extra dependencies:
168
175
  Install `CAMEL` from source with poetry (Recommended):
169
176
  ```sh
170
177
  # Make sure your python version is later than 3.10
171
- # You can use pyenv to manage multiple python verisons in your sytstem
178
+ # You can use pyenv to manage multiple python versions in your system
172
179
 
173
180
  # Clone github repo
174
181
  git clone https://github.com/camel-ai/camel.git
@@ -176,7 +183,7 @@ git clone https://github.com/camel-ai/camel.git
176
183
  # Change directory into project directory
177
184
  cd camel
178
185
 
179
- # If you didn't install peotry before
186
+ # If you didn't install poetry before
180
187
  pip install poetry # (Optional)
181
188
 
182
189
  # We suggest using python 3.10
@@ -214,7 +221,7 @@ conda create --name camel python=3.10
214
221
  conda activate camel
215
222
 
216
223
  # Clone github repo
217
- git clone -b v0.2.0 https://github.com/camel-ai/camel.git
224
+ git clone -b v0.2.3 https://github.com/camel-ai/camel.git
218
225
 
219
226
  # Change directory into project directory
220
227
  cd camel
@@ -285,35 +292,7 @@ Please note that the environment variable is session-specific. If you open a new
285
292
  ```bash
286
293
  ollama pull llama3
287
294
  ```
288
- - Create a ModelFile similar the one below in your project directory.
289
- ```bash
290
- FROM llama3
291
-
292
- # Set parameters
293
- PARAMETER temperature 0.8
294
- PARAMETER stop Result
295
-
296
- # Sets a custom system message to specify the behavior of the chat assistant
297
-
298
- # Leaving it blank for now.
299
-
300
- SYSTEM """ """
301
- ```
302
- - Create a script to get the base model (llama3) and create a custom model using the ModelFile above. Save this as a .sh file:
303
- ```bash
304
- #!/bin/zsh
305
-
306
- # variables
307
- model_name="llama3"
308
- custom_model_name="camel-llama3"
309
-
310
- #get the base model
311
- ollama pull $model_name
312
-
313
- #create the model file
314
- ollama create $custom_model_name -f ./Llama3ModelFile
315
- ```
316
- - Navigate to the directory where the script and ModelFile are located and run the script. Enjoy your Llama3 model, enhanced by CAMEL's excellent agents.
295
+ - Run the script. Enjoy your Llama3 model, enhanced by CAMEL's excellent agents.
317
296
  ```python
318
297
  from camel.agents import ChatAgent
319
298
  from camel.messages import BaseMessage
@@ -323,7 +302,6 @@ Please note that the environment variable is session-specific. If you open a new
323
302
  ollama_model = ModelFactory.create(
324
303
  model_platform=ModelPlatformType.OLLAMA,
325
304
  model_type="llama3",
326
- url="http://localhost:11434/v1",
327
305
  model_config_dict={"temperature": 0.4},
328
306
  )
329
307
 
@@ -410,7 +388,7 @@ We implemented amazing research ideas from other works for you to build, compare
410
388
  year={2023}
411
389
  }
412
390
  ```
413
- ## Acknowledgement
391
+ ## Acknowledgment
414
392
  Special thanks to [Nomic AI](https://home.nomic.ai/) for giving us extended access to their data set exploration tool (Atlas).
415
393
 
416
394
  We would also like to thank Haya Hammoud for designing the initial logo of our project.
@@ -419,16 +397,14 @@ We would also like to thank Haya Hammoud for designing the initial logo of our p
419
397
 
420
398
  The source code is licensed under Apache 2.0.
421
399
 
422
- The datasets are licensed under CC BY NC 4.0, which permits only non-commercial usage. It is advised that any models trained using the dataset should not be utilized for anything other than research purposes.
423
-
424
400
  ## Contributing to CAMEL 🐫
425
401
  We appreciate your interest in contributing to our open-source initiative. We provide a document of [contributing guidelines](https://github.com/camel-ai/camel/blob/master/CONTRIBUTING.md) which outlines the steps for contributing to CAMEL. Please refer to this guide to ensure smooth collaboration and successful contributions. 🤝🚀
426
402
 
427
403
  ## Contact
428
404
  For more information please contact camel.ai.team@gmail.com.
429
405
 
430
- [python-image]: https://img.shields.io/badge/Python-3.10%2B-brightgreen.svg
431
- [python-url]: https://docs.python.org/3.10/
406
+ [python-image]: https://img.shields.io/badge/Python-3.10%2C%203.11%2C%203.12-brightgreen.svg
407
+ [python-url]: https://www.python.org/
432
408
  [pytest-image]: https://github.com/camel-ai/camel/actions/workflows/pytest_package.yml/badge.svg
433
409
  [pytest-url]: https://github.com/camel-ai/camel/actions/workflows/pytest_package.yml
434
410
  [docs-image]: https://img.shields.io/badge/Documentation-grey.svg?logo=github
@@ -437,8 +413,6 @@ For more information please contact camel.ai.team@gmail.com.
437
413
  [star-url]: https://github.com/camel-ai/camel/stargazers
438
414
  [package-license-image]: https://img.shields.io/badge/License-Apache_2.0-blue.svg
439
415
  [package-license-url]: https://github.com/camel-ai/camel/blob/master/licenses/LICENSE
440
- [data-license-image]: https://img.shields.io/badge/License-CC_BY--NC_4.0-lightgrey.svg
441
- [data-license-url]: https://github.com/camel-ai/camel/blob/master/licenses/DATA_LICENSE
442
416
 
443
417
  [colab-url]: https://colab.research.google.com/drive/1AzP33O8rnMW__7ocWJhVBXjKziJXPtim?usp=sharing
444
418
  [colab-image]: https://colab.research.google.com/assets/colab-badge.svg
@@ -446,7 +420,7 @@ For more information please contact camel.ai.team@gmail.com.
446
420
  [huggingface-image]: https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-CAMEL--AI-ffc107?color=ffc107&logoColor=white
447
421
  [slack-url]: https://join.slack.com/t/camel-ai/shared_invite/zt-2g7xc41gy-_7rcrNNAArIP6sLQqldkqQ
448
422
  [slack-image]: https://img.shields.io/badge/Slack-CAMEL--AI-blueviolet?logo=slack
449
- [discord-url]: https://discord.gg/CNcNpquyDc
423
+ [discord-url]: https://discord.camel-ai.org/
450
424
  [discord-image]: https://img.shields.io/badge/Discord-CAMEL--AI-7289da?logo=discord&logoColor=white&color=7289da
451
425
  [wechat-url]: https://ghli.org/camel/wechat.png
452
426
  [wechat-image]: https://img.shields.io/badge/WeChat-CamelAIOrg-brightgreen?logo=wechat&logoColor=white
@@ -7,14 +7,13 @@
7
7
 
8
8
  ______________________________________________________________________
9
9
 
10
- # CAMEL: Communicative Agents for “Mind” Exploration of Large Language Model Society
10
+ # CAMEL: Finding the Scaling Laws of Agents
11
11
 
12
12
  [![Python Version][python-image]][python-url]
13
13
  [![PyTest Status][pytest-image]][pytest-url]
14
14
  [![Documentation][docs-image]][docs-url]
15
15
  [![Star][star-image]][star-url]
16
16
  [![Package License][package-license-image]][package-license-url]
17
- [![Data License][data-license-image]][data-license-url]
18
17
 
19
18
  <p align="center">
20
19
  <a href="https://github.com/camel-ai/camel#community">Community</a> |
@@ -28,16 +27,14 @@ ______________________________________________________________________
28
27
  </p>
29
28
 
30
29
  <p align="center">
31
- <img src='https://raw.githubusercontent.com/camel-ai/camel/master/misc/primary_logo.png' width=800>
30
+ <img src='https://raw.githubusercontent.com/camel-ai/camel/master/misc/logo_light.png' width=800>
32
31
  </p>
33
32
 
34
- ## Overview
35
- The rapid advancement of conversational and 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 provide 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 chat agents, providing a valuable resource for investigating conversational language models. 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. The GitHub repository of this project is made publicly available on: [https://github.com/camel-ai/camel](https://github.com/camel-ai/camel).
36
33
 
37
34
  ## Community
38
- 🐫 CAMEL is an open-source library designed for the study of autonomous and communicative agents. We believe that studying these agents on a large scale offers valuable insights into their behaviors, capabilities, and potential risks. To facilitate research in this field, we implement and support various types of agents, tasks, prompts, models, and simulated environments.
35
+ 🐫 CAMEL is an open-source community dedicated to finding the scaling laws of agents. We believe that studying these agents on a large scale offers valuable insights into their behaviors, capabilities, and potential risks. To facilitate research in this field, we implement and support various types of agents, tasks, prompts, models, and simulated environments.
39
36
 
40
- Join us ([*Slack*](https://join.slack.com/t/camel-ai/shared_invite/zt-2g7xc41gy-_7rcrNNAArIP6sLQqldkqQ), [*Discord*](https://discord.gg/CNcNpquyDc) or [*WeChat*](https://ghli.org/camel/wechat.png)) in pushing the boundaries of building AI Society.
37
+ Join us ([*Discord*](https://discord.camel-ai.org/), [*WeChat*](https://ghli.org/camel/wechat.png) or [*Slack*](https://join.slack.com/t/camel-ai/shared_invite/zt-2g7xc41gy-_7rcrNNAArIP6sLQqldkqQ)) in pushing the boundaries of finding the scaling laws of agents.
41
38
 
42
39
  ## Try it yourself
43
40
  We provide a [![Google Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1AzP33O8rnMW__7ocWJhVBXjKziJXPtim?usp=sharing) demo showcasing a conversation between two ChatGPT agents playing roles as a python programmer and a stock trader collaborating on developing a trading bot for stock market.
@@ -73,7 +70,7 @@ Some features require extra dependencies:
73
70
  Install `CAMEL` from source with poetry (Recommended):
74
71
  ```sh
75
72
  # Make sure your python version is later than 3.10
76
- # You can use pyenv to manage multiple python verisons in your sytstem
73
+ # You can use pyenv to manage multiple python versions in your system
77
74
 
78
75
  # Clone github repo
79
76
  git clone https://github.com/camel-ai/camel.git
@@ -81,7 +78,7 @@ git clone https://github.com/camel-ai/camel.git
81
78
  # Change directory into project directory
82
79
  cd camel
83
80
 
84
- # If you didn't install peotry before
81
+ # If you didn't install poetry before
85
82
  pip install poetry # (Optional)
86
83
 
87
84
  # We suggest using python 3.10
@@ -119,7 +116,7 @@ conda create --name camel python=3.10
119
116
  conda activate camel
120
117
 
121
118
  # Clone github repo
122
- git clone -b v0.2.0 https://github.com/camel-ai/camel.git
119
+ git clone -b v0.2.3 https://github.com/camel-ai/camel.git
123
120
 
124
121
  # Change directory into project directory
125
122
  cd camel
@@ -190,35 +187,7 @@ Please note that the environment variable is session-specific. If you open a new
190
187
  ```bash
191
188
  ollama pull llama3
192
189
  ```
193
- - Create a ModelFile similar the one below in your project directory.
194
- ```bash
195
- FROM llama3
196
-
197
- # Set parameters
198
- PARAMETER temperature 0.8
199
- PARAMETER stop Result
200
-
201
- # Sets a custom system message to specify the behavior of the chat assistant
202
-
203
- # Leaving it blank for now.
204
-
205
- SYSTEM """ """
206
- ```
207
- - Create a script to get the base model (llama3) and create a custom model using the ModelFile above. Save this as a .sh file:
208
- ```bash
209
- #!/bin/zsh
210
-
211
- # variables
212
- model_name="llama3"
213
- custom_model_name="camel-llama3"
214
-
215
- #get the base model
216
- ollama pull $model_name
217
-
218
- #create the model file
219
- ollama create $custom_model_name -f ./Llama3ModelFile
220
- ```
221
- - Navigate to the directory where the script and ModelFile are located and run the script. Enjoy your Llama3 model, enhanced by CAMEL's excellent agents.
190
+ - Run the script. Enjoy your Llama3 model, enhanced by CAMEL's excellent agents.
222
191
  ```python
223
192
  from camel.agents import ChatAgent
224
193
  from camel.messages import BaseMessage
@@ -228,7 +197,6 @@ Please note that the environment variable is session-specific. If you open a new
228
197
  ollama_model = ModelFactory.create(
229
198
  model_platform=ModelPlatformType.OLLAMA,
230
199
  model_type="llama3",
231
- url="http://localhost:11434/v1",
232
200
  model_config_dict={"temperature": 0.4},
233
201
  )
234
202
 
@@ -315,7 +283,7 @@ We implemented amazing research ideas from other works for you to build, compare
315
283
  year={2023}
316
284
  }
317
285
  ```
318
- ## Acknowledgement
286
+ ## Acknowledgment
319
287
  Special thanks to [Nomic AI](https://home.nomic.ai/) for giving us extended access to their data set exploration tool (Atlas).
320
288
 
321
289
  We would also like to thank Haya Hammoud for designing the initial logo of our project.
@@ -324,16 +292,14 @@ We would also like to thank Haya Hammoud for designing the initial logo of our p
324
292
 
325
293
  The source code is licensed under Apache 2.0.
326
294
 
327
- The datasets are licensed under CC BY NC 4.0, which permits only non-commercial usage. It is advised that any models trained using the dataset should not be utilized for anything other than research purposes.
328
-
329
295
  ## Contributing to CAMEL 🐫
330
296
  We appreciate your interest in contributing to our open-source initiative. We provide a document of [contributing guidelines](https://github.com/camel-ai/camel/blob/master/CONTRIBUTING.md) which outlines the steps for contributing to CAMEL. Please refer to this guide to ensure smooth collaboration and successful contributions. 🤝🚀
331
297
 
332
298
  ## Contact
333
299
  For more information please contact camel.ai.team@gmail.com.
334
300
 
335
- [python-image]: https://img.shields.io/badge/Python-3.10%2B-brightgreen.svg
336
- [python-url]: https://docs.python.org/3.10/
301
+ [python-image]: https://img.shields.io/badge/Python-3.10%2C%203.11%2C%203.12-brightgreen.svg
302
+ [python-url]: https://www.python.org/
337
303
  [pytest-image]: https://github.com/camel-ai/camel/actions/workflows/pytest_package.yml/badge.svg
338
304
  [pytest-url]: https://github.com/camel-ai/camel/actions/workflows/pytest_package.yml
339
305
  [docs-image]: https://img.shields.io/badge/Documentation-grey.svg?logo=github
@@ -342,8 +308,6 @@ For more information please contact camel.ai.team@gmail.com.
342
308
  [star-url]: https://github.com/camel-ai/camel/stargazers
343
309
  [package-license-image]: https://img.shields.io/badge/License-Apache_2.0-blue.svg
344
310
  [package-license-url]: https://github.com/camel-ai/camel/blob/master/licenses/LICENSE
345
- [data-license-image]: https://img.shields.io/badge/License-CC_BY--NC_4.0-lightgrey.svg
346
- [data-license-url]: https://github.com/camel-ai/camel/blob/master/licenses/DATA_LICENSE
347
311
 
348
312
  [colab-url]: https://colab.research.google.com/drive/1AzP33O8rnMW__7ocWJhVBXjKziJXPtim?usp=sharing
349
313
  [colab-image]: https://colab.research.google.com/assets/colab-badge.svg
@@ -351,7 +315,7 @@ For more information please contact camel.ai.team@gmail.com.
351
315
  [huggingface-image]: https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-CAMEL--AI-ffc107?color=ffc107&logoColor=white
352
316
  [slack-url]: https://join.slack.com/t/camel-ai/shared_invite/zt-2g7xc41gy-_7rcrNNAArIP6sLQqldkqQ
353
317
  [slack-image]: https://img.shields.io/badge/Slack-CAMEL--AI-blueviolet?logo=slack
354
- [discord-url]: https://discord.gg/CNcNpquyDc
318
+ [discord-url]: https://discord.camel-ai.org/
355
319
  [discord-image]: https://img.shields.io/badge/Discord-CAMEL--AI-7289da?logo=discord&logoColor=white&color=7289da
356
320
  [wechat-url]: https://ghli.org/camel/wechat.png
357
321
  [wechat-image]: https://img.shields.io/badge/WeChat-CamelAIOrg-brightgreen?logo=wechat&logoColor=white
@@ -12,7 +12,7 @@
12
12
  # limitations under the License.
13
13
  # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========
14
14
 
15
- __version__ = '0.2.0'
15
+ __version__ = '0.2.3'
16
16
 
17
17
  __all__ = [
18
18
  '__version__',