camel-ai 0.2.3a1__tar.gz → 0.2.4__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 (212) hide show
  1. camel_ai-0.2.4/LICENSE +201 -0
  2. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/PKG-INFO +27 -56
  3. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/README.md +12 -48
  4. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/__init__.py +1 -1
  5. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/agents/chat_agent.py +93 -69
  6. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/agents/knowledge_graph_agent.py +4 -6
  7. camel_ai-0.2.4/camel/bots/__init__.py +34 -0
  8. camel_ai-0.2.4/camel/bots/discord_app.py +138 -0
  9. {camel_ai-0.2.3a1/camel/bots → camel_ai-0.2.4/camel/bots/slack}/__init__.py +14 -4
  10. camel_ai-0.2.4/camel/bots/slack/models.py +158 -0
  11. camel_ai-0.2.4/camel/bots/slack/slack_app.py +255 -0
  12. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/configs/__init__.py +1 -2
  13. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/configs/anthropic_config.py +2 -5
  14. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/configs/base_config.py +6 -6
  15. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/configs/groq_config.py +2 -3
  16. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/configs/ollama_config.py +1 -2
  17. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/configs/openai_config.py +2 -23
  18. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/configs/samba_config.py +2 -2
  19. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/configs/togetherai_config.py +1 -1
  20. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/configs/vllm_config.py +1 -1
  21. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/configs/zhipuai_config.py +2 -3
  22. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/embeddings/openai_embedding.py +2 -2
  23. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/loaders/__init__.py +2 -0
  24. camel_ai-0.2.4/camel/loaders/chunkr_reader.py +163 -0
  25. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/loaders/firecrawl_reader.py +3 -3
  26. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/loaders/unstructured_io.py +35 -33
  27. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/messages/__init__.py +1 -0
  28. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/models/__init__.py +2 -4
  29. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/models/anthropic_model.py +32 -26
  30. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/models/azure_openai_model.py +39 -36
  31. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/models/base_model.py +31 -20
  32. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/models/gemini_model.py +37 -29
  33. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/models/groq_model.py +29 -23
  34. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/models/litellm_model.py +44 -61
  35. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/models/mistral_model.py +32 -29
  36. camel_ai-0.2.4/camel/models/model_factory.py +124 -0
  37. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/models/nemotron_model.py +33 -23
  38. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/models/ollama_model.py +42 -47
  39. camel_ai-0.2.3a1/camel/models/openai_compatibility_model.py → camel_ai-0.2.4/camel/models/openai_compatible_model.py +31 -49
  40. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/models/openai_model.py +48 -29
  41. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/models/reka_model.py +30 -28
  42. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/models/samba_model.py +82 -177
  43. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/models/stub_model.py +2 -2
  44. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/models/togetherai_model.py +37 -43
  45. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/models/vllm_model.py +43 -50
  46. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/models/zhipuai_model.py +33 -27
  47. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/retrievers/auto_retriever.py +29 -97
  48. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/retrievers/vector_retriever.py +58 -47
  49. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/societies/babyagi_playing.py +6 -3
  50. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/societies/role_playing.py +5 -3
  51. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/graph_storages/graph_element.py +2 -2
  52. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/key_value_storages/json.py +6 -1
  53. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/__init__.py +20 -7
  54. camel_ai-0.2.4/camel/toolkits/arxiv_toolkit.py +155 -0
  55. camel_ai-0.2.4/camel/toolkits/ask_news_toolkit.py +653 -0
  56. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/base.py +2 -3
  57. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/code_execution.py +6 -7
  58. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/dalle_toolkit.py +6 -6
  59. camel_ai-0.2.3a1/camel/toolkits/openai_function.py → camel_ai-0.2.4/camel/toolkits/function_tool.py +34 -11
  60. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/github_toolkit.py +9 -10
  61. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/google_maps_toolkit.py +7 -7
  62. camel_ai-0.2.4/camel/toolkits/google_scholar_toolkit.py +146 -0
  63. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/linkedin_toolkit.py +7 -7
  64. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/math_toolkit.py +8 -8
  65. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_toolkit.py +5 -5
  66. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/reddit_toolkit.py +7 -7
  67. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/retrieval_toolkit.py +5 -5
  68. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/search_toolkit.py +9 -9
  69. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/slack_toolkit.py +11 -11
  70. camel_ai-0.2.4/camel/toolkits/twitter_toolkit.py +445 -0
  71. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/weather_toolkit.py +6 -6
  72. camel_ai-0.2.4/camel/toolkits/whatsapp_toolkit.py +177 -0
  73. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/types/__init__.py +6 -1
  74. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/types/enums.py +40 -85
  75. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/types/openai_types.py +3 -0
  76. camel_ai-0.2.4/camel/types/unified_model_type.py +104 -0
  77. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/utils/__init__.py +0 -2
  78. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/utils/async_func.py +7 -7
  79. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/utils/commons.py +32 -3
  80. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/utils/token_counting.py +30 -212
  81. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/workforce/role_playing_worker.py +1 -1
  82. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/workforce/single_agent_worker.py +1 -1
  83. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/workforce/task_channel.py +4 -3
  84. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/workforce/workforce.py +4 -4
  85. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/pyproject.toml +39 -10
  86. camel_ai-0.2.3a1/camel/bots/discord_bot.py +0 -206
  87. camel_ai-0.2.3a1/camel/models/model_factory.py +0 -134
  88. camel_ai-0.2.3a1/camel/models/open_source_model.py +0 -170
  89. camel_ai-0.2.3a1/camel/toolkits/twitter_toolkit.py +0 -519
  90. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/agents/__init__.py +0 -0
  91. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/agents/base.py +0 -0
  92. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/agents/critic_agent.py +0 -0
  93. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/agents/deductive_reasoner_agent.py +0 -0
  94. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/agents/embodied_agent.py +0 -0
  95. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/agents/role_assignment_agent.py +0 -0
  96. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/agents/search_agent.py +0 -0
  97. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/agents/task_agent.py +0 -0
  98. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/agents/tool_agents/__init__.py +0 -0
  99. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/agents/tool_agents/base.py +0 -0
  100. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/agents/tool_agents/hugging_face_tool_agent.py +0 -0
  101. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/bots/telegram_bot.py +0 -0
  102. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/configs/gemini_config.py +0 -0
  103. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/configs/litellm_config.py +0 -0
  104. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/configs/mistral_config.py +0 -0
  105. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/configs/reka_config.py +0 -0
  106. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/embeddings/__init__.py +0 -0
  107. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/embeddings/base.py +0 -0
  108. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/embeddings/mistral_embedding.py +0 -0
  109. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/embeddings/sentence_transformers_embeddings.py +0 -0
  110. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/embeddings/vlm_embedding.py +0 -0
  111. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/generators.py +0 -0
  112. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/human.py +0 -0
  113. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/interpreters/__init__.py +0 -0
  114. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/interpreters/base.py +0 -0
  115. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/interpreters/docker_interpreter.py +0 -0
  116. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/interpreters/internal_python_interpreter.py +0 -0
  117. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/interpreters/interpreter_error.py +0 -0
  118. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/interpreters/ipython_interpreter.py +0 -0
  119. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/interpreters/subprocess_interpreter.py +0 -0
  120. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/loaders/base_io.py +0 -0
  121. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/loaders/jina_url_reader.py +0 -0
  122. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/memories/__init__.py +0 -0
  123. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/memories/agent_memories.py +0 -0
  124. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/memories/base.py +0 -0
  125. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/memories/blocks/__init__.py +0 -0
  126. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/memories/blocks/chat_history_block.py +0 -0
  127. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/memories/blocks/vectordb_block.py +0 -0
  128. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/memories/context_creators/__init__.py +0 -0
  129. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/memories/context_creators/score_based.py +0 -0
  130. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/memories/records.py +0 -0
  131. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/messages/base.py +0 -0
  132. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/messages/func_message.py +0 -0
  133. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/models/openai_audio_models.py +0 -0
  134. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/prompts/__init__.py +0 -0
  135. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/prompts/ai_society.py +0 -0
  136. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/prompts/base.py +0 -0
  137. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/prompts/code.py +0 -0
  138. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/prompts/evaluation.py +0 -0
  139. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/prompts/generate_text_embedding_data.py +0 -0
  140. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/prompts/image_craft.py +0 -0
  141. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/prompts/misalignment.py +0 -0
  142. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/prompts/multi_condition_image_craft.py +0 -0
  143. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/prompts/object_recognition.py +0 -0
  144. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/prompts/prompt_templates.py +0 -0
  145. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/prompts/role_description_prompt_template.py +0 -0
  146. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/prompts/solution_extraction.py +0 -0
  147. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/prompts/task_prompt_template.py +0 -0
  148. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/prompts/translation.py +0 -0
  149. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/prompts/video_description_prompt.py +0 -0
  150. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/responses/__init__.py +0 -0
  151. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/responses/agent_responses.py +0 -0
  152. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/retrievers/__init__.py +0 -0
  153. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/retrievers/base.py +0 -0
  154. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/retrievers/bm25_retriever.py +0 -0
  155. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/retrievers/cohere_rerank_retriever.py +0 -0
  156. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/societies/__init__.py +0 -0
  157. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/__init__.py +0 -0
  158. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/graph_storages/__init__.py +0 -0
  159. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/graph_storages/base.py +0 -0
  160. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/graph_storages/nebula_graph.py +0 -0
  161. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/graph_storages/neo4j_graph.py +0 -0
  162. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/key_value_storages/__init__.py +0 -0
  163. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/key_value_storages/base.py +0 -0
  164. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/key_value_storages/in_memory.py +0 -0
  165. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/key_value_storages/redis.py +0 -0
  166. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/object_storages/__init__.py +0 -0
  167. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/object_storages/amazon_s3.py +0 -0
  168. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/object_storages/azure_blob.py +0 -0
  169. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/object_storages/base.py +0 -0
  170. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/object_storages/google_cloud.py +0 -0
  171. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/vectordb_storages/__init__.py +0 -0
  172. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/vectordb_storages/base.py +0 -0
  173. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/vectordb_storages/milvus.py +0 -0
  174. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/storages/vectordb_storages/qdrant.py +0 -0
  175. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/tasks/__init__.py +0 -0
  176. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/tasks/task.py +0 -0
  177. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/tasks/task_prompt.py +0 -0
  178. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/terminators/__init__.py +0 -0
  179. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/terminators/base.py +0 -0
  180. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/terminators/response_terminator.py +0 -0
  181. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/terminators/token_limit_terminator.py +0 -0
  182. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/biztoc/__init__.py +0 -0
  183. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/biztoc/ai-plugin.json +0 -0
  184. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/biztoc/openapi.yaml +0 -0
  185. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/coursera/__init__.py +0 -0
  186. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/coursera/openapi.yaml +0 -0
  187. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/create_qr_code/__init__.py +0 -0
  188. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/create_qr_code/openapi.yaml +0 -0
  189. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/klarna/__init__.py +0 -0
  190. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/klarna/openapi.yaml +0 -0
  191. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/nasa_apod/__init__.py +0 -0
  192. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/nasa_apod/openapi.yaml +0 -0
  193. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/outschool/__init__.py +0 -0
  194. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/outschool/ai-plugin.json +0 -0
  195. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/outschool/openapi.yaml +0 -0
  196. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/outschool/paths/__init__.py +0 -0
  197. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/outschool/paths/get_classes.py +0 -0
  198. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/outschool/paths/search_teachers.py +0 -0
  199. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/security_config.py +0 -0
  200. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/speak/__init__.py +0 -0
  201. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/speak/openapi.yaml +0 -0
  202. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/web_scraper/__init__.py +0 -0
  203. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/web_scraper/ai-plugin.json +0 -0
  204. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/web_scraper/openapi.yaml +0 -0
  205. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/web_scraper/paths/__init__.py +0 -0
  206. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/toolkits/open_api_specs/web_scraper/paths/scraper.py +0 -0
  207. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/utils/constants.py +0 -0
  208. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/workforce/__init__.py +0 -0
  209. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/workforce/base.py +0 -0
  210. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/workforce/prompts.py +0 -0
  211. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/workforce/utils.py +0 -0
  212. {camel_ai-0.2.3a1 → camel_ai-0.2.4}/camel/workforce/worker.py +0 -0
camel_ai-0.2.4/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.3a1
3
+ Version: 0.2.4
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
@@ -27,7 +28,10 @@ Provides-Extra: vector-databases
27
28
  Requires-Dist: PyMuPDF (>=1.22.5,<2.0.0) ; extra == "tools" or extra == "all"
28
29
  Requires-Dist: accelerate (>=0,<1) ; extra == "huggingface-agent" or extra == "all"
29
30
  Requires-Dist: agentops (>=0.3.6,<0.4.0) ; extra == "tools" or extra == "all"
30
- 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"
31
35
  Requires-Dist: azure-storage-blob (>=12.21.0,<13.0.0) ; extra == "object-storages" or extra == "all"
32
36
  Requires-Dist: beautifulsoup4 (>=4,<5) ; extra == "tools" or extra == "all"
33
37
  Requires-Dist: botocore (>=1.35.3,<2.0.0) ; extra == "object-storages" or extra == "all"
@@ -46,13 +50,12 @@ Requires-Dist: firecrawl-py (>=1.0.0,<2.0.0) ; extra == "tools" or extra == "all
46
50
  Requires-Dist: google-cloud-storage (>=2.18.0,<3.0.0) ; extra == "object-storages" or extra == "all"
47
51
  Requires-Dist: google-generativeai (>=0.6.0,<0.7.0) ; extra == "model-platforms" or extra == "all"
48
52
  Requires-Dist: googlemaps (>=4.10.0,<5.0.0) ; extra == "tools" or extra == "all"
49
- Requires-Dist: groq (>=0.5.0,<0.6.0)
50
53
  Requires-Dist: imageio[pyav] (>=2.34.2,<3.0.0) ; extra == "tools" or extra == "all"
51
- Requires-Dist: ipykernel (>=6.0.0,<7.0.0)
54
+ Requires-Dist: ipykernel (>=6.0.0,<7.0.0) ; extra == "tools" or extra == "all"
52
55
  Requires-Dist: jsonschema (>=4,<5)
53
56
  Requires-Dist: jupyter_client (>=8.6.2,<9.0.0) ; extra == "tools" or extra == "all"
54
57
  Requires-Dist: litellm (>=1.38.1,<2.0.0) ; extra == "model-platforms" or extra == "all"
55
- 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"
56
59
  Requires-Dist: mock (>=5,<6) ; extra == "test"
57
60
  Requires-Dist: nebula3-python (==3.8.2) ; extra == "rag" or extra == "graph-storages" or extra == "all"
58
61
  Requires-Dist: neo4j (>=5.18.0,<6.0.0) ; extra == "rag" or extra == "graph-storages" or extra == "all"
@@ -64,6 +67,7 @@ Requires-Dist: openapi-spec-validator (>=0.7.1,<0.8.0) ; extra == "tools" or ext
64
67
  Requires-Dist: opencv-python (>=4,<5) ; extra == "huggingface-agent" or extra == "all"
65
68
  Requires-Dist: pandoc
66
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"
67
71
  Requires-Dist: pillow (>=10.2.0,<11.0.0) ; extra == "tools" or extra == "all"
68
72
  Requires-Dist: prance (>=23.6.21.0,<24.0.0.0) ; extra == "tools" or extra == "all"
69
73
  Requires-Dist: praw (>=7.7.1,<8.0.0) ; extra == "tools" or extra == "all"
@@ -81,15 +85,18 @@ Requires-Dist: rank-bm25 (>=0.2.2,<0.3.0) ; extra == "rag" or extra == "retrieve
81
85
  Requires-Dist: redis (>=5.0.6,<6.0.0) ; extra == "kv-stroages" or extra == "all"
82
86
  Requires-Dist: reka-api (>=3.0.8,<4.0.0) ; extra == "model-platforms" or extra == "all"
83
87
  Requires-Dist: requests_oauthlib (>=1.3.1,<2.0.0) ; extra == "tools" or extra == "all"
88
+ Requires-Dist: scholarly[tor] (==1.7.11) ; extra == "tools" or extra == "all"
84
89
  Requires-Dist: sentence-transformers (>=3.0.1,<4.0.0) ; extra == "rag" or extra == "encoders" or extra == "all"
85
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"
86
92
  Requires-Dist: slack-sdk (>=3.27.2,<4.0.0) ; extra == "tools" or extra == "all"
87
93
  Requires-Dist: soundfile (>=0,<1) ; extra == "huggingface-agent" or extra == "all"
88
94
  Requires-Dist: textblob (>=0.18.0.post0,<0.19.0) ; extra == "tools" or extra == "all"
89
95
  Requires-Dist: tiktoken (>=0.7.0,<0.8.0)
90
- 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")
91
98
  Requires-Dist: transformers (>=4,<5) ; extra == "huggingface-agent" or extra == "all"
92
- Requires-Dist: unstructured[all-docs] (>=0.10,<0.11) ; extra == "rag" or extra == "tools" or extra == "all"
99
+ Requires-Dist: unstructured[all-docs] (>=0.14,<0.15) ; extra == "rag" or extra == "tools" or extra == "all"
93
100
  Requires-Dist: wikipedia (>=1,<2) ; extra == "search-tools" or extra == "tools" or extra == "all"
94
101
  Requires-Dist: wolframalpha (>=5.0.0,<6.0.0) ; extra == "search-tools" or extra == "tools" or extra == "all"
95
102
  Project-URL: Documentation, https://docs.camel-ai.org
@@ -105,14 +112,13 @@ Description-Content-Type: text/markdown
105
112
 
106
113
  ______________________________________________________________________
107
114
 
108
- # CAMEL: Communicative Agents for “Mind” Exploration of Large Language Model Society
115
+ # CAMEL: Finding the Scaling Laws of Agents
109
116
 
110
117
  [![Python Version][python-image]][python-url]
111
118
  [![PyTest Status][pytest-image]][pytest-url]
112
119
  [![Documentation][docs-image]][docs-url]
113
120
  [![Star][star-image]][star-url]
114
121
  [![Package License][package-license-image]][package-license-url]
115
- [![Data License][data-license-image]][data-license-url]
116
122
 
117
123
  <p align="center">
118
124
  <a href="https://github.com/camel-ai/camel#community">Community</a> |
@@ -126,16 +132,14 @@ ______________________________________________________________________
126
132
  </p>
127
133
 
128
134
  <p align="center">
129
- <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>
130
136
  </p>
131
137
 
132
- ## Overview
133
- 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).
134
138
 
135
139
  ## Community
136
- 🐫 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.
137
141
 
138
- 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.
139
143
 
140
144
  ## Try it yourself
141
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.
@@ -171,7 +175,7 @@ Some features require extra dependencies:
171
175
  Install `CAMEL` from source with poetry (Recommended):
172
176
  ```sh
173
177
  # Make sure your python version is later than 3.10
174
- # 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
175
179
 
176
180
  # Clone github repo
177
181
  git clone https://github.com/camel-ai/camel.git
@@ -179,7 +183,7 @@ git clone https://github.com/camel-ai/camel.git
179
183
  # Change directory into project directory
180
184
  cd camel
181
185
 
182
- # If you didn't install peotry before
186
+ # If you didn't install poetry before
183
187
  pip install poetry # (Optional)
184
188
 
185
189
  # We suggest using python 3.10
@@ -217,7 +221,7 @@ conda create --name camel python=3.10
217
221
  conda activate camel
218
222
 
219
223
  # Clone github repo
220
- git clone -b v0.2.2 https://github.com/camel-ai/camel.git
224
+ git clone -b v0.2.4 https://github.com/camel-ai/camel.git
221
225
 
222
226
  # Change directory into project directory
223
227
  cd camel
@@ -288,35 +292,7 @@ Please note that the environment variable is session-specific. If you open a new
288
292
  ```bash
289
293
  ollama pull llama3
290
294
  ```
291
- - Create a ModelFile similar the one below in your project directory.
292
- ```bash
293
- FROM llama3
294
-
295
- # Set parameters
296
- PARAMETER temperature 0.8
297
- PARAMETER stop Result
298
-
299
- # Sets a custom system message to specify the behavior of the chat assistant
300
-
301
- # Leaving it blank for now.
302
-
303
- SYSTEM """ """
304
- ```
305
- - Create a script to get the base model (llama3) and create a custom model using the ModelFile above. Save this as a .sh file:
306
- ```bash
307
- #!/bin/zsh
308
-
309
- # variables
310
- model_name="llama3"
311
- custom_model_name="camel-llama3"
312
-
313
- #get the base model
314
- ollama pull $model_name
315
-
316
- #create the model file
317
- ollama create $custom_model_name -f ./Llama3ModelFile
318
- ```
319
- - 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.
320
296
  ```python
321
297
  from camel.agents import ChatAgent
322
298
  from camel.messages import BaseMessage
@@ -326,7 +302,6 @@ Please note that the environment variable is session-specific. If you open a new
326
302
  ollama_model = ModelFactory.create(
327
303
  model_platform=ModelPlatformType.OLLAMA,
328
304
  model_type="llama3",
329
- url="http://localhost:11434/v1",
330
305
  model_config_dict={"temperature": 0.4},
331
306
  )
332
307
 
@@ -413,7 +388,7 @@ We implemented amazing research ideas from other works for you to build, compare
413
388
  year={2023}
414
389
  }
415
390
  ```
416
- ## Acknowledgement
391
+ ## Acknowledgment
417
392
  Special thanks to [Nomic AI](https://home.nomic.ai/) for giving us extended access to their data set exploration tool (Atlas).
418
393
 
419
394
  We would also like to thank Haya Hammoud for designing the initial logo of our project.
@@ -422,16 +397,14 @@ We would also like to thank Haya Hammoud for designing the initial logo of our p
422
397
 
423
398
  The source code is licensed under Apache 2.0.
424
399
 
425
- 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.
426
-
427
400
  ## Contributing to CAMEL 🐫
428
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. 🤝🚀
429
402
 
430
403
  ## Contact
431
404
  For more information please contact camel.ai.team@gmail.com.
432
405
 
433
- [python-image]: https://img.shields.io/badge/Python-3.10%2B-brightgreen.svg
434
- [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/
435
408
  [pytest-image]: https://github.com/camel-ai/camel/actions/workflows/pytest_package.yml/badge.svg
436
409
  [pytest-url]: https://github.com/camel-ai/camel/actions/workflows/pytest_package.yml
437
410
  [docs-image]: https://img.shields.io/badge/Documentation-grey.svg?logo=github
@@ -440,8 +413,6 @@ For more information please contact camel.ai.team@gmail.com.
440
413
  [star-url]: https://github.com/camel-ai/camel/stargazers
441
414
  [package-license-image]: https://img.shields.io/badge/License-Apache_2.0-blue.svg
442
415
  [package-license-url]: https://github.com/camel-ai/camel/blob/master/licenses/LICENSE
443
- [data-license-image]: https://img.shields.io/badge/License-CC_BY--NC_4.0-lightgrey.svg
444
- [data-license-url]: https://github.com/camel-ai/camel/blob/master/licenses/DATA_LICENSE
445
416
 
446
417
  [colab-url]: https://colab.research.google.com/drive/1AzP33O8rnMW__7ocWJhVBXjKziJXPtim?usp=sharing
447
418
  [colab-image]: https://colab.research.google.com/assets/colab-badge.svg
@@ -449,7 +420,7 @@ For more information please contact camel.ai.team@gmail.com.
449
420
  [huggingface-image]: https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-CAMEL--AI-ffc107?color=ffc107&logoColor=white
450
421
  [slack-url]: https://join.slack.com/t/camel-ai/shared_invite/zt-2g7xc41gy-_7rcrNNAArIP6sLQqldkqQ
451
422
  [slack-image]: https://img.shields.io/badge/Slack-CAMEL--AI-blueviolet?logo=slack
452
- [discord-url]: https://discord.gg/CNcNpquyDc
423
+ [discord-url]: https://discord.camel-ai.org/
453
424
  [discord-image]: https://img.shields.io/badge/Discord-CAMEL--AI-7289da?logo=discord&logoColor=white&color=7289da
454
425
  [wechat-url]: https://ghli.org/camel/wechat.png
455
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.2 https://github.com/camel-ai/camel.git
119
+ git clone -b v0.2.4 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.2'
15
+ __version__ = '0.2.4'
16
16
 
17
17
  __all__ = [
18
18
  '__version__',