ag2 0.9.1a1__tar.gz → 0.9.1.post0__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 ag2 might be problematic. Click here for more details.

Files changed (944) hide show
  1. ag2-0.9.1.post0/.coveragerc +6 -0
  2. ag2-0.9.1.post0/.devcontainer/Dockerfile +38 -0
  3. ag2-0.9.1.post0/.devcontainer/README.md +28 -0
  4. ag2-0.9.1.post0/.devcontainer/devcontainer.json +94 -0
  5. ag2-0.9.1.post0/.devcontainer/python-3.10/devcontainer.json +94 -0
  6. ag2-0.9.1.post0/.devcontainer/python-3.11/devcontainer.json +94 -0
  7. ag2-0.9.1.post0/.devcontainer/python-3.12/devcontainer.json +94 -0
  8. ag2-0.9.1.post0/.devcontainer/python-3.13/devcontainer.json +94 -0
  9. ag2-0.9.1.post0/.devcontainer/setup.sh +8 -0
  10. ag2-0.9.1.post0/.gitattributes +93 -0
  11. ag2-0.9.1.post0/.github/ISSUE_TEMPLATE/bug_report.yml +53 -0
  12. ag2-0.9.1.post0/.github/ISSUE_TEMPLATE/config.yml +1 -0
  13. ag2-0.9.1.post0/.github/ISSUE_TEMPLATE/feature_request.yml +26 -0
  14. ag2-0.9.1.post0/.github/ISSUE_TEMPLATE/general_issue.yml +41 -0
  15. ag2-0.9.1.post0/.github/ISSUE_TEMPLATE.md +57 -0
  16. ag2-0.9.1.post0/.github/PULL_REQUEST_TEMPLATE.md +17 -0
  17. ag2-0.9.1.post0/.github/dependabot.yml +27 -0
  18. ag2-0.9.1.post0/.github/workflows/build-docs.yml +68 -0
  19. ag2-0.9.1.post0/.github/workflows/build-mkdocs.yml +70 -0
  20. ag2-0.9.1.post0/.github/workflows/contrib-graph-rag-tests.yml +213 -0
  21. ag2-0.9.1.post0/.github/workflows/contrib-llm-test.yml +219 -0
  22. ag2-0.9.1.post0/.github/workflows/contrib-test.yml +872 -0
  23. ag2-0.9.1.post0/.github/workflows/core-llm-test.yml +101 -0
  24. ag2-0.9.1.post0/.github/workflows/core-test.yml +137 -0
  25. ag2-0.9.1.post0/.github/workflows/deploy-website-mintlify.yml +23 -0
  26. ag2-0.9.1.post0/.github/workflows/deploy-website.yml +23 -0
  27. ag2-0.9.1.post0/.github/workflows/docs-check-broken-links.yml +31 -0
  28. ag2-0.9.1.post0/.github/workflows/integration-test.yml +131 -0
  29. ag2-0.9.1.post0/.github/workflows/lfs-check.yml +19 -0
  30. ag2-0.9.1.post0/.github/workflows/mkdocs-check-broken-links.yml +25 -0
  31. ag2-0.9.1.post0/.github/workflows/pr-checks.yml +166 -0
  32. ag2-0.9.1.post0/.github/workflows/python-package.yml +67 -0
  33. ag2-0.9.1.post0/.github/workflows/test-with-optional-deps.yml +202 -0
  34. ag2-0.9.1.post0/.github/workflows/type-check.yml +86 -0
  35. ag2-0.9.1.post0/.gitignore +199 -0
  36. ag2-0.9.1.post0/.muffet-excluded-links.txt +33 -0
  37. ag2-0.9.1.post0/.pre-commit-config.yaml +125 -0
  38. ag2-0.9.1.post0/CITATION.cff +48 -0
  39. ag2-0.9.1.post0/MAINTAINERS.md +49 -0
  40. ag2-0.9.1.post0/OAI_CONFIG_LIST_sample +18 -0
  41. {ag2-0.9.1a1/ag2.egg-info → ag2-0.9.1.post0}/PKG-INFO +307 -60
  42. {ag2-0.9.1a1 → ag2-0.9.1.post0}/README.md +2 -2
  43. ag2-0.9.1.post0/TRANSPARENCY_FAQS.md +58 -0
  44. ag2-0.9.1.post0/announcements.md +47 -0
  45. ag2-0.9.1.post0/autogen/__init__.py +89 -0
  46. ag2-0.9.1.post0/autogen/_website/__init__.py +3 -0
  47. ag2-0.9.1.post0/autogen/_website/generate_api_references.py +427 -0
  48. ag2-0.9.1.post0/autogen/_website/generate_mkdocs.py +1174 -0
  49. ag2-0.9.1.post0/autogen/_website/notebook_processor.py +476 -0
  50. ag2-0.9.1.post0/autogen/_website/process_notebooks.py +656 -0
  51. ag2-0.9.1.post0/autogen/_website/utils.py +412 -0
  52. ag2-0.9.1.post0/autogen/agentchat/__init__.py +44 -0
  53. ag2-0.9.1.post0/autogen/agentchat/agent.py +182 -0
  54. ag2-0.9.1.post0/autogen/agentchat/assistant_agent.py +85 -0
  55. ag2-0.9.1.post0/autogen/agentchat/chat.py +309 -0
  56. ag2-0.9.1.post0/autogen/agentchat/contrib/__init__.py +5 -0
  57. ag2-0.9.1.post0/autogen/agentchat/contrib/agent_eval/README.md +7 -0
  58. ag2-0.9.1.post0/autogen/agentchat/contrib/agent_eval/agent_eval.py +108 -0
  59. ag2-0.9.1.post0/autogen/agentchat/contrib/agent_eval/criterion.py +43 -0
  60. ag2-0.9.1.post0/autogen/agentchat/contrib/agent_eval/critic_agent.py +44 -0
  61. ag2-0.9.1.post0/autogen/agentchat/contrib/agent_eval/quantifier_agent.py +39 -0
  62. ag2-0.9.1.post0/autogen/agentchat/contrib/agent_eval/subcritic_agent.py +45 -0
  63. ag2-0.9.1.post0/autogen/agentchat/contrib/agent_eval/task.py +42 -0
  64. ag2-0.9.1.post0/autogen/agentchat/contrib/agent_optimizer.py +429 -0
  65. ag2-0.9.1.post0/autogen/agentchat/contrib/capabilities/__init__.py +5 -0
  66. ag2-0.9.1.post0/autogen/agentchat/contrib/capabilities/agent_capability.py +20 -0
  67. ag2-0.9.1.post0/autogen/agentchat/contrib/capabilities/generate_images.py +301 -0
  68. ag2-0.9.1.post0/autogen/agentchat/contrib/capabilities/teachability.py +393 -0
  69. ag2-0.9.1.post0/autogen/agentchat/contrib/capabilities/text_compressors.py +66 -0
  70. ag2-0.9.1.post0/autogen/agentchat/contrib/capabilities/tools_capability.py +22 -0
  71. ag2-0.9.1.post0/autogen/agentchat/contrib/capabilities/transform_messages.py +93 -0
  72. ag2-0.9.1.post0/autogen/agentchat/contrib/capabilities/transforms.py +566 -0
  73. ag2-0.9.1.post0/autogen/agentchat/contrib/capabilities/transforms_util.py +122 -0
  74. ag2-0.9.1.post0/autogen/agentchat/contrib/capabilities/vision_capability.py +214 -0
  75. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/__init__.py +9 -0
  76. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/agent_builder.py +790 -0
  77. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/captainagent.py +512 -0
  78. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tool_retriever.py +335 -0
  79. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/README.md +44 -0
  80. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/__init__.py +5 -0
  81. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/data_analysis/calculate_correlation.py +40 -0
  82. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/data_analysis/calculate_skewness_and_kurtosis.py +28 -0
  83. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/data_analysis/detect_outlier_iqr.py +28 -0
  84. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/data_analysis/detect_outlier_zscore.py +28 -0
  85. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/data_analysis/explore_csv.py +21 -0
  86. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/data_analysis/shapiro_wilk_test.py +30 -0
  87. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/information_retrieval/arxiv_download.py +27 -0
  88. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/information_retrieval/arxiv_search.py +53 -0
  89. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/information_retrieval/extract_pdf_image.py +53 -0
  90. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/information_retrieval/extract_pdf_text.py +38 -0
  91. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/information_retrieval/get_wikipedia_text.py +21 -0
  92. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/information_retrieval/get_youtube_caption.py +34 -0
  93. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/information_retrieval/image_qa.py +60 -0
  94. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/information_retrieval/optical_character_recognition.py +61 -0
  95. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/information_retrieval/perform_web_search.py +47 -0
  96. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/information_retrieval/scrape_wikipedia_tables.py +33 -0
  97. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/information_retrieval/transcribe_audio_file.py +21 -0
  98. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/information_retrieval/youtube_download.py +35 -0
  99. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/math/calculate_circle_area_from_diameter.py +21 -0
  100. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/math/calculate_day_of_the_week.py +18 -0
  101. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/math/calculate_fraction_sum.py +28 -0
  102. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/math/calculate_matrix_power.py +31 -0
  103. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/math/calculate_reflected_point.py +16 -0
  104. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/math/complex_numbers_product.py +25 -0
  105. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/math/compute_currency_conversion.py +23 -0
  106. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/math/count_distinct_permutations.py +27 -0
  107. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/math/evaluate_expression.py +28 -0
  108. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/math/find_continuity_point.py +34 -0
  109. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/math/fraction_to_mixed_numbers.py +39 -0
  110. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/math/modular_inverse_sum.py +23 -0
  111. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/math/simplify_mixed_numbers.py +36 -0
  112. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/math/sum_of_digit_factorials.py +15 -0
  113. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/math/sum_of_primes_below.py +15 -0
  114. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/requirements.txt +10 -0
  115. ag2-0.9.1.post0/autogen/agentchat/contrib/captainagent/tools/tool_description.tsv +34 -0
  116. ag2-0.9.1.post0/autogen/agentchat/contrib/gpt_assistant_agent.py +526 -0
  117. ag2-0.9.1.post0/autogen/agentchat/contrib/graph_rag/__init__.py +9 -0
  118. ag2-0.9.1.post0/autogen/agentchat/contrib/graph_rag/document.py +29 -0
  119. ag2-0.9.1.post0/autogen/agentchat/contrib/graph_rag/falkor_graph_query_engine.py +170 -0
  120. ag2-0.9.1.post0/autogen/agentchat/contrib/graph_rag/falkor_graph_rag_capability.py +103 -0
  121. ag2-0.9.1.post0/autogen/agentchat/contrib/graph_rag/graph_query_engine.py +53 -0
  122. ag2-0.9.1.post0/autogen/agentchat/contrib/graph_rag/graph_rag_capability.py +63 -0
  123. ag2-0.9.1.post0/autogen/agentchat/contrib/graph_rag/neo4j_graph_query_engine.py +268 -0
  124. ag2-0.9.1.post0/autogen/agentchat/contrib/graph_rag/neo4j_graph_rag_capability.py +83 -0
  125. ag2-0.9.1.post0/autogen/agentchat/contrib/graph_rag/neo4j_native_graph_query_engine.py +210 -0
  126. ag2-0.9.1.post0/autogen/agentchat/contrib/graph_rag/neo4j_native_graph_rag_capability.py +93 -0
  127. ag2-0.9.1.post0/autogen/agentchat/contrib/img_utils.py +397 -0
  128. ag2-0.9.1.post0/autogen/agentchat/contrib/llamaindex_conversable_agent.py +117 -0
  129. ag2-0.9.1.post0/autogen/agentchat/contrib/llava_agent.py +187 -0
  130. ag2-0.9.1.post0/autogen/agentchat/contrib/math_user_proxy_agent.py +464 -0
  131. ag2-0.9.1.post0/autogen/agentchat/contrib/multimodal_conversable_agent.py +125 -0
  132. ag2-0.9.1.post0/autogen/agentchat/contrib/qdrant_retrieve_user_proxy_agent.py +324 -0
  133. ag2-0.9.1.post0/autogen/agentchat/contrib/rag/__init__.py +10 -0
  134. ag2-0.9.1.post0/autogen/agentchat/contrib/rag/chromadb_query_engine.py +272 -0
  135. ag2-0.9.1.post0/autogen/agentchat/contrib/rag/llamaindex_query_engine.py +198 -0
  136. ag2-0.9.1.post0/autogen/agentchat/contrib/rag/mongodb_query_engine.py +329 -0
  137. ag2-0.9.1.post0/autogen/agentchat/contrib/rag/query_engine.py +74 -0
  138. ag2-0.9.1.post0/autogen/agentchat/contrib/retrieve_assistant_agent.py +56 -0
  139. ag2-0.9.1.post0/autogen/agentchat/contrib/retrieve_user_proxy_agent.py +703 -0
  140. ag2-0.9.1.post0/autogen/agentchat/contrib/society_of_mind_agent.py +199 -0
  141. ag2-0.9.1.post0/autogen/agentchat/contrib/swarm_agent.py +1425 -0
  142. ag2-0.9.1.post0/autogen/agentchat/contrib/text_analyzer_agent.py +79 -0
  143. ag2-0.9.1.post0/autogen/agentchat/contrib/vectordb/__init__.py +5 -0
  144. ag2-0.9.1.post0/autogen/agentchat/contrib/vectordb/base.py +232 -0
  145. ag2-0.9.1.post0/autogen/agentchat/contrib/vectordb/chromadb.py +315 -0
  146. ag2-0.9.1.post0/autogen/agentchat/contrib/vectordb/couchbase.py +407 -0
  147. ag2-0.9.1.post0/autogen/agentchat/contrib/vectordb/mongodb.py +550 -0
  148. ag2-0.9.1.post0/autogen/agentchat/contrib/vectordb/pgvectordb.py +928 -0
  149. ag2-0.9.1.post0/autogen/agentchat/contrib/vectordb/qdrant.py +320 -0
  150. ag2-0.9.1.post0/autogen/agentchat/contrib/vectordb/utils.py +126 -0
  151. ag2-0.9.1.post0/autogen/agentchat/contrib/web_surfer.py +303 -0
  152. ag2-0.9.1.post0/autogen/agentchat/conversable_agent.py +4020 -0
  153. ag2-0.9.1.post0/autogen/agentchat/group/__init__.py +64 -0
  154. ag2-0.9.1.post0/autogen/agentchat/group/available_condition.py +91 -0
  155. ag2-0.9.1.post0/autogen/agentchat/group/context_condition.py +77 -0
  156. ag2-0.9.1.post0/autogen/agentchat/group/context_expression.py +238 -0
  157. ag2-0.9.1.post0/autogen/agentchat/group/context_str.py +41 -0
  158. ag2-0.9.1.post0/autogen/agentchat/group/context_variables.py +192 -0
  159. ag2-0.9.1.post0/autogen/agentchat/group/group_tool_executor.py +202 -0
  160. ag2-0.9.1.post0/autogen/agentchat/group/group_utils.py +591 -0
  161. ag2-0.9.1.post0/autogen/agentchat/group/handoffs.py +244 -0
  162. ag2-0.9.1.post0/autogen/agentchat/group/llm_condition.py +93 -0
  163. ag2-0.9.1.post0/autogen/agentchat/group/multi_agent_chat.py +237 -0
  164. ag2-0.9.1.post0/autogen/agentchat/group/on_condition.py +58 -0
  165. ag2-0.9.1.post0/autogen/agentchat/group/on_context_condition.py +54 -0
  166. ag2-0.9.1.post0/autogen/agentchat/group/patterns/__init__.py +18 -0
  167. ag2-0.9.1.post0/autogen/agentchat/group/patterns/auto.py +159 -0
  168. ag2-0.9.1.post0/autogen/agentchat/group/patterns/manual.py +176 -0
  169. ag2-0.9.1.post0/autogen/agentchat/group/patterns/pattern.py +288 -0
  170. ag2-0.9.1.post0/autogen/agentchat/group/patterns/random.py +106 -0
  171. ag2-0.9.1.post0/autogen/agentchat/group/patterns/round_robin.py +117 -0
  172. ag2-0.9.1.post0/autogen/agentchat/group/reply_result.py +26 -0
  173. ag2-0.9.1.post0/autogen/agentchat/group/speaker_selection_result.py +41 -0
  174. ag2-0.9.1.post0/autogen/agentchat/group/targets/__init__.py +4 -0
  175. ag2-0.9.1.post0/autogen/agentchat/group/targets/group_chat_target.py +132 -0
  176. ag2-0.9.1.post0/autogen/agentchat/group/targets/group_manager_target.py +151 -0
  177. ag2-0.9.1.post0/autogen/agentchat/group/targets/transition_target.py +413 -0
  178. ag2-0.9.1.post0/autogen/agentchat/group/targets/transition_utils.py +6 -0
  179. ag2-0.9.1.post0/autogen/agentchat/groupchat.py +1694 -0
  180. ag2-0.9.1.post0/autogen/agentchat/realtime/__init__.py +3 -0
  181. ag2-0.9.1.post0/autogen/agentchat/realtime/experimental/__init__.py +20 -0
  182. ag2-0.9.1.post0/autogen/agentchat/realtime/experimental/audio_adapters/__init__.py +8 -0
  183. ag2-0.9.1.post0/autogen/agentchat/realtime/experimental/audio_adapters/twilio_audio_adapter.py +148 -0
  184. ag2-0.9.1.post0/autogen/agentchat/realtime/experimental/audio_adapters/websocket_audio_adapter.py +139 -0
  185. ag2-0.9.1.post0/autogen/agentchat/realtime/experimental/audio_observer.py +42 -0
  186. ag2-0.9.1.post0/autogen/agentchat/realtime/experimental/clients/__init__.py +15 -0
  187. ag2-0.9.1.post0/autogen/agentchat/realtime/experimental/clients/gemini/__init__.py +7 -0
  188. ag2-0.9.1.post0/autogen/agentchat/realtime/experimental/clients/gemini/client.py +274 -0
  189. ag2-0.9.1.post0/autogen/agentchat/realtime/experimental/clients/oai/__init__.py +8 -0
  190. ag2-0.9.1.post0/autogen/agentchat/realtime/experimental/clients/oai/base_client.py +220 -0
  191. ag2-0.9.1.post0/autogen/agentchat/realtime/experimental/clients/oai/rtc_client.py +243 -0
  192. ag2-0.9.1.post0/autogen/agentchat/realtime/experimental/clients/oai/utils.py +48 -0
  193. ag2-0.9.1.post0/autogen/agentchat/realtime/experimental/clients/realtime_client.py +190 -0
  194. ag2-0.9.1.post0/autogen/agentchat/realtime/experimental/function_observer.py +85 -0
  195. ag2-0.9.1.post0/autogen/agentchat/realtime/experimental/realtime_agent.py +158 -0
  196. ag2-0.9.1.post0/autogen/agentchat/realtime/experimental/realtime_events.py +42 -0
  197. ag2-0.9.1.post0/autogen/agentchat/realtime/experimental/realtime_observer.py +100 -0
  198. ag2-0.9.1.post0/autogen/agentchat/realtime/experimental/realtime_swarm.py +475 -0
  199. ag2-0.9.1.post0/autogen/agentchat/realtime/experimental/websockets.py +21 -0
  200. ag2-0.9.1.post0/autogen/agentchat/realtime_agent/__init__.py +21 -0
  201. ag2-0.9.1.post0/autogen/agentchat/user_proxy_agent.py +111 -0
  202. ag2-0.9.1.post0/autogen/agentchat/utils.py +206 -0
  203. ag2-0.9.1.post0/autogen/agents/__init__.py +3 -0
  204. ag2-0.9.1.post0/autogen/agents/contrib/__init__.py +10 -0
  205. ag2-0.9.1.post0/autogen/agents/contrib/time/__init__.py +8 -0
  206. ag2-0.9.1.post0/autogen/agents/contrib/time/time_reply_agent.py +73 -0
  207. ag2-0.9.1.post0/autogen/agents/contrib/time/time_tool_agent.py +51 -0
  208. ag2-0.9.1.post0/autogen/agents/experimental/__init__.py +27 -0
  209. ag2-0.9.1.post0/autogen/agents/experimental/deep_research/__init__.py +7 -0
  210. ag2-0.9.1.post0/autogen/agents/experimental/deep_research/deep_research.py +52 -0
  211. ag2-0.9.1.post0/autogen/agents/experimental/discord/__init__.py +7 -0
  212. ag2-0.9.1.post0/autogen/agents/experimental/discord/discord.py +66 -0
  213. ag2-0.9.1.post0/autogen/agents/experimental/document_agent/__init__.py +19 -0
  214. ag2-0.9.1.post0/autogen/agents/experimental/document_agent/chroma_query_engine.py +316 -0
  215. ag2-0.9.1.post0/autogen/agents/experimental/document_agent/docling_doc_ingest_agent.py +118 -0
  216. ag2-0.9.1.post0/autogen/agents/experimental/document_agent/document_agent.py +461 -0
  217. ag2-0.9.1.post0/autogen/agents/experimental/document_agent/document_conditions.py +50 -0
  218. ag2-0.9.1.post0/autogen/agents/experimental/document_agent/document_utils.py +380 -0
  219. ag2-0.9.1.post0/autogen/agents/experimental/document_agent/inmemory_query_engine.py +220 -0
  220. ag2-0.9.1.post0/autogen/agents/experimental/document_agent/parser_utils.py +130 -0
  221. ag2-0.9.1.post0/autogen/agents/experimental/document_agent/url_utils.py +426 -0
  222. ag2-0.9.1.post0/autogen/agents/experimental/reasoning/__init__.py +7 -0
  223. ag2-0.9.1.post0/autogen/agents/experimental/reasoning/reasoning_agent.py +1178 -0
  224. ag2-0.9.1.post0/autogen/agents/experimental/slack/__init__.py +7 -0
  225. ag2-0.9.1.post0/autogen/agents/experimental/slack/slack.py +73 -0
  226. ag2-0.9.1.post0/autogen/agents/experimental/telegram/__init__.py +7 -0
  227. ag2-0.9.1.post0/autogen/agents/experimental/telegram/telegram.py +77 -0
  228. ag2-0.9.1.post0/autogen/agents/experimental/websurfer/__init__.py +7 -0
  229. ag2-0.9.1.post0/autogen/agents/experimental/websurfer/websurfer.py +62 -0
  230. ag2-0.9.1.post0/autogen/agents/experimental/wikipedia/__init__.py +7 -0
  231. ag2-0.9.1.post0/autogen/agents/experimental/wikipedia/wikipedia.py +90 -0
  232. ag2-0.9.1.post0/autogen/browser_utils.py +309 -0
  233. ag2-0.9.1.post0/autogen/cache/__init__.py +10 -0
  234. ag2-0.9.1.post0/autogen/cache/abstract_cache_base.py +75 -0
  235. ag2-0.9.1.post0/autogen/cache/cache.py +203 -0
  236. ag2-0.9.1.post0/autogen/cache/cache_factory.py +88 -0
  237. ag2-0.9.1.post0/autogen/cache/cosmos_db_cache.py +144 -0
  238. ag2-0.9.1.post0/autogen/cache/disk_cache.py +102 -0
  239. ag2-0.9.1.post0/autogen/cache/in_memory_cache.py +58 -0
  240. ag2-0.9.1.post0/autogen/cache/redis_cache.py +123 -0
  241. ag2-0.9.1.post0/autogen/code_utils.py +596 -0
  242. ag2-0.9.1.post0/autogen/coding/__init__.py +22 -0
  243. ag2-0.9.1.post0/autogen/coding/base.py +119 -0
  244. ag2-0.9.1.post0/autogen/coding/docker_commandline_code_executor.py +268 -0
  245. ag2-0.9.1.post0/autogen/coding/factory.py +47 -0
  246. ag2-0.9.1.post0/autogen/coding/func_with_reqs.py +202 -0
  247. ag2-0.9.1.post0/autogen/coding/jupyter/__init__.py +23 -0
  248. ag2-0.9.1.post0/autogen/coding/jupyter/base.py +36 -0
  249. ag2-0.9.1.post0/autogen/coding/jupyter/docker_jupyter_server.py +167 -0
  250. ag2-0.9.1.post0/autogen/coding/jupyter/embedded_ipython_code_executor.py +182 -0
  251. ag2-0.9.1.post0/autogen/coding/jupyter/import_utils.py +82 -0
  252. ag2-0.9.1.post0/autogen/coding/jupyter/jupyter_client.py +231 -0
  253. ag2-0.9.1.post0/autogen/coding/jupyter/jupyter_code_executor.py +160 -0
  254. ag2-0.9.1.post0/autogen/coding/jupyter/local_jupyter_server.py +172 -0
  255. ag2-0.9.1.post0/autogen/coding/local_commandline_code_executor.py +405 -0
  256. ag2-0.9.1.post0/autogen/coding/markdown_code_extractor.py +45 -0
  257. ag2-0.9.1.post0/autogen/coding/utils.py +56 -0
  258. ag2-0.9.1.post0/autogen/doc_utils.py +34 -0
  259. ag2-0.9.1.post0/autogen/events/__init__.py +7 -0
  260. ag2-0.9.1.post0/autogen/events/agent_events.py +1010 -0
  261. ag2-0.9.1.post0/autogen/events/base_event.py +99 -0
  262. ag2-0.9.1.post0/autogen/events/client_events.py +167 -0
  263. ag2-0.9.1.post0/autogen/events/helpers.py +36 -0
  264. ag2-0.9.1.post0/autogen/events/print_event.py +46 -0
  265. ag2-0.9.1.post0/autogen/exception_utils.py +73 -0
  266. ag2-0.9.1.post0/autogen/extensions/__init__.py +5 -0
  267. ag2-0.9.1.post0/autogen/fast_depends/__init__.py +16 -0
  268. ag2-0.9.1.post0/autogen/fast_depends/_compat.py +80 -0
  269. ag2-0.9.1.post0/autogen/fast_depends/core/__init__.py +14 -0
  270. ag2-0.9.1.post0/autogen/fast_depends/core/build.py +225 -0
  271. ag2-0.9.1.post0/autogen/fast_depends/core/model.py +576 -0
  272. ag2-0.9.1.post0/autogen/fast_depends/dependencies/__init__.py +15 -0
  273. ag2-0.9.1.post0/autogen/fast_depends/dependencies/model.py +29 -0
  274. ag2-0.9.1.post0/autogen/fast_depends/dependencies/provider.py +39 -0
  275. ag2-0.9.1.post0/autogen/fast_depends/library/__init__.py +10 -0
  276. ag2-0.9.1.post0/autogen/fast_depends/library/model.py +46 -0
  277. ag2-0.9.1.post0/autogen/fast_depends/py.typed +6 -0
  278. ag2-0.9.1.post0/autogen/fast_depends/schema.py +66 -0
  279. ag2-0.9.1.post0/autogen/fast_depends/use.py +280 -0
  280. ag2-0.9.1.post0/autogen/fast_depends/utils.py +187 -0
  281. ag2-0.9.1.post0/autogen/formatting_utils.py +83 -0
  282. ag2-0.9.1.post0/autogen/function_utils.py +13 -0
  283. ag2-0.9.1.post0/autogen/graph_utils.py +178 -0
  284. ag2-0.9.1.post0/autogen/import_utils.py +526 -0
  285. ag2-0.9.1.post0/autogen/interop/__init__.py +22 -0
  286. ag2-0.9.1.post0/autogen/interop/crewai/__init__.py +7 -0
  287. ag2-0.9.1.post0/autogen/interop/crewai/crewai.py +88 -0
  288. ag2-0.9.1.post0/autogen/interop/interoperability.py +71 -0
  289. ag2-0.9.1.post0/autogen/interop/interoperable.py +46 -0
  290. ag2-0.9.1.post0/autogen/interop/langchain/__init__.py +8 -0
  291. ag2-0.9.1.post0/autogen/interop/langchain/langchain_chat_model_factory.py +155 -0
  292. ag2-0.9.1.post0/autogen/interop/langchain/langchain_tool.py +82 -0
  293. ag2-0.9.1.post0/autogen/interop/litellm/__init__.py +7 -0
  294. ag2-0.9.1.post0/autogen/interop/litellm/litellm_config_factory.py +113 -0
  295. ag2-0.9.1.post0/autogen/interop/pydantic_ai/__init__.py +7 -0
  296. ag2-0.9.1.post0/autogen/interop/pydantic_ai/pydantic_ai.py +168 -0
  297. ag2-0.9.1.post0/autogen/interop/registry.py +69 -0
  298. ag2-0.9.1.post0/autogen/io/__init__.py +15 -0
  299. ag2-0.9.1.post0/autogen/io/base.py +151 -0
  300. ag2-0.9.1.post0/autogen/io/console.py +56 -0
  301. ag2-0.9.1.post0/autogen/io/processors/__init__.py +12 -0
  302. ag2-0.9.1.post0/autogen/io/processors/base.py +21 -0
  303. ag2-0.9.1.post0/autogen/io/processors/console_event_processor.py +56 -0
  304. ag2-0.9.1.post0/autogen/io/run_response.py +293 -0
  305. ag2-0.9.1.post0/autogen/io/thread_io_stream.py +63 -0
  306. ag2-0.9.1.post0/autogen/io/websockets.py +213 -0
  307. ag2-0.9.1.post0/autogen/json_utils.py +43 -0
  308. ag2-0.9.1.post0/autogen/llm_config.py +379 -0
  309. ag2-0.9.1.post0/autogen/logger/__init__.py +11 -0
  310. ag2-0.9.1.post0/autogen/logger/base_logger.py +128 -0
  311. ag2-0.9.1.post0/autogen/logger/file_logger.py +261 -0
  312. ag2-0.9.1.post0/autogen/logger/logger_factory.py +42 -0
  313. ag2-0.9.1.post0/autogen/logger/logger_utils.py +57 -0
  314. ag2-0.9.1.post0/autogen/logger/sqlite_logger.py +523 -0
  315. ag2-0.9.1.post0/autogen/math_utils.py +339 -0
  316. ag2-0.9.1.post0/autogen/mcp/__init__.py +7 -0
  317. ag2-0.9.1.post0/autogen/mcp/mcp_client.py +208 -0
  318. ag2-0.9.1.post0/autogen/messages/__init__.py +7 -0
  319. ag2-0.9.1.post0/autogen/messages/agent_messages.py +948 -0
  320. ag2-0.9.1.post0/autogen/messages/base_message.py +107 -0
  321. ag2-0.9.1.post0/autogen/messages/client_messages.py +171 -0
  322. ag2-0.9.1.post0/autogen/messages/print_message.py +49 -0
  323. ag2-0.9.1.post0/autogen/oai/__init__.py +53 -0
  324. ag2-0.9.1.post0/autogen/oai/anthropic.py +714 -0
  325. ag2-0.9.1.post0/autogen/oai/bedrock.py +628 -0
  326. ag2-0.9.1.post0/autogen/oai/cerebras.py +299 -0
  327. ag2-0.9.1.post0/autogen/oai/client.py +1435 -0
  328. ag2-0.9.1.post0/autogen/oai/client_utils.py +169 -0
  329. ag2-0.9.1.post0/autogen/oai/cohere.py +479 -0
  330. ag2-0.9.1.post0/autogen/oai/gemini.py +990 -0
  331. ag2-0.9.1.post0/autogen/oai/gemini_types.py +129 -0
  332. ag2-0.9.1.post0/autogen/oai/groq.py +305 -0
  333. ag2-0.9.1.post0/autogen/oai/mistral.py +303 -0
  334. ag2-0.9.1.post0/autogen/oai/oai_models/__init__.py +11 -0
  335. ag2-0.9.1.post0/autogen/oai/oai_models/_models.py +16 -0
  336. ag2-0.9.1.post0/autogen/oai/oai_models/chat_completion.py +87 -0
  337. ag2-0.9.1.post0/autogen/oai/oai_models/chat_completion_audio.py +32 -0
  338. ag2-0.9.1.post0/autogen/oai/oai_models/chat_completion_message.py +86 -0
  339. ag2-0.9.1.post0/autogen/oai/oai_models/chat_completion_message_tool_call.py +37 -0
  340. ag2-0.9.1.post0/autogen/oai/oai_models/chat_completion_token_logprob.py +63 -0
  341. ag2-0.9.1.post0/autogen/oai/oai_models/completion_usage.py +60 -0
  342. ag2-0.9.1.post0/autogen/oai/ollama.py +643 -0
  343. ag2-0.9.1.post0/autogen/oai/openai_utils.py +881 -0
  344. ag2-0.9.1.post0/autogen/oai/together.py +370 -0
  345. ag2-0.9.1.post0/autogen/retrieve_utils.py +491 -0
  346. ag2-0.9.1.post0/autogen/runtime_logging.py +160 -0
  347. ag2-0.9.1.post0/autogen/token_count_utils.py +267 -0
  348. ag2-0.9.1.post0/autogen/tools/__init__.py +20 -0
  349. ag2-0.9.1.post0/autogen/tools/contrib/__init__.py +9 -0
  350. ag2-0.9.1.post0/autogen/tools/contrib/time/__init__.py +7 -0
  351. ag2-0.9.1.post0/autogen/tools/contrib/time/time.py +41 -0
  352. ag2-0.9.1.post0/autogen/tools/dependency_injection.py +254 -0
  353. ag2-0.9.1.post0/autogen/tools/experimental/__init__.py +43 -0
  354. ag2-0.9.1.post0/autogen/tools/experimental/browser_use/__init__.py +7 -0
  355. ag2-0.9.1.post0/autogen/tools/experimental/browser_use/browser_use.py +161 -0
  356. ag2-0.9.1.post0/autogen/tools/experimental/crawl4ai/__init__.py +7 -0
  357. ag2-0.9.1.post0/autogen/tools/experimental/crawl4ai/crawl4ai.py +153 -0
  358. ag2-0.9.1.post0/autogen/tools/experimental/deep_research/__init__.py +7 -0
  359. ag2-0.9.1.post0/autogen/tools/experimental/deep_research/deep_research.py +328 -0
  360. ag2-0.9.1.post0/autogen/tools/experimental/duckduckgo/__init__.py +7 -0
  361. ag2-0.9.1.post0/autogen/tools/experimental/duckduckgo/duckduckgo_search.py +109 -0
  362. ag2-0.9.1.post0/autogen/tools/experimental/google/__init__.py +14 -0
  363. ag2-0.9.1.post0/autogen/tools/experimental/google/authentication/__init__.py +11 -0
  364. ag2-0.9.1.post0/autogen/tools/experimental/google/authentication/credentials_hosted_provider.py +43 -0
  365. ag2-0.9.1.post0/autogen/tools/experimental/google/authentication/credentials_local_provider.py +91 -0
  366. ag2-0.9.1.post0/autogen/tools/experimental/google/authentication/credentials_provider.py +35 -0
  367. ag2-0.9.1.post0/autogen/tools/experimental/google/drive/__init__.py +9 -0
  368. ag2-0.9.1.post0/autogen/tools/experimental/google/drive/drive_functions.py +124 -0
  369. ag2-0.9.1.post0/autogen/tools/experimental/google/drive/toolkit.py +88 -0
  370. ag2-0.9.1.post0/autogen/tools/experimental/google/model.py +17 -0
  371. ag2-0.9.1.post0/autogen/tools/experimental/google/toolkit_protocol.py +19 -0
  372. ag2-0.9.1.post0/autogen/tools/experimental/google_search/__init__.py +8 -0
  373. ag2-0.9.1.post0/autogen/tools/experimental/google_search/google_search.py +93 -0
  374. ag2-0.9.1.post0/autogen/tools/experimental/google_search/youtube_search.py +181 -0
  375. ag2-0.9.1.post0/autogen/tools/experimental/messageplatform/__init__.py +17 -0
  376. ag2-0.9.1.post0/autogen/tools/experimental/messageplatform/discord/__init__.py +7 -0
  377. ag2-0.9.1.post0/autogen/tools/experimental/messageplatform/discord/discord.py +288 -0
  378. ag2-0.9.1.post0/autogen/tools/experimental/messageplatform/slack/__init__.py +7 -0
  379. ag2-0.9.1.post0/autogen/tools/experimental/messageplatform/slack/slack.py +391 -0
  380. ag2-0.9.1.post0/autogen/tools/experimental/messageplatform/telegram/__init__.py +7 -0
  381. ag2-0.9.1.post0/autogen/tools/experimental/messageplatform/telegram/telegram.py +275 -0
  382. ag2-0.9.1.post0/autogen/tools/experimental/perplexity/__init__.py +7 -0
  383. ag2-0.9.1.post0/autogen/tools/experimental/perplexity/perplexity_search.py +260 -0
  384. ag2-0.9.1.post0/autogen/tools/experimental/tavily/__init__.py +7 -0
  385. ag2-0.9.1.post0/autogen/tools/experimental/tavily/tavily_search.py +183 -0
  386. ag2-0.9.1.post0/autogen/tools/experimental/web_search_preview/__init__.py +7 -0
  387. ag2-0.9.1.post0/autogen/tools/experimental/web_search_preview/web_search_preview.py +114 -0
  388. ag2-0.9.1.post0/autogen/tools/experimental/wikipedia/__init__.py +7 -0
  389. ag2-0.9.1.post0/autogen/tools/experimental/wikipedia/wikipedia.py +287 -0
  390. ag2-0.9.1.post0/autogen/tools/function_utils.py +411 -0
  391. ag2-0.9.1.post0/autogen/tools/tool.py +187 -0
  392. ag2-0.9.1.post0/autogen/tools/toolkit.py +86 -0
  393. ag2-0.9.1.post0/autogen/types.py +29 -0
  394. ag2-0.9.1.post0/autogen/version.py +7 -0
  395. ag2-0.9.1.post0/azure-pipelines.yml +24 -0
  396. ag2-0.9.1.post0/codecov.yml +43 -0
  397. ag2-0.9.1.post0/license_original/LICENSE-CC +395 -0
  398. ag2-0.9.1.post0/license_original/LICENSE_original_MIT +21 -0
  399. {ag2-0.9.1a1 → ag2-0.9.1.post0}/pyproject.toml +15 -16
  400. ag2-0.9.1.post0/scripts/broken-links-check.sh +39 -0
  401. ag2-0.9.1.post0/scripts/build-setup-files.py +52 -0
  402. ag2-0.9.1.post0/scripts/devcontainer/generate-devcontainers.py +73 -0
  403. ag2-0.9.1.post0/scripts/devcontainer/generate-devcontainers.sh +3 -0
  404. ag2-0.9.1.post0/scripts/devcontainer/templates/devcontainer.json.jinja +94 -0
  405. ag2-0.9.1.post0/scripts/docs_build.sh +28 -0
  406. ag2-0.9.1.post0/scripts/docs_build_mkdocs.sh +10 -0
  407. ag2-0.9.1.post0/scripts/docs_serve.sh +30 -0
  408. ag2-0.9.1.post0/scripts/docs_serve_mkdocs.sh +6 -0
  409. ag2-0.9.1.post0/scripts/integration-test.sh +39 -0
  410. ag2-0.9.1.post0/scripts/lint.sh +7 -0
  411. ag2-0.9.1.post0/scripts/pre-commit-build-setup-files.sh +14 -0
  412. ag2-0.9.1.post0/scripts/pre-commit-license-check.py +187 -0
  413. ag2-0.9.1.post0/scripts/pre-commit-lint.sh +34 -0
  414. ag2-0.9.1.post0/scripts/pre-commit-mypy-run.sh +17 -0
  415. ag2-0.9.1.post0/scripts/show-coverage-report.sh +7 -0
  416. ag2-0.9.1.post0/scripts/test-core-llm.sh +31 -0
  417. ag2-0.9.1.post0/scripts/test-core-skip-llm.sh +7 -0
  418. ag2-0.9.1.post0/scripts/test-docs.sh +7 -0
  419. ag2-0.9.1.post0/scripts/test-skip-llm.sh +25 -0
  420. ag2-0.9.1.post0/scripts/test.sh +7 -0
  421. ag2-0.9.1.post0/setup.jinja +45 -0
  422. ag2-0.9.1.post0/setup_autogen.py +98 -0
  423. ag2-0.9.1.post0/website/.gitignore +38 -0
  424. ag2-0.9.1.post0/website/README.md +106 -0
  425. ag2-0.9.1.post0/website/blogs_and_user_stories_authors.yml +264 -0
  426. ag2-0.9.1.post0/website/docs/.gitignore +3 -0
  427. ag2-0.9.1.post0/website/docs/_blogs/2023-04-21-LLM-tuning-math/img/level2algebra.png +3 -0
  428. ag2-0.9.1.post0/website/docs/_blogs/2023-04-21-LLM-tuning-math/img/level3algebra.png +3 -0
  429. ag2-0.9.1.post0/website/docs/_blogs/2023-04-21-LLM-tuning-math/img/level4algebra.png +3 -0
  430. ag2-0.9.1.post0/website/docs/_blogs/2023-04-21-LLM-tuning-math/img/level5algebra.png +3 -0
  431. ag2-0.9.1.post0/website/docs/_blogs/2023-04-21-LLM-tuning-math/index.mdx +76 -0
  432. ag2-0.9.1.post0/website/docs/_blogs/2023-05-18-GPT-adaptive-humaneval/img/design.png +3 -0
  433. ag2-0.9.1.post0/website/docs/_blogs/2023-05-18-GPT-adaptive-humaneval/img/humaneval.png +3 -0
  434. ag2-0.9.1.post0/website/docs/_blogs/2023-05-18-GPT-adaptive-humaneval/index.mdx +180 -0
  435. ag2-0.9.1.post0/website/docs/_blogs/2023-06-28-MathChat/img/mathchatflow.png +3 -0
  436. ag2-0.9.1.post0/website/docs/_blogs/2023-06-28-MathChat/img/result.png +3 -0
  437. ag2-0.9.1.post0/website/docs/_blogs/2023-06-28-MathChat/index.mdx +98 -0
  438. ag2-0.9.1.post0/website/docs/_blogs/2023-07-14-Local-LLMs/index.mdx +148 -0
  439. ag2-0.9.1.post0/website/docs/_blogs/2023-10-18-RetrieveChat/img/autogen-rag.gif +0 -0
  440. ag2-0.9.1.post0/website/docs/_blogs/2023-10-18-RetrieveChat/img/retrievechat-arch.png +3 -0
  441. ag2-0.9.1.post0/website/docs/_blogs/2023-10-18-RetrieveChat/index.mdx +409 -0
  442. ag2-0.9.1.post0/website/docs/_blogs/2023-10-26-TeachableAgent/img/teachable-arch.png +3 -0
  443. ag2-0.9.1.post0/website/docs/_blogs/2023-10-26-TeachableAgent/index.mdx +399 -0
  444. ag2-0.9.1.post0/website/docs/_blogs/2023-11-06-LMM-Agent/img/teaser.png +3 -0
  445. ag2-0.9.1.post0/website/docs/_blogs/2023-11-06-LMM-Agent/index.mdx +77 -0
  446. ag2-0.9.1.post0/website/docs/_blogs/2023-11-09-EcoAssistant/img/chat.webp +3 -0
  447. ag2-0.9.1.post0/website/docs/_blogs/2023-11-09-EcoAssistant/img/results.png +3 -0
  448. ag2-0.9.1.post0/website/docs/_blogs/2023-11-09-EcoAssistant/img/system.webp +3 -0
  449. ag2-0.9.1.post0/website/docs/_blogs/2023-11-09-EcoAssistant/img/template-demo.png +3 -0
  450. ag2-0.9.1.post0/website/docs/_blogs/2023-11-09-EcoAssistant/img/template.png +3 -0
  451. ag2-0.9.1.post0/website/docs/_blogs/2023-11-09-EcoAssistant/index.mdx +102 -0
  452. ag2-0.9.1.post0/website/docs/_blogs/2023-11-13-OAI-assistants/img/teaser.jpg +3 -0
  453. ag2-0.9.1.post0/website/docs/_blogs/2023-11-13-OAI-assistants/index.mdx +117 -0
  454. ag2-0.9.1.post0/website/docs/_blogs/2023-11-20-AgentEval/img/agenteval-CQ.webp +3 -0
  455. ag2-0.9.1.post0/website/docs/_blogs/2023-11-20-AgentEval/img/math-problems-plot.png +3 -0
  456. ag2-0.9.1.post0/website/docs/_blogs/2023-11-20-AgentEval/img/tasks-taxonomy.webp +3 -0
  457. ag2-0.9.1.post0/website/docs/_blogs/2023-11-20-AgentEval/index.mdx +150 -0
  458. ag2-0.9.1.post0/website/docs/_blogs/2023-11-26-Agent-AutoBuild/img/agent_autobuild.webp +3 -0
  459. ag2-0.9.1.post0/website/docs/_blogs/2023-11-26-Agent-AutoBuild/index.mdx +186 -0
  460. ag2-0.9.1.post0/website/docs/_blogs/2023-12-01-AutoGenStudio/img/autogenstudio_config.png +3 -0
  461. ag2-0.9.1.post0/website/docs/_blogs/2023-12-01-AutoGenStudio/img/autogenstudio_home.png +3 -0
  462. ag2-0.9.1.post0/website/docs/_blogs/2023-12-01-AutoGenStudio/img/autogenstudio_skills.png +3 -0
  463. ag2-0.9.1.post0/website/docs/_blogs/2023-12-01-AutoGenStudio/index.mdx +230 -0
  464. ag2-0.9.1.post0/website/docs/_blogs/2023-12-23-AgentOptimizer/img/agentoptimizer.webp +3 -0
  465. ag2-0.9.1.post0/website/docs/_blogs/2023-12-23-AgentOptimizer/index.mdx +187 -0
  466. ag2-0.9.1.post0/website/docs/_blogs/2023-12-29-AgentDescriptions/index.mdx +137 -0
  467. ag2-0.9.1.post0/website/docs/_blogs/2024-01-23-Code-execution-in-docker/index.mdx +67 -0
  468. ag2-0.9.1.post0/website/docs/_blogs/2024-01-25-AutoGenBench/img/teaser.jpg +3 -0
  469. ag2-0.9.1.post0/website/docs/_blogs/2024-01-25-AutoGenBench/index.mdx +146 -0
  470. ag2-0.9.1.post0/website/docs/_blogs/2024-01-26-Custom-Models/index.mdx +171 -0
  471. ag2-0.9.1.post0/website/docs/_blogs/2024-02-02-AutoAnny/img/AutoAnnyLogo.jpg +3 -0
  472. ag2-0.9.1.post0/website/docs/_blogs/2024-02-02-AutoAnny/index.mdx +41 -0
  473. ag2-0.9.1.post0/website/docs/_blogs/2024-02-11-FSM-GroupChat/img/FSM_logic.webp +3 -0
  474. ag2-0.9.1.post0/website/docs/_blogs/2024-02-11-FSM-GroupChat/img/FSM_of_multi-agents.webp +3 -0
  475. ag2-0.9.1.post0/website/docs/_blogs/2024-02-11-FSM-GroupChat/img/teaser.webp +3 -0
  476. ag2-0.9.1.post0/website/docs/_blogs/2024-02-11-FSM-GroupChat/index.mdx +286 -0
  477. ag2-0.9.1.post0/website/docs/_blogs/2024-02-29-StateFlow/img/alfworld.png +3 -0
  478. ag2-0.9.1.post0/website/docs/_blogs/2024-02-29-StateFlow/img/bash_result.png +3 -0
  479. ag2-0.9.1.post0/website/docs/_blogs/2024-02-29-StateFlow/img/intercode.webp +3 -0
  480. ag2-0.9.1.post0/website/docs/_blogs/2024-02-29-StateFlow/img/sf_example_1.webp +3 -0
  481. ag2-0.9.1.post0/website/docs/_blogs/2024-02-29-StateFlow/index.mdx +154 -0
  482. ag2-0.9.1.post0/website/docs/_blogs/2024-03-03-AutoGen-Update/img/contributors.png +3 -0
  483. ag2-0.9.1.post0/website/docs/_blogs/2024-03-03-AutoGen-Update/img/dalle_gpt4v.png +3 -0
  484. ag2-0.9.1.post0/website/docs/_blogs/2024-03-03-AutoGen-Update/img/gaia.png +3 -0
  485. ag2-0.9.1.post0/website/docs/_blogs/2024-03-03-AutoGen-Update/img/love.png +3 -0
  486. ag2-0.9.1.post0/website/docs/_blogs/2024-03-03-AutoGen-Update/img/teach.png +3 -0
  487. ag2-0.9.1.post0/website/docs/_blogs/2024-03-03-AutoGen-Update/index.mdx +189 -0
  488. ag2-0.9.1.post0/website/docs/_blogs/2024-03-11-AutoDefense/img/architecture.webp +3 -0
  489. ag2-0.9.1.post0/website/docs/_blogs/2024-03-11-AutoDefense/img/defense-agency-design.webp +3 -0
  490. ag2-0.9.1.post0/website/docs/_blogs/2024-03-11-AutoDefense/img/table-4agents.png +3 -0
  491. ag2-0.9.1.post0/website/docs/_blogs/2024-03-11-AutoDefense/img/table-agents.png +3 -0
  492. ag2-0.9.1.post0/website/docs/_blogs/2024-03-11-AutoDefense/img/table-compared-methods.png +3 -0
  493. ag2-0.9.1.post0/website/docs/_blogs/2024-03-11-AutoDefense/index.mdx +138 -0
  494. ag2-0.9.1.post0/website/docs/_blogs/2024-05-24-Agent/img/agents.png +3 -0
  495. ag2-0.9.1.post0/website/docs/_blogs/2024-05-24-Agent/img/leadership.png +3 -0
  496. ag2-0.9.1.post0/website/docs/_blogs/2024-05-24-Agent/index.mdx +160 -0
  497. ag2-0.9.1.post0/website/docs/_blogs/2024-06-21-AgentEval/img/agenteval_ov_v3.webp +3 -0
  498. ag2-0.9.1.post0/website/docs/_blogs/2024-06-21-AgentEval/index.mdx +201 -0
  499. ag2-0.9.1.post0/website/docs/_blogs/2024-06-24-AltModels-Classes/img/agentstogether.jpeg +3 -0
  500. ag2-0.9.1.post0/website/docs/_blogs/2024-06-24-AltModels-Classes/index.mdx +382 -0
  501. ag2-0.9.1.post0/website/docs/_blogs/2024-07-25-AgentOps/img/autogen-integration.png +3 -0
  502. ag2-0.9.1.post0/website/docs/_blogs/2024-07-25-AgentOps/img/dashboard.png +3 -0
  503. ag2-0.9.1.post0/website/docs/_blogs/2024-07-25-AgentOps/img/flow.png +3 -0
  504. ag2-0.9.1.post0/website/docs/_blogs/2024-07-25-AgentOps/img/session-replay.png +3 -0
  505. ag2-0.9.1.post0/website/docs/_blogs/2024-07-25-AgentOps/index.mdx +67 -0
  506. ag2-0.9.1.post0/website/docs/_blogs/2024-11-15-CaptainAgent/img/build.webp +3 -0
  507. ag2-0.9.1.post0/website/docs/_blogs/2024-11-15-CaptainAgent/img/chat.webp +3 -0
  508. ag2-0.9.1.post0/website/docs/_blogs/2024-11-15-CaptainAgent/img/overall.webp +3 -0
  509. ag2-0.9.1.post0/website/docs/_blogs/2024-11-15-CaptainAgent/index.mdx +121 -0
  510. ag2-0.9.1.post0/website/docs/_blogs/2024-11-17-Swarm/index.mdx +356 -0
  511. ag2-0.9.1.post0/website/docs/_blogs/2024-11-27-Prompt-Leakage-Probing/img/probing_flow.webp +3 -0
  512. ag2-0.9.1.post0/website/docs/_blogs/2024-11-27-Prompt-Leakage-Probing/img/prompt_leakage_report.png +3 -0
  513. ag2-0.9.1.post0/website/docs/_blogs/2024-11-27-Prompt-Leakage-Probing/img/prompt_leakage_social_img.webp +3 -0
  514. ag2-0.9.1.post0/website/docs/_blogs/2024-11-27-Prompt-Leakage-Probing/img/prompt_test_chat.webp +3 -0
  515. ag2-0.9.1.post0/website/docs/_blogs/2024-11-27-Prompt-Leakage-Probing/index.mdx +194 -0
  516. ag2-0.9.1.post0/website/docs/_blogs/2024-12-02-ReasoningAgent2/img/reasoningagent_1.webp +3 -0
  517. ag2-0.9.1.post0/website/docs/_blogs/2024-12-02-ReasoningAgent2/img/reasoningagent_2.webp +3 -0
  518. ag2-0.9.1.post0/website/docs/_blogs/2024-12-02-ReasoningAgent2/img/tree-of-thoughts.png +3 -0
  519. ag2-0.9.1.post0/website/docs/_blogs/2024-12-02-ReasoningAgent2/index.mdx +258 -0
  520. ag2-0.9.1.post0/website/docs/_blogs/2024-12-06-FalkorDB-Structured/img/falkordb.png +3 -0
  521. ag2-0.9.1.post0/website/docs/_blogs/2024-12-06-FalkorDB-Structured/img/tripplanner.webp +3 -0
  522. ag2-0.9.1.post0/website/docs/_blogs/2024-12-06-FalkorDB-Structured/index.mdx +193 -0
  523. ag2-0.9.1.post0/website/docs/_blogs/2024-12-20-RealtimeAgent/index.mdx +38 -0
  524. ag2-0.9.1.post0/website/docs/_blogs/2024-12-20-Reasoning-Update/img/mcts_example.png +3 -0
  525. ag2-0.9.1.post0/website/docs/_blogs/2024-12-20-Reasoning-Update/img/reasoningagent_1.png +3 -0
  526. ag2-0.9.1.post0/website/docs/_blogs/2024-12-20-Reasoning-Update/index.mdx +280 -0
  527. ag2-0.9.1.post0/website/docs/_blogs/2024-12-20-Tools-interoperability/index.mdx +55 -0
  528. ag2-0.9.1.post0/website/docs/_blogs/2025-01-07-Tools-Dependency-Injection/index.mdx +387 -0
  529. ag2-0.9.1.post0/website/docs/_blogs/2025-01-08-RealtimeAgent-over-websocket/index.mdx +43 -0
  530. ag2-0.9.1.post0/website/docs/_blogs/2025-01-09-RealtimeAgent-over-WebRTC/index.mdx +29 -0
  531. ag2-0.9.1.post0/website/docs/_blogs/2025-01-10-WebSockets/img/structured_messages_with_websockets.png +3 -0
  532. ag2-0.9.1.post0/website/docs/_blogs/2025-01-10-WebSockets/index.mdx +256 -0
  533. ag2-0.9.1.post0/website/docs/_blogs/2025-01-22-Tools-ChatContext-Dependency-Injection/index.mdx +261 -0
  534. ag2-0.9.1.post0/website/docs/_blogs/2025-01-29-RealtimeAgent-with-gemini/img/RealtimeAgent_gemini.png +3 -0
  535. ag2-0.9.1.post0/website/docs/_blogs/2025-01-29-RealtimeAgent-with-gemini/index.mdx +47 -0
  536. ag2-0.9.1.post0/website/docs/_blogs/2025-01-31-WebSurferAgent/index.mdx +605 -0
  537. ag2-0.9.1.post0/website/docs/_blogs/2025-01-31-Websurfing-Tools/index.mdx +30 -0
  538. ag2-0.9.1.post0/website/docs/_blogs/2025-02-05-Communication-Agents/img/commsagents_discord_msg.png +3 -0
  539. ag2-0.9.1.post0/website/docs/_blogs/2025-02-05-Communication-Agents/img/commsagents_slack_finalmsg.png +3 -0
  540. ag2-0.9.1.post0/website/docs/_blogs/2025-02-05-Communication-Agents/img/commsagents_slack_msg.png +3 -0
  541. ag2-0.9.1.post0/website/docs/_blogs/2025-02-05-Communication-Agents/img/commsagents_telegram_msg.png +3 -0
  542. ag2-0.9.1.post0/website/docs/_blogs/2025-02-05-Communication-Agents/index.mdx +439 -0
  543. ag2-0.9.1.post0/website/docs/_blogs/2025-02-13-DeepResearchAgent/index.mdx +19 -0
  544. ag2-0.9.1.post0/website/docs/_blogs/2025-04-16-Reasoning/img/cognition.jpg +3 -0
  545. ag2-0.9.1.post0/website/docs/_blogs/2025-04-16-Reasoning/img/iter.jpg +3 -0
  546. ag2-0.9.1.post0/website/docs/_blogs/2025-04-16-Reasoning/img/partner.jpg +3 -0
  547. ag2-0.9.1.post0/website/docs/_blogs/2025-04-16-Reasoning/img/threads.jpeg +3 -0
  548. ag2-0.9.1.post0/website/docs/_blogs/2025-04-16-Reasoning/index.mdx +95 -0
  549. ag2-0.9.1.post0/website/docs/_blogs/2025-04-28-0.9-Release-Announcement/index.mdx +1096 -0
  550. ag2-0.9.1.post0/website/docs/community-talks/2025-04-10-NOVA/index.mdx +72 -0
  551. ag2-0.9.1.post0/website/docs/contributor-guide/Migration-Guide.mdx +36 -0
  552. ag2-0.9.1.post0/website/docs/contributor-guide/Research.mdx +101 -0
  553. ag2-0.9.1.post0/website/docs/contributor-guide/building/creating-a-tool.mdx +215 -0
  554. ag2-0.9.1.post0/website/docs/contributor-guide/building/creating-an-agent.mdx +330 -0
  555. ag2-0.9.1.post0/website/docs/contributor-guide/contributing.mdx +123 -0
  556. ag2-0.9.1.post0/website/docs/contributor-guide/documentation.mdx +130 -0
  557. ag2-0.9.1.post0/website/docs/contributor-guide/file-bug-report.mdx +26 -0
  558. ag2-0.9.1.post0/website/docs/contributor-guide/how-ag2-works/assets/generate-reply.png +3 -0
  559. ag2-0.9.1.post0/website/docs/contributor-guide/how-ag2-works/assets/initiate-chat.png +3 -0
  560. ag2-0.9.1.post0/website/docs/contributor-guide/how-ag2-works/generate-reply.mdx +174 -0
  561. ag2-0.9.1.post0/website/docs/contributor-guide/how-ag2-works/hooks.mdx +492 -0
  562. ag2-0.9.1.post0/website/docs/contributor-guide/how-ag2-works/initiate-chat.mdx +86 -0
  563. ag2-0.9.1.post0/website/docs/contributor-guide/how-ag2-works/overview.mdx +20 -0
  564. ag2-0.9.1.post0/website/docs/contributor-guide/maintainer.mdx +38 -0
  565. ag2-0.9.1.post0/website/docs/contributor-guide/pre-commit.mdx +6 -0
  566. ag2-0.9.1.post0/website/docs/contributor-guide/setup-development-environment.mdx +131 -0
  567. ag2-0.9.1.post0/website/docs/contributor-guide/tests.mdx +68 -0
  568. ag2-0.9.1.post0/website/docs/ecosystem/agentops.mdx +87 -0
  569. ag2-0.9.1.post0/website/docs/ecosystem/azure_cosmos_db.mdx +16 -0
  570. ag2-0.9.1.post0/website/docs/ecosystem/composio.mdx +10 -0
  571. ag2-0.9.1.post0/website/docs/ecosystem/databricks.mdx +12 -0
  572. ag2-0.9.1.post0/website/docs/ecosystem/img/ecosystem-databricks.png +3 -0
  573. ag2-0.9.1.post0/website/docs/ecosystem/img/ecosystem-fabric.png +3 -0
  574. ag2-0.9.1.post0/website/docs/ecosystem/img/ecosystem-llamaindex.png +3 -0
  575. ag2-0.9.1.post0/website/docs/ecosystem/img/ecosystem-memgpt.png +3 -0
  576. ag2-0.9.1.post0/website/docs/ecosystem/img/ecosystem-ollama.png +3 -0
  577. ag2-0.9.1.post0/website/docs/ecosystem/img/ecosystem-promptflow.png +3 -0
  578. ag2-0.9.1.post0/website/docs/ecosystem/llamaindex.mdx +10 -0
  579. ag2-0.9.1.post0/website/docs/ecosystem/mem0.mdx +178 -0
  580. ag2-0.9.1.post0/website/docs/ecosystem/memgpt.mdx +10 -0
  581. ag2-0.9.1.post0/website/docs/ecosystem/microsoft-fabric.mdx +10 -0
  582. ag2-0.9.1.post0/website/docs/ecosystem/ollama.mdx +10 -0
  583. ag2-0.9.1.post0/website/docs/ecosystem/pgvector.mdx +8 -0
  584. ag2-0.9.1.post0/website/docs/ecosystem/portkey.mdx +213 -0
  585. ag2-0.9.1.post0/website/docs/ecosystem/promptflow.mdx +17 -0
  586. ag2-0.9.1.post0/website/docs/faq/FAQ.mdx +273 -0
  587. ag2-0.9.1.post0/website/docs/home/quickstart.mdx +492 -0
  588. ag2-0.9.1.post0/website/docs/installation/Installation.mdx +115 -0
  589. ag2-0.9.1.post0/website/docs/installation/Optional-Dependencies.mdx +143 -0
  590. ag2-0.9.1.post0/website/docs/quick-start.mdx +140 -0
  591. ag2-0.9.1.post0/website/docs/use-cases/.gitignore +1 -0
  592. ag2-0.9.1.post0/website/docs/use-cases/community-gallery/community-gallery.mdx +66 -0
  593. ag2-0.9.1.post0/website/docs/use-cases/notebooks/Notebooks.mdx +30 -0
  594. ag2-0.9.1.post0/website/docs/use-cases/use-cases/assets/game-design-page.png +3 -0
  595. ag2-0.9.1.post0/website/docs/use-cases/use-cases/assets/game-designed.png +3 -0
  596. ag2-0.9.1.post0/website/docs/use-cases/use-cases/assets/travel-planning-falkordb.png +3 -0
  597. ag2-0.9.1.post0/website/docs/use-cases/use-cases/assets/travel-planning-itinerary.png +3 -0
  598. ag2-0.9.1.post0/website/docs/use-cases/use-cases/assets/travel-planning-overview.png +3 -0
  599. ag2-0.9.1.post0/website/docs/use-cases/use-cases/customer-service.mdx +67 -0
  600. ag2-0.9.1.post0/website/docs/use-cases/use-cases/game-design.mdx +58 -0
  601. ag2-0.9.1.post0/website/docs/use-cases/use-cases/travel-planning.mdx +72 -0
  602. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/assets/code-execution-in-conversation.png +3 -0
  603. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/assets/code-executor-docker.png +3 -0
  604. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/assets/code-executor-no-docker.png +3 -0
  605. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/assets/code-executor-stock-chart.png +3 -0
  606. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/assets/group-chat-fsm.png +3 -0
  607. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/assets/group-chat.png +3 -0
  608. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/assets/nested-chats.png +3 -0
  609. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/assets/sequential-two-agent-chat.png +3 -0
  610. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/assets/swarm-enhanced-01.png +3 -0
  611. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/assets/swarm-enhanced-02.png +3 -0
  612. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/assets/swarm-enhanced-03.png +3 -0
  613. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/assets/swarm-enhanced-04.png +3 -0
  614. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/assets/two-agent-chat.png +3 -0
  615. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/code-execution.mdx +417 -0
  616. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/ending-a-chat.mdx +157 -0
  617. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/groupchat/custom-group-chat.mdx +720 -0
  618. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/groupchat/groupchat.mdx +344 -0
  619. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/groupchat/resuming-group-chat.mdx +278 -0
  620. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/groupchat/tools.mdx +238 -0
  621. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/llm-configuration-deep-dive.mdx +366 -0
  622. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/nested-chat.mdx +35 -0
  623. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/orchestration/assets/nested-chats.png +3 -0
  624. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/orchestration/assets/sequential-two-agent-chat.png +3 -0
  625. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/orchestration/ending-a-chat.mdx +157 -0
  626. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/orchestration/group-chat/agent-tools-functions.mdx +313 -0
  627. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/orchestration/group-chat/context-variables.mdx +420 -0
  628. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/orchestration/group-chat/handoffs.mdx +840 -0
  629. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/orchestration/group-chat/introduction.mdx +276 -0
  630. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/orchestration/group-chat/patterns.mdx +464 -0
  631. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/orchestration/group-chat.mdx +71 -0
  632. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/orchestration/nested-chat.mdx +35 -0
  633. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/orchestration/orchestrations.mdx +21 -0
  634. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/orchestration/sequential-chat.mdx +43 -0
  635. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/orchestration/swarm/deprecation.mdx +330 -0
  636. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/orchestration/two-agent-chat.mdx +69 -0
  637. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/orchestrations.mdx +21 -0
  638. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/context_aware_routing.jpeg +3 -0
  639. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/context_aware_routing_flow.jpeg +3 -0
  640. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/escalation.jpeg +3 -0
  641. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/escalation_flow.jpeg +3 -0
  642. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/feedback_loop.jpeg +3 -0
  643. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/feedback_loop_flow.jpeg +3 -0
  644. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/hierarchical.jpeg +3 -0
  645. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/hierarchical_flow.jpeg +3 -0
  646. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/organic.jpeg +3 -0
  647. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/organic_flow.jpeg +3 -0
  648. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/pipeline.jpeg +3 -0
  649. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/pipeline_flow.jpeg +3 -0
  650. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/redundant.jpeg +3 -0
  651. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/redundant_flow.jpeg +3 -0
  652. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/star.jpeg +3 -0
  653. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/star_flow.jpeg +3 -0
  654. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/triage_tasks.jpeg +3 -0
  655. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/triage_tasks_flow.jpeg +3 -0
  656. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/context_aware_routing.mdx +1027 -0
  657. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/escalation.mdx +758 -0
  658. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/feedback_loop.mdx +1084 -0
  659. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/hierarchical.mdx +1084 -0
  660. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/organic.mdx +557 -0
  661. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/overview.mdx +184 -0
  662. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/pipeline.mdx +858 -0
  663. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/redundant.mdx +824 -0
  664. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/star.mdx +785 -0
  665. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/pattern-cookbook/triage_with_tasks.mdx +1041 -0
  666. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/rag.mdx +136 -0
  667. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/realtime-agent/index.mdx +42 -0
  668. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/realtime-agent/twilio.mdx +8 -0
  669. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/realtime-agent/webrtc.mdx +14 -0
  670. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/realtime-agent/websocket.mdx +19 -0
  671. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/sequential-chat.mdx +43 -0
  672. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/tools/basics.mdx +80 -0
  673. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/tools/controlling-use.mdx +286 -0
  674. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/tools/index.mdx +40 -0
  675. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/tools/interop/crewai.mdx +11 -0
  676. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/tools/interop/langchain.mdx +11 -0
  677. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/tools/interop/pydanticai.mdx +11 -0
  678. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/tools/mcp/client.mdx +12 -0
  679. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/tools/tools-with-secrets.mdx +217 -0
  680. ag2-0.9.1.post0/website/docs/user-guide/advanced-concepts/two-agent-chat.mdx +69 -0
  681. ag2-0.9.1.post0/website/docs/user-guide/basic-concepts/assets/human-in-the-loop-example.png +3 -0
  682. ag2-0.9.1.post0/website/docs/user-guide/basic-concepts/assets/overview-workflow.png +3 -0
  683. ag2-0.9.1.post0/website/docs/user-guide/basic-concepts/conversable-agent.mdx +155 -0
  684. ag2-0.9.1.post0/website/docs/user-guide/basic-concepts/human-in-the-loop.mdx +302 -0
  685. ag2-0.9.1.post0/website/docs/user-guide/basic-concepts/installing-ag2.mdx +55 -0
  686. ag2-0.9.1.post0/website/docs/user-guide/basic-concepts/introducing-group-chat.mdx +735 -0
  687. ag2-0.9.1.post0/website/docs/user-guide/basic-concepts/introducing-swarm-orchestration.mdx +685 -0
  688. ag2-0.9.1.post0/website/docs/user-guide/basic-concepts/introducing-tools.mdx +686 -0
  689. ag2-0.9.1.post0/website/docs/user-guide/basic-concepts/llm-configuration.mdx +156 -0
  690. ag2-0.9.1.post0/website/docs/user-guide/basic-concepts/overview.mdx +117 -0
  691. ag2-0.9.1.post0/website/docs/user-guide/basic-concepts/structured-outputs.mdx +609 -0
  692. ag2-0.9.1.post0/website/docs/user-guide/getting-started/Getting-Started.mdx +163 -0
  693. ag2-0.9.1.post0/website/docs/user-guide/models/amazon-bedrock.mdx +661 -0
  694. ag2-0.9.1.post0/website/docs/user-guide/models/anthropic.mdx +866 -0
  695. ag2-0.9.1.post0/website/docs/user-guide/models/assets/ag2-agentchat.png +3 -0
  696. ag2-0.9.1.post0/website/docs/user-guide/models/assets/chat-example.png +3 -0
  697. ag2-0.9.1.post0/website/docs/user-guide/models/assets/create-gcp-svc.png +3 -0
  698. ag2-0.9.1.post0/website/docs/user-guide/models/assets/gemini-coding-chart.png +3 -0
  699. ag2-0.9.1.post0/website/docs/user-guide/models/cerebras.mdx +351 -0
  700. ag2-0.9.1.post0/website/docs/user-guide/models/cohere.mdx +398 -0
  701. ag2-0.9.1.post0/website/docs/user-guide/models/deepseek-v3.mdx +378 -0
  702. ag2-0.9.1.post0/website/docs/user-guide/models/google-gemini.mdx +213 -0
  703. ag2-0.9.1.post0/website/docs/user-guide/models/google-vertexai.mdx +402 -0
  704. ag2-0.9.1.post0/website/docs/user-guide/models/groq.mdx +404 -0
  705. ag2-0.9.1.post0/website/docs/user-guide/models/litellm-proxy-server/azure.mdx +82 -0
  706. ag2-0.9.1.post0/website/docs/user-guide/models/litellm-proxy-server/installation.mdx +48 -0
  707. ag2-0.9.1.post0/website/docs/user-guide/models/litellm-proxy-server/openai.mdx +78 -0
  708. ag2-0.9.1.post0/website/docs/user-guide/models/litellm-proxy-server/watsonx.mdx +139 -0
  709. ag2-0.9.1.post0/website/docs/user-guide/models/lm-studio.mdx +114 -0
  710. ag2-0.9.1.post0/website/docs/user-guide/models/mistralai.mdx +736 -0
  711. ag2-0.9.1.post0/website/docs/user-guide/models/ollama.mdx +522 -0
  712. ag2-0.9.1.post0/website/docs/user-guide/models/openai.mdx +70 -0
  713. ag2-0.9.1.post0/website/docs/user-guide/models/togetherai.mdx +685 -0
  714. ag2-0.9.1.post0/website/docs/user-guide/models/vLLM.mdx +167 -0
  715. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/assets/commsagents_discordoutput.png +3 -0
  716. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/assets/commsagents_tools.png +3 -0
  717. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/assets/commsplatforms_discord_sentmsg.png +3 -0
  718. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/assets/commsplatforms_slack_sentmsg.png +3 -0
  719. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/assets/commsplatforms_telegram_sentmsg.png +3 -0
  720. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/assets/docagent_tests_story1.md +39 -0
  721. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/assets/docagent_tests_story2.md +69 -0
  722. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/assets/websurferagent_animated.gif +0 -0
  723. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/captainagent.mdx +1748 -0
  724. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/communication-platforms/discordagent.mdx +123 -0
  725. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/communication-platforms/overview.mdx +88 -0
  726. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/communication-platforms/slackagent.mdx +143 -0
  727. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/communication-platforms/telegramagent.mdx +157 -0
  728. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/deepresearchagent.mdx +10 -0
  729. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/docagent-performance.mdx +677 -0
  730. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/docagent.mdx +483 -0
  731. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/index.mdx +73 -0
  732. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/reasoningagent.mdx +1034 -0
  733. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/websurferagent.mdx +124 -0
  734. ag2-0.9.1.post0/website/docs/user-guide/reference-agents/wikipediaagent.mdx +91 -0
  735. ag2-0.9.1.post0/website/docs/user-guide/reference-tools/browser-use.mdx +11 -0
  736. ag2-0.9.1.post0/website/docs/user-guide/reference-tools/communication-platforms/discord.mdx +119 -0
  737. ag2-0.9.1.post0/website/docs/user-guide/reference-tools/communication-platforms/slack.mdx +159 -0
  738. ag2-0.9.1.post0/website/docs/user-guide/reference-tools/communication-platforms/telegram.mdx +148 -0
  739. ag2-0.9.1.post0/website/docs/user-guide/reference-tools/crawl4ai.mdx +10 -0
  740. ag2-0.9.1.post0/website/docs/user-guide/reference-tools/deep-research.mdx +9 -0
  741. ag2-0.9.1.post0/website/docs/user-guide/reference-tools/google-api/google-drive.mdx +9 -0
  742. ag2-0.9.1.post0/website/docs/user-guide/reference-tools/google-api/google-search.mdx +228 -0
  743. ag2-0.9.1.post0/website/docs/user-guide/reference-tools/google-api/youtube-search.mdx +194 -0
  744. ag2-0.9.1.post0/website/docs/user-guide/reference-tools/index.mdx +54 -0
  745. ag2-0.9.1.post0/website/docs/user-guide/reference-tools/perplexity-search.mdx +170 -0
  746. ag2-0.9.1.post0/website/docs/user-guide/reference-tools/wikipedia-search.mdx +216 -0
  747. ag2-0.9.1.post0/website/docs/user-stories/2025-02-11-NOVA/img/nexla_ag2.webp +3 -0
  748. ag2-0.9.1.post0/website/docs/user-stories/2025-02-11-NOVA/img/nova_architecture.webp +3 -0
  749. ag2-0.9.1.post0/website/docs/user-stories/2025-02-11-NOVA/index.mdx +82 -0
  750. ag2-0.9.1.post0/website/docs/user-stories/2025-04-03-Fortune-500-RAG-Chatbot/img/01.png +3 -0
  751. ag2-0.9.1.post0/website/docs/user-stories/2025-04-03-Fortune-500-RAG-Chatbot/img/02.png +3 -0
  752. ag2-0.9.1.post0/website/docs/user-stories/2025-04-03-Fortune-500-RAG-Chatbot/img/banner.png +3 -0
  753. ag2-0.9.1.post0/website/docs/user-stories/2025-04-03-Fortune-500-RAG-Chatbot/img/profile.png +3 -0
  754. ag2-0.9.1.post0/website/docs/user-stories/2025-04-03-Fortune-500-RAG-Chatbot/index.mdx +100 -0
  755. ag2-0.9.1.post0/website/docs/user-stories/2025-04-04-AgentWeb/img/01.png +3 -0
  756. ag2-0.9.1.post0/website/docs/user-stories/2025-04-04-AgentWeb/img/banner.png +3 -0
  757. ag2-0.9.1.post0/website/docs/user-stories/2025-04-04-AgentWeb/img/profile.png +3 -0
  758. ag2-0.9.1.post0/website/docs/user-stories/2025-04-04-AgentWeb/index.mdx +61 -0
  759. ag2-0.9.1.post0/website/docs/user-stories/2025-04-11-Productionizing-OSS-Agents/img/banner.png +3 -0
  760. ag2-0.9.1.post0/website/docs/user-stories/2025-04-11-Productionizing-OSS-Agents/index.mdx +27 -0
  761. ag2-0.9.1.post0/website/docs/user-stories/2025-04-15-CMBAgent/img/banner.png +3 -0
  762. ag2-0.9.1.post0/website/docs/user-stories/2025-04-15-CMBAgent/img/boris_profile.png +3 -0
  763. ag2-0.9.1.post0/website/docs/user-stories/2025-04-15-CMBAgent/img/flow-chart.png +3 -0
  764. ag2-0.9.1.post0/website/docs/user-stories/2025-04-15-CMBAgent/img/francisco_profile.png +3 -0
  765. ag2-0.9.1.post0/website/docs/user-stories/2025-04-15-CMBAgent/img/inigo_profile.png +3 -0
  766. ag2-0.9.1.post0/website/docs/user-stories/2025-04-15-CMBAgent/img/james_profile.png +3 -0
  767. ag2-0.9.1.post0/website/docs/user-stories/2025-04-15-CMBAgent/index.mdx +92 -0
  768. ag2-0.9.1.post0/website/docs/user-stories/2025-04-30-Cegid-Pulse-OS/img/01.png +3 -0
  769. ag2-0.9.1.post0/website/docs/user-stories/2025-04-30-Cegid-Pulse-OS/img/banner.png +3 -0
  770. ag2-0.9.1.post0/website/docs/user-stories/2025-04-30-Cegid-Pulse-OS/img/profile.png +3 -0
  771. ag2-0.9.1.post0/website/docs/user-stories/2025-04-30-Cegid-Pulse-OS/index.mdx +70 -0
  772. ag2-0.9.1.post0/website/docusaurus.config.js +34 -0
  773. ag2-0.9.1.post0/website/generate_api_references.py +10 -0
  774. ag2-0.9.1.post0/website/logo/ag2-white.svg +40 -0
  775. ag2-0.9.1.post0/website/logo/ag2.svg +40 -0
  776. ag2-0.9.1.post0/website/logo/favicon.svg +1 -0
  777. ag2-0.9.1.post0/website/mako_templates/text.mako +470 -0
  778. ag2-0.9.1.post0/website/mint-app-gallery-deps.js +106 -0
  779. ag2-0.9.1.post0/website/mint-json-template.json.jinja +363 -0
  780. ag2-0.9.1.post0/website/mint-script.js +21 -0
  781. ag2-0.9.1.post0/website/mint-style.css +1057 -0
  782. ag2-0.9.1.post0/website/mkdocs/.gitignore +4 -0
  783. ag2-0.9.1.post0/website/mkdocs/README.md +3 -0
  784. ag2-0.9.1.post0/website/mkdocs/create_api_docs.py +173 -0
  785. ag2-0.9.1.post0/website/mkdocs/data/gallery_items.yml +263 -0
  786. ag2-0.9.1.post0/website/mkdocs/data/people.yml +7 -0
  787. ag2-0.9.1.post0/website/mkdocs/docs/.gitignore +3 -0
  788. ag2-0.9.1.post0/website/mkdocs/docs/index.md +4 -0
  789. ag2-0.9.1.post0/website/mkdocs/docs/javascripts/extra.js +428 -0
  790. ag2-0.9.1.post0/website/mkdocs/docs/stylesheets/extra.css +697 -0
  791. ag2-0.9.1.post0/website/mkdocs/docs.py +229 -0
  792. ag2-0.9.1.post0/website/mkdocs/docs_src/__init__.py +0 -0
  793. ag2-0.9.1.post0/website/mkdocs/expand_markdown.py +105 -0
  794. ag2-0.9.1.post0/website/mkdocs/generate_mkdocs.py +10 -0
  795. ag2-0.9.1.post0/website/mkdocs/includes/.gitkeep +0 -0
  796. ag2-0.9.1.post0/website/mkdocs/mkdocs.yml +181 -0
  797. ag2-0.9.1.post0/website/mkdocs/overrides/404.html +9 -0
  798. ag2-0.9.1.post0/website/mkdocs/overrides/home.html +680 -0
  799. ag2-0.9.1.post0/website/mkdocs/overrides/images/blue-bg.png +3 -0
  800. ag2-0.9.1.post0/website/mkdocs/overrides/images/bot-left-corner.png +3 -0
  801. ag2-0.9.1.post0/website/mkdocs/overrides/images/bot-right-corner.png +3 -0
  802. ag2-0.9.1.post0/website/mkdocs/overrides/images/button-shine.png +3 -0
  803. ag2-0.9.1.post0/website/mkdocs/overrides/images/city-horizon.png +3 -0
  804. ag2-0.9.1.post0/website/mkdocs/overrides/images/cloud.png +3 -0
  805. ag2-0.9.1.post0/website/mkdocs/overrides/images/conversation.png +3 -0
  806. ag2-0.9.1.post0/website/mkdocs/overrides/images/green-bg.png +3 -0
  807. ag2-0.9.1.post0/website/mkdocs/overrides/images/human.png +3 -0
  808. ag2-0.9.1.post0/website/mkdocs/overrides/images/intuitive.png +3 -0
  809. ag2-0.9.1.post0/website/mkdocs/overrides/images/purple-bg.png +3 -0
  810. ag2-0.9.1.post0/website/mkdocs/overrides/images/sun.png +3 -0
  811. ag2-0.9.1.post0/website/mkdocs/overrides/images/top-left-corner.png +3 -0
  812. ag2-0.9.1.post0/website/mkdocs/overrides/images/top-right-corner.png +3 -0
  813. ag2-0.9.1.post0/website/mkdocs/overrides/images/yellow-bg.png +3 -0
  814. ag2-0.9.1.post0/website/mkdocs/overrides/main.html +40 -0
  815. ag2-0.9.1.post0/website/mkdocs/templates/redirect.html +63 -0
  816. ag2-0.9.1.post0/website/mkdocs/update_releases.py +90 -0
  817. ag2-0.9.1.post0/website/package-lock.json +3 -0
  818. ag2-0.9.1.post0/website/package.json +14 -0
  819. ag2-0.9.1.post0/website/process_notebooks.py +14 -0
  820. ag2-0.9.1.post0/website/snippets/advanced-concepts/realtime-agent/img/1_service_running.png +3 -0
  821. ag2-0.9.1.post0/website/snippets/advanced-concepts/realtime-agent/img/2_incoming_call.png +3 -0
  822. ag2-0.9.1.post0/website/snippets/advanced-concepts/realtime-agent/img/3_request_for_flight_cancellation.png +3 -0
  823. ag2-0.9.1.post0/website/snippets/advanced-concepts/realtime-agent/img/4_flight_number_name.png +3 -0
  824. ag2-0.9.1.post0/website/snippets/advanced-concepts/realtime-agent/img/5_refund_policy.png +3 -0
  825. ag2-0.9.1.post0/website/snippets/advanced-concepts/realtime-agent/img/6_flight_refunded.png +3 -0
  826. ag2-0.9.1.post0/website/snippets/advanced-concepts/realtime-agent/img/realtime_agent_swarm.png +3 -0
  827. ag2-0.9.1.post0/website/snippets/advanced-concepts/realtime-agent/img/twilio_endpoint_config.png +3 -0
  828. ag2-0.9.1.post0/website/snippets/advanced-concepts/realtime-agent/img/twilio_phone_numbers.png +3 -0
  829. ag2-0.9.1.post0/website/snippets/advanced-concepts/realtime-agent/img/webrtc_chat.png +3 -0
  830. ag2-0.9.1.post0/website/snippets/advanced-concepts/realtime-agent/img/webrtc_communication_diagram.png +3 -0
  831. ag2-0.9.1.post0/website/snippets/advanced-concepts/realtime-agent/img/webrtc_connection_diagram.png +3 -0
  832. ag2-0.9.1.post0/website/snippets/advanced-concepts/realtime-agent/img/websocket_chat.png +3 -0
  833. ag2-0.9.1.post0/website/snippets/advanced-concepts/realtime-agent/img/websocket_communication_diagram.png +3 -0
  834. ag2-0.9.1.post0/website/snippets/advanced-concepts/realtime-agent/twilio.mdx +354 -0
  835. ag2-0.9.1.post0/website/snippets/advanced-concepts/realtime-agent/webrtc.mdx +228 -0
  836. ag2-0.9.1.post0/website/snippets/advanced-concepts/realtime-agent/websocket.mdx +224 -0
  837. ag2-0.9.1.post0/website/snippets/components/ClientSideComponent.mdx +7 -0
  838. ag2-0.9.1.post0/website/snippets/components/GalleryPage.mdx +168 -0
  839. ag2-0.9.1.post0/website/snippets/data/GalleryItems.mdx +246 -0
  840. ag2-0.9.1.post0/website/snippets/interop/crewai.mdx +158 -0
  841. ag2-0.9.1.post0/website/snippets/interop/langchain.mdx +132 -0
  842. ag2-0.9.1.post0/website/snippets/interop/pydanticai.mdx +128 -0
  843. ag2-0.9.1.post0/website/snippets/mcp/client.mdx +302 -0
  844. ag2-0.9.1.post0/website/snippets/python-examples/conversableagentchat.mdx +25 -0
  845. ag2-0.9.1.post0/website/snippets/python-examples/groupchat.mdx +73 -0
  846. ag2-0.9.1.post0/website/snippets/python-examples/groupchatcustomfsm.mdx +108 -0
  847. ag2-0.9.1.post0/website/snippets/python-examples/groupchatcustomfunc.mdx +123 -0
  848. ag2-0.9.1.post0/website/snippets/python-examples/humanintheloop.mdx +32 -0
  849. ag2-0.9.1.post0/website/snippets/python-examples/humanintheloop_financial.mdx +62 -0
  850. ag2-0.9.1.post0/website/snippets/python-examples/nestedchat.mdx +137 -0
  851. ag2-0.9.1.post0/website/snippets/python-examples/sequentialchat.mdx +84 -0
  852. ag2-0.9.1.post0/website/snippets/python-examples/structured_output.mdx +49 -0
  853. ag2-0.9.1.post0/website/snippets/python-examples/swarm.mdx +118 -0
  854. ag2-0.9.1.post0/website/snippets/python-examples/swarmgroupchat.mdx +44 -0
  855. ag2-0.9.1.post0/website/snippets/python-examples/toolregister.mdx +45 -0
  856. ag2-0.9.1.post0/website/snippets/python-examples/websurferagent.mdx +27 -0
  857. ag2-0.9.1.post0/website/snippets/reference-agents/deep-research.mdx +109 -0
  858. ag2-0.9.1.post0/website/snippets/reference-agents/img/DeepResearchAgent.png +3 -0
  859. ag2-0.9.1.post0/website/snippets/reference-tools/browser-use.mdx +187 -0
  860. ag2-0.9.1.post0/website/snippets/reference-tools/crawl4ai.mdx +391 -0
  861. ag2-0.9.1.post0/website/snippets/reference-tools/deep-research.mdx +181 -0
  862. ag2-0.9.1.post0/website/snippets/reference-tools/google-drive.mdx +304 -0
  863. ag2-0.9.1.post0/website/snippets/utils/runmethodhelp.mdx +30 -0
  864. ag2-0.9.1.post0/website/static/.nojekyll +0 -0
  865. ag2-0.9.1.post0/website/static/img/ag.ico +0 -0
  866. ag2-0.9.1.post0/website/static/img/ag.svg +1 -0
  867. ag2-0.9.1.post0/website/static/img/ag2.ico +0 -0
  868. ag2-0.9.1.post0/website/static/img/ag2.png +3 -0
  869. ag2-0.9.1.post0/website/static/img/ag2.svg +40 -0
  870. ag2-0.9.1.post0/website/static/img/auto.svg +1 -0
  871. ag2-0.9.1.post0/website/static/img/autogen.svg +1 -0
  872. ag2-0.9.1.post0/website/static/img/autogen_agentchat.png +3 -0
  873. ag2-0.9.1.post0/website/static/img/autogen_app.png +3 -0
  874. ag2-0.9.1.post0/website/static/img/autogen_app.svg +86 -0
  875. ag2-0.9.1.post0/website/static/img/chat_example.png +3 -0
  876. ag2-0.9.1.post0/website/static/img/conv.svg +1 -0
  877. ag2-0.9.1.post0/website/static/img/conv_2.svg +43 -0
  878. ag2-0.9.1.post0/website/static/img/cover.png +3 -0
  879. ag2-0.9.1.post0/website/static/img/create_gcp_svc.png +3 -0
  880. ag2-0.9.1.post0/website/static/img/ecosystem-composio.png +3 -0
  881. ag2-0.9.1.post0/website/static/img/extend.svg +81 -0
  882. ag2-0.9.1.post0/website/static/img/fast.svg +1 -0
  883. ag2-0.9.1.post0/website/static/img/favicon-dark.svg +7 -0
  884. ag2-0.9.1.post0/website/static/img/favicon.svg +1 -0
  885. ag2-0.9.1.post0/website/static/img/flaml.svg +1 -0
  886. ag2-0.9.1.post0/website/static/img/flaml_logo.ico +0 -0
  887. ag2-0.9.1.post0/website/static/img/flaml_logo_fill.svg +28 -0
  888. ag2-0.9.1.post0/website/static/img/gallery/TensionCode.png +3 -0
  889. ag2-0.9.1.post0/website/static/img/gallery/agent-e.png +3 -0
  890. ag2-0.9.1.post0/website/static/img/gallery/autotx.png +3 -0
  891. ag2-0.9.1.post0/website/static/img/gallery/composio-autogen.png +3 -0
  892. ag2-0.9.1.post0/website/static/img/gallery/default.png +3 -0
  893. ag2-0.9.1.post0/website/static/img/gallery/robot.jpg +3 -0
  894. ag2-0.9.1.post0/website/static/img/gallery/webagent.jpg +3 -0
  895. ag2-0.9.1.post0/website/static/img/gallery/x-force-ide-ui.png +3 -0
  896. ag2-0.9.1.post0/website/static/img/homepage-hero-background-large.png +3 -0
  897. ag2-0.9.1.post0/website/static/img/homepage-hero-background.png +3 -0
  898. ag2-0.9.1.post0/website/static/img/logo.svg +40 -0
  899. ag2-0.9.1.post0/website/static/img/love.png +3 -0
  900. ag2-0.9.1.post0/website/talks/2024-08-26/index.mdx +19 -0
  901. ag2-0.9.1.post0/website/talks/2024-09-23/index.mdx +15 -0
  902. ag2-0.9.1.post0/website/talks/2024-09-30/index.mdx +13 -0
  903. ag2-0.9.1.post0/website/talks/2024-10-14/index.mdx +13 -0
  904. ag2-0.9.1.post0/website/talks/2024-10-15/index.mdx +14 -0
  905. ag2-0.9.1.post0/website/talks/2024-11-04/index.mdx +13 -0
  906. ag2-0.9.1.post0/website/talks/2024-11-11/index.mdx +13 -0
  907. ag2-0.9.1.post0/website/talks/2024-11-12/index.mdx +13 -0
  908. ag2-0.9.1.post0/website/talks/2024-11-18/index.mdx +13 -0
  909. ag2-0.9.1.post0/website/talks/2024-11-25/index.mdx +13 -0
  910. ag2-0.9.1.post0/website/talks/2024-11-28/index.mdx +13 -0
  911. ag2-0.9.1.post0/website/talks/2024-12-12/index.mdx +13 -0
  912. ag2-0.9.1.post0/website/talks/2024-12-19/index.mdx +13 -0
  913. ag2-0.9.1.post0/website/talks/2024-12-19-special_talk/index.mdx +17 -0
  914. ag2-0.9.1.post0/website/talks/2025-01-16/index.mdx +13 -0
  915. ag2-0.9.1.post0/website/talks/2025-01-23/index.mdx +13 -0
  916. ag2-0.9.1.post0/website/talks/future_talks/index.mdx +14 -0
  917. ag2-0.9.1.post0/website/user-guide/captainagent/_category_.json +4 -0
  918. ag2-0.9.1.post0/website/user-guide/captainagent/agent_library.mdx +52 -0
  919. ag2-0.9.1.post0/website/user-guide/captainagent/configurations.mdx +94 -0
  920. ag2-0.9.1.post0/website/user-guide/captainagent/tool_library.mdx +104 -0
  921. ag2-0.9.1.post0/website/user-guide/handling_long_contexts/_category_.json +4 -0
  922. ag2-0.9.1.post0/website/user-guide/handling_long_contexts/compressing_text_w_llmligua.mdx +181 -0
  923. ag2-0.9.1.post0/website/user-guide/handling_long_contexts/intro_to_transform_messages.mdx +371 -0
  924. ag2-0.9.1a1/PKG-INFO +0 -506
  925. ag2-0.9.1a1/ag2.egg-info/SOURCES.txt +0 -22
  926. ag2-0.9.1a1/ag2.egg-info/dependency_links.txt +0 -1
  927. ag2-0.9.1a1/ag2.egg-info/requires.txt +0 -166
  928. ag2-0.9.1a1/ag2.egg-info/top_level.txt +0 -1
  929. ag2-0.9.1a1/setup.cfg +0 -4
  930. ag2-0.9.1a1/setup_ag2.py +0 -98
  931. ag2-0.9.1a1/test/test_browser_utils.py +0 -177
  932. ag2-0.9.1a1/test/test_code_utils.py +0 -446
  933. ag2-0.9.1a1/test/test_conftest.py +0 -74
  934. ag2-0.9.1a1/test/test_graph_utils.py +0 -171
  935. ag2-0.9.1a1/test/test_import.py +0 -84
  936. ag2-0.9.1a1/test/test_import_utils.py +0 -451
  937. ag2-0.9.1a1/test/test_json_utils.py +0 -48
  938. ag2-0.9.1a1/test/test_llm_config.py +0 -805
  939. ag2-0.9.1a1/test/test_logging.py +0 -321
  940. ag2-0.9.1a1/test/test_notebook.py +0 -154
  941. ag2-0.9.1a1/test/test_retrieve_utils.py +0 -278
  942. ag2-0.9.1a1/test/test_token_count.py +0 -171
  943. {ag2-0.9.1a1 → ag2-0.9.1.post0}/LICENSE +0 -0
  944. {ag2-0.9.1a1 → ag2-0.9.1.post0}/NOTICE.md +0 -0
@@ -0,0 +1,6 @@
1
+ [run]
2
+ branch = True
3
+ source = autogen
4
+ omit =
5
+ autogen/agentchat/contrib/*
6
+ autogen/_website/*
@@ -0,0 +1,38 @@
1
+ #-------------------------------------------------------------------------------------------------------------
2
+ # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ # Contributions to this project, i.e., https://github.com/ag2ai/ag2, are licensed under the Apache License, Version 2.0 (Apache-2.0).
5
+
6
+ # Portions derived from https://github.com/microsoft/autogen under the MIT License.
7
+ # SPDX-License-Identifier: MIT
8
+ # Copyright (c) Microsoft Corporation. All rights reserved.
9
+ # Licensed under the MIT License. See LICENSE file in the project root for license information.
10
+ #-------------------------------------------------------------------------------------------------------------
11
+
12
+ FROM mcr.microsoft.com/vscode/devcontainers/python:3.10
13
+
14
+ #
15
+ # Update the OS and maybe install packages
16
+ #
17
+ ENV DEBIAN_FRONTEND=noninteractive
18
+
19
+ # add git lhs to apt
20
+ RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
21
+
22
+ RUN apt-get update \
23
+ && apt-get upgrade -y \
24
+ && apt-get -y install --no-install-recommends build-essential npm git-lfs \
25
+ && apt-get autoremove -y \
26
+ && apt-get clean -y \
27
+ && arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \
28
+ && wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.5.23/quarto-1.5.23-linux-${arch}.deb \
29
+ && dpkg -i quarto-1.5.23-linux-${arch}.deb \
30
+ && rm -rf /var/lib/apt/lists/* quarto-1.5.23-linux-${arch}.deb
31
+ ENV DEBIAN_FRONTEND=dialog
32
+
33
+ # For docs
34
+ RUN npm install --global yarn
35
+ RUN pip install --upgrade pip
36
+ RUN pip install pydoc-markdown
37
+ RUN pip install pyyaml
38
+ RUN pip install colored
@@ -0,0 +1,28 @@
1
+ # Devcontainer Configurations for AG2
2
+
3
+ Welcome to the `.devcontainer` directory! Here you'll find Dockerfiles and devcontainer configurations that are essential for setting up your AG2 development environment. Below is a brief overview and how you can utilize them effectively.
4
+
5
+ These configurations can be used with Codespaces and locally.
6
+
7
+ ## Developing AG2 with Devcontainers
8
+
9
+ ### Prerequisites
10
+
11
+ - [Docker](https://docs.docker.com/get-docker/)
12
+ - [Visual Studio Code](https://code.visualstudio.com/)
13
+ - [Visual Studio Code Remote - Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
14
+
15
+ ### Getting Started
16
+
17
+ 1. Open the project in Visual Studio Code.
18
+ 2. Press `Ctrl+Shift+P` and select `Dev Containers: Reopen in Container`.
19
+ 3. Select the desired python environment and wait for the container to build.
20
+ 4. Once the container is built, you can start developing AG2.
21
+
22
+ ### Troubleshooting Common Issues
23
+
24
+ - Check Docker daemon, port conflicts, and permissions issues.
25
+
26
+ ### Additional Resources
27
+
28
+ For more information on Docker usage and best practices, refer to the [official Docker documentation](https://docs.docker.com).
@@ -0,0 +1,94 @@
1
+ // Do not edit this file directly.
2
+ // This file is auto generated from the template file `scripts/devcontainer/templates/devcontainer.json.jinja`.
3
+ // If you need to make changes, please update the template file and regenerate this file
4
+ // by running pre-commit command `pre-commit run --all-files`
5
+ // or by manually running the script `./scripts/devcontainer/generate-devcontainers.sh`.
6
+ {
7
+ "name": "python-3.9",
8
+ "image": "mcr.microsoft.com/devcontainers/python:3.9",
9
+ "secrets": {
10
+ "OAI_CONFIG_LIST": {
11
+ "description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
12
+ },
13
+ "OPENAI_API_KEY": {
14
+ "description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
15
+ },
16
+ "TOGETHER_API_KEY": {
17
+ "description": "This key is optional and only needed if you are working with Together API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
18
+ },
19
+ "ANTHROPIC_API_KEY": {
20
+ "description": "This key is optional and only needed if you are working with Anthropic API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
21
+ },
22
+ "GEMINI_API_KEY": {
23
+ "description": "This key is optional and only needed if you are working with Gemini API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
24
+ },
25
+ "AZURE_OPENAI_API_KEY": {
26
+ "description": "This key is optional and only needed if you are using Azure's OpenAI services. For it to work, you must also set the related environment variables: AZURE_API_ENDPOINT, AZURE_API_VERSION. Leave it blank if not required. You can always set these variables later in the codespace terminal."
27
+ },
28
+ "AZURE_API_ENDPOINT": {
29
+ "description": "This key is required if you are using Azure's OpenAI services. It must be used in conjunction with AZURE_OPENAI_API_KEY, AZURE_API_VERSION to ensure proper configuration. You can always set these variables later as environment variables in the codespace terminal."
30
+ },
31
+ "AZURE_API_VERSION": {
32
+ "description": "This key is required to specify the version of the Azure API you are using. Set this along with AZURE_OPENAI_API_KEY, AZURE_API_ENDPOINT for Azure OpenAI services. These variables can be configured later as environment variables in the codespace terminal."
33
+ },
34
+ },
35
+ "shutdownAction": "stopContainer",
36
+ "workspaceFolder": "/workspaces/ag2",
37
+ "runArgs": [
38
+ "--name",
39
+ "python-3.9-ag2"
40
+ ],
41
+ "remoteEnv": {
42
+ "OAI_CONFIG_LIST": "${localEnv:OAI_CONFIG_LIST}",
43
+ "ANTHROPIC_API_KEY": "${localEnv:ANTHROPIC_API_KEY}",
44
+ "AZURE_OPENAI_API_KEY": "${localEnv:AZURE_OPENAI_API_KEY}",
45
+ "OPENAI_API_KEY": "${localEnv:OPENAI_API_KEY}",
46
+ "TOGETHER_API_KEY": "${localEnv:TOGETHER_API_KEY}",
47
+ "GEMINI_API_KEY": "${localEnv:GEMINI_API_KEY}",
48
+ "AZURE_API_ENDPOINT": "${localEnv:AZURE_API_ENDPOINT}",
49
+ "AZURE_API_VERSION": "${localEnv:AZURE_API_VERSION}",
50
+ },
51
+ "features": {
52
+ "ghcr.io/devcontainers/features/common-utils:2": {
53
+ "installZsh": true,
54
+ "installOhMyZsh": true,
55
+ "configureZshAsDefaultShell": true,
56
+ "username": "vscode",
57
+ "userUid": "1000",
58
+ "userGid": "1000"
59
+ // "upgradePackages": "true"
60
+ },
61
+ "ghcr.io/devcontainers/features/node:1": {},
62
+ "ghcr.io/devcontainers/features/git:1": {},
63
+ "ghcr.io/devcontainers/features/git-lfs:1": {},
64
+ "ghcr.io/rocker-org/devcontainer-features/quarto-cli:1": {}
65
+ },
66
+ "updateContentCommand": "bash .devcontainer/setup.sh",
67
+ "customizations": {
68
+ "vscode": {
69
+ "settings": {
70
+ "python.linting.enabled": true,
71
+ "python.testing.pytestEnabled": true,
72
+ "editor.formatOnSave": true,
73
+ "editor.codeActionsOnSave": {
74
+ "source.organizeImports": "always"
75
+ },
76
+ "[python]": {
77
+ "editor.defaultFormatter": "ms-python.vscode-pylance"
78
+ },
79
+ "editor.rulers": [
80
+ 80
81
+ ]
82
+ },
83
+ "extensions": [
84
+ "ms-python.python",
85
+ "ms-toolsai.jupyter",
86
+ "ms-toolsai.vscode-jupyter-cell-tags",
87
+ "ms-toolsai.jupyter-keymap",
88
+ "ms-toolsai.jupyter-renderers",
89
+ "ms-toolsai.vscode-jupyter-slideshow",
90
+ "ms-python.vscode-pylance"
91
+ ]
92
+ }
93
+ }
94
+ }
@@ -0,0 +1,94 @@
1
+ // Do not edit this file directly.
2
+ // This file is auto generated from the template file `scripts/devcontainer/templates/devcontainer.json.jinja`.
3
+ // If you need to make changes, please update the template file and regenerate this file
4
+ // by running pre-commit command `pre-commit run --all-files`
5
+ // or by manually running the script `./scripts/devcontainer/generate-devcontainers.sh`.
6
+ {
7
+ "name": "python-3.10",
8
+ "image": "mcr.microsoft.com/devcontainers/python:3.10",
9
+ "secrets": {
10
+ "OAI_CONFIG_LIST": {
11
+ "description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
12
+ },
13
+ "OPENAI_API_KEY": {
14
+ "description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
15
+ },
16
+ "TOGETHER_API_KEY": {
17
+ "description": "This key is optional and only needed if you are working with Together API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
18
+ },
19
+ "ANTHROPIC_API_KEY": {
20
+ "description": "This key is optional and only needed if you are working with Anthropic API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
21
+ },
22
+ "GEMINI_API_KEY": {
23
+ "description": "This key is optional and only needed if you are working with Gemini API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
24
+ },
25
+ "AZURE_OPENAI_API_KEY": {
26
+ "description": "This key is optional and only needed if you are using Azure's OpenAI services. For it to work, you must also set the related environment variables: AZURE_API_ENDPOINT, AZURE_API_VERSION. Leave it blank if not required. You can always set these variables later in the codespace terminal."
27
+ },
28
+ "AZURE_API_ENDPOINT": {
29
+ "description": "This key is required if you are using Azure's OpenAI services. It must be used in conjunction with AZURE_OPENAI_API_KEY, AZURE_API_VERSION to ensure proper configuration. You can always set these variables later as environment variables in the codespace terminal."
30
+ },
31
+ "AZURE_API_VERSION": {
32
+ "description": "This key is required to specify the version of the Azure API you are using. Set this along with AZURE_OPENAI_API_KEY, AZURE_API_ENDPOINT for Azure OpenAI services. These variables can be configured later as environment variables in the codespace terminal."
33
+ },
34
+ },
35
+ "shutdownAction": "stopContainer",
36
+ "workspaceFolder": "/workspaces/ag2",
37
+ "runArgs": [
38
+ "--name",
39
+ "python-3.10-ag2"
40
+ ],
41
+ "remoteEnv": {
42
+ "OAI_CONFIG_LIST": "${localEnv:OAI_CONFIG_LIST}",
43
+ "ANTHROPIC_API_KEY": "${localEnv:ANTHROPIC_API_KEY}",
44
+ "AZURE_OPENAI_API_KEY": "${localEnv:AZURE_OPENAI_API_KEY}",
45
+ "OPENAI_API_KEY": "${localEnv:OPENAI_API_KEY}",
46
+ "TOGETHER_API_KEY": "${localEnv:TOGETHER_API_KEY}",
47
+ "GEMINI_API_KEY": "${localEnv:GEMINI_API_KEY}",
48
+ "AZURE_API_ENDPOINT": "${localEnv:AZURE_API_ENDPOINT}",
49
+ "AZURE_API_VERSION": "${localEnv:AZURE_API_VERSION}",
50
+ },
51
+ "features": {
52
+ "ghcr.io/devcontainers/features/common-utils:2": {
53
+ "installZsh": true,
54
+ "installOhMyZsh": true,
55
+ "configureZshAsDefaultShell": true,
56
+ "username": "vscode",
57
+ "userUid": "1000",
58
+ "userGid": "1000"
59
+ // "upgradePackages": "true"
60
+ },
61
+ "ghcr.io/devcontainers/features/node:1": {},
62
+ "ghcr.io/devcontainers/features/git:1": {},
63
+ "ghcr.io/devcontainers/features/git-lfs:1": {},
64
+ "ghcr.io/rocker-org/devcontainer-features/quarto-cli:1": {}
65
+ },
66
+ "updateContentCommand": "bash .devcontainer/setup.sh",
67
+ "customizations": {
68
+ "vscode": {
69
+ "settings": {
70
+ "python.linting.enabled": true,
71
+ "python.testing.pytestEnabled": true,
72
+ "editor.formatOnSave": true,
73
+ "editor.codeActionsOnSave": {
74
+ "source.organizeImports": "always"
75
+ },
76
+ "[python]": {
77
+ "editor.defaultFormatter": "ms-python.vscode-pylance"
78
+ },
79
+ "editor.rulers": [
80
+ 80
81
+ ]
82
+ },
83
+ "extensions": [
84
+ "ms-python.python",
85
+ "ms-toolsai.jupyter",
86
+ "ms-toolsai.vscode-jupyter-cell-tags",
87
+ "ms-toolsai.jupyter-keymap",
88
+ "ms-toolsai.jupyter-renderers",
89
+ "ms-toolsai.vscode-jupyter-slideshow",
90
+ "ms-python.vscode-pylance"
91
+ ]
92
+ }
93
+ }
94
+ }
@@ -0,0 +1,94 @@
1
+ // Do not edit this file directly.
2
+ // This file is auto generated from the template file `scripts/devcontainer/templates/devcontainer.json.jinja`.
3
+ // If you need to make changes, please update the template file and regenerate this file
4
+ // by running pre-commit command `pre-commit run --all-files`
5
+ // or by manually running the script `./scripts/devcontainer/generate-devcontainers.sh`.
6
+ {
7
+ "name": "python-3.11",
8
+ "image": "mcr.microsoft.com/devcontainers/python:3.11",
9
+ "secrets": {
10
+ "OAI_CONFIG_LIST": {
11
+ "description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
12
+ },
13
+ "OPENAI_API_KEY": {
14
+ "description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
15
+ },
16
+ "TOGETHER_API_KEY": {
17
+ "description": "This key is optional and only needed if you are working with Together API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
18
+ },
19
+ "ANTHROPIC_API_KEY": {
20
+ "description": "This key is optional and only needed if you are working with Anthropic API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
21
+ },
22
+ "GEMINI_API_KEY": {
23
+ "description": "This key is optional and only needed if you are working with Gemini API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
24
+ },
25
+ "AZURE_OPENAI_API_KEY": {
26
+ "description": "This key is optional and only needed if you are using Azure's OpenAI services. For it to work, you must also set the related environment variables: AZURE_API_ENDPOINT, AZURE_API_VERSION. Leave it blank if not required. You can always set these variables later in the codespace terminal."
27
+ },
28
+ "AZURE_API_ENDPOINT": {
29
+ "description": "This key is required if you are using Azure's OpenAI services. It must be used in conjunction with AZURE_OPENAI_API_KEY, AZURE_API_VERSION to ensure proper configuration. You can always set these variables later as environment variables in the codespace terminal."
30
+ },
31
+ "AZURE_API_VERSION": {
32
+ "description": "This key is required to specify the version of the Azure API you are using. Set this along with AZURE_OPENAI_API_KEY, AZURE_API_ENDPOINT for Azure OpenAI services. These variables can be configured later as environment variables in the codespace terminal."
33
+ },
34
+ },
35
+ "shutdownAction": "stopContainer",
36
+ "workspaceFolder": "/workspaces/ag2",
37
+ "runArgs": [
38
+ "--name",
39
+ "python-3.11-ag2"
40
+ ],
41
+ "remoteEnv": {
42
+ "OAI_CONFIG_LIST": "${localEnv:OAI_CONFIG_LIST}",
43
+ "ANTHROPIC_API_KEY": "${localEnv:ANTHROPIC_API_KEY}",
44
+ "AZURE_OPENAI_API_KEY": "${localEnv:AZURE_OPENAI_API_KEY}",
45
+ "OPENAI_API_KEY": "${localEnv:OPENAI_API_KEY}",
46
+ "TOGETHER_API_KEY": "${localEnv:TOGETHER_API_KEY}",
47
+ "GEMINI_API_KEY": "${localEnv:GEMINI_API_KEY}",
48
+ "AZURE_API_ENDPOINT": "${localEnv:AZURE_API_ENDPOINT}",
49
+ "AZURE_API_VERSION": "${localEnv:AZURE_API_VERSION}",
50
+ },
51
+ "features": {
52
+ "ghcr.io/devcontainers/features/common-utils:2": {
53
+ "installZsh": true,
54
+ "installOhMyZsh": true,
55
+ "configureZshAsDefaultShell": true,
56
+ "username": "vscode",
57
+ "userUid": "1000",
58
+ "userGid": "1000"
59
+ // "upgradePackages": "true"
60
+ },
61
+ "ghcr.io/devcontainers/features/node:1": {},
62
+ "ghcr.io/devcontainers/features/git:1": {},
63
+ "ghcr.io/devcontainers/features/git-lfs:1": {},
64
+ "ghcr.io/rocker-org/devcontainer-features/quarto-cli:1": {}
65
+ },
66
+ "updateContentCommand": "bash .devcontainer/setup.sh",
67
+ "customizations": {
68
+ "vscode": {
69
+ "settings": {
70
+ "python.linting.enabled": true,
71
+ "python.testing.pytestEnabled": true,
72
+ "editor.formatOnSave": true,
73
+ "editor.codeActionsOnSave": {
74
+ "source.organizeImports": "always"
75
+ },
76
+ "[python]": {
77
+ "editor.defaultFormatter": "ms-python.vscode-pylance"
78
+ },
79
+ "editor.rulers": [
80
+ 80
81
+ ]
82
+ },
83
+ "extensions": [
84
+ "ms-python.python",
85
+ "ms-toolsai.jupyter",
86
+ "ms-toolsai.vscode-jupyter-cell-tags",
87
+ "ms-toolsai.jupyter-keymap",
88
+ "ms-toolsai.jupyter-renderers",
89
+ "ms-toolsai.vscode-jupyter-slideshow",
90
+ "ms-python.vscode-pylance"
91
+ ]
92
+ }
93
+ }
94
+ }
@@ -0,0 +1,94 @@
1
+ // Do not edit this file directly.
2
+ // This file is auto generated from the template file `scripts/devcontainer/templates/devcontainer.json.jinja`.
3
+ // If you need to make changes, please update the template file and regenerate this file
4
+ // by running pre-commit command `pre-commit run --all-files`
5
+ // or by manually running the script `./scripts/devcontainer/generate-devcontainers.sh`.
6
+ {
7
+ "name": "python-3.12",
8
+ "image": "mcr.microsoft.com/devcontainers/python:3.12",
9
+ "secrets": {
10
+ "OAI_CONFIG_LIST": {
11
+ "description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
12
+ },
13
+ "OPENAI_API_KEY": {
14
+ "description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
15
+ },
16
+ "TOGETHER_API_KEY": {
17
+ "description": "This key is optional and only needed if you are working with Together API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
18
+ },
19
+ "ANTHROPIC_API_KEY": {
20
+ "description": "This key is optional and only needed if you are working with Anthropic API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
21
+ },
22
+ "GEMINI_API_KEY": {
23
+ "description": "This key is optional and only needed if you are working with Gemini API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
24
+ },
25
+ "AZURE_OPENAI_API_KEY": {
26
+ "description": "This key is optional and only needed if you are using Azure's OpenAI services. For it to work, you must also set the related environment variables: AZURE_API_ENDPOINT, AZURE_API_VERSION. Leave it blank if not required. You can always set these variables later in the codespace terminal."
27
+ },
28
+ "AZURE_API_ENDPOINT": {
29
+ "description": "This key is required if you are using Azure's OpenAI services. It must be used in conjunction with AZURE_OPENAI_API_KEY, AZURE_API_VERSION to ensure proper configuration. You can always set these variables later as environment variables in the codespace terminal."
30
+ },
31
+ "AZURE_API_VERSION": {
32
+ "description": "This key is required to specify the version of the Azure API you are using. Set this along with AZURE_OPENAI_API_KEY, AZURE_API_ENDPOINT for Azure OpenAI services. These variables can be configured later as environment variables in the codespace terminal."
33
+ },
34
+ },
35
+ "shutdownAction": "stopContainer",
36
+ "workspaceFolder": "/workspaces/ag2",
37
+ "runArgs": [
38
+ "--name",
39
+ "python-3.12-ag2"
40
+ ],
41
+ "remoteEnv": {
42
+ "OAI_CONFIG_LIST": "${localEnv:OAI_CONFIG_LIST}",
43
+ "ANTHROPIC_API_KEY": "${localEnv:ANTHROPIC_API_KEY}",
44
+ "AZURE_OPENAI_API_KEY": "${localEnv:AZURE_OPENAI_API_KEY}",
45
+ "OPENAI_API_KEY": "${localEnv:OPENAI_API_KEY}",
46
+ "TOGETHER_API_KEY": "${localEnv:TOGETHER_API_KEY}",
47
+ "GEMINI_API_KEY": "${localEnv:GEMINI_API_KEY}",
48
+ "AZURE_API_ENDPOINT": "${localEnv:AZURE_API_ENDPOINT}",
49
+ "AZURE_API_VERSION": "${localEnv:AZURE_API_VERSION}",
50
+ },
51
+ "features": {
52
+ "ghcr.io/devcontainers/features/common-utils:2": {
53
+ "installZsh": true,
54
+ "installOhMyZsh": true,
55
+ "configureZshAsDefaultShell": true,
56
+ "username": "vscode",
57
+ "userUid": "1000",
58
+ "userGid": "1000"
59
+ // "upgradePackages": "true"
60
+ },
61
+ "ghcr.io/devcontainers/features/node:1": {},
62
+ "ghcr.io/devcontainers/features/git:1": {},
63
+ "ghcr.io/devcontainers/features/git-lfs:1": {},
64
+ "ghcr.io/rocker-org/devcontainer-features/quarto-cli:1": {}
65
+ },
66
+ "updateContentCommand": "bash .devcontainer/setup.sh",
67
+ "customizations": {
68
+ "vscode": {
69
+ "settings": {
70
+ "python.linting.enabled": true,
71
+ "python.testing.pytestEnabled": true,
72
+ "editor.formatOnSave": true,
73
+ "editor.codeActionsOnSave": {
74
+ "source.organizeImports": "always"
75
+ },
76
+ "[python]": {
77
+ "editor.defaultFormatter": "ms-python.vscode-pylance"
78
+ },
79
+ "editor.rulers": [
80
+ 80
81
+ ]
82
+ },
83
+ "extensions": [
84
+ "ms-python.python",
85
+ "ms-toolsai.jupyter",
86
+ "ms-toolsai.vscode-jupyter-cell-tags",
87
+ "ms-toolsai.jupyter-keymap",
88
+ "ms-toolsai.jupyter-renderers",
89
+ "ms-toolsai.vscode-jupyter-slideshow",
90
+ "ms-python.vscode-pylance"
91
+ ]
92
+ }
93
+ }
94
+ }
@@ -0,0 +1,94 @@
1
+ // Do not edit this file directly.
2
+ // This file is auto generated from the template file `scripts/devcontainer/templates/devcontainer.json.jinja`.
3
+ // If you need to make changes, please update the template file and regenerate this file
4
+ // by running pre-commit command `pre-commit run --all-files`
5
+ // or by manually running the script `./scripts/devcontainer/generate-devcontainers.sh`.
6
+ {
7
+ "name": "python-3.13",
8
+ "image": "mcr.microsoft.com/devcontainers/python:3.13",
9
+ "secrets": {
10
+ "OAI_CONFIG_LIST": {
11
+ "description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
12
+ },
13
+ "OPENAI_API_KEY": {
14
+ "description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
15
+ },
16
+ "TOGETHER_API_KEY": {
17
+ "description": "This key is optional and only needed if you are working with Together API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
18
+ },
19
+ "ANTHROPIC_API_KEY": {
20
+ "description": "This key is optional and only needed if you are working with Anthropic API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
21
+ },
22
+ "GEMINI_API_KEY": {
23
+ "description": "This key is optional and only needed if you are working with Gemini API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
24
+ },
25
+ "AZURE_OPENAI_API_KEY": {
26
+ "description": "This key is optional and only needed if you are using Azure's OpenAI services. For it to work, you must also set the related environment variables: AZURE_API_ENDPOINT, AZURE_API_VERSION. Leave it blank if not required. You can always set these variables later in the codespace terminal."
27
+ },
28
+ "AZURE_API_ENDPOINT": {
29
+ "description": "This key is required if you are using Azure's OpenAI services. It must be used in conjunction with AZURE_OPENAI_API_KEY, AZURE_API_VERSION to ensure proper configuration. You can always set these variables later as environment variables in the codespace terminal."
30
+ },
31
+ "AZURE_API_VERSION": {
32
+ "description": "This key is required to specify the version of the Azure API you are using. Set this along with AZURE_OPENAI_API_KEY, AZURE_API_ENDPOINT for Azure OpenAI services. These variables can be configured later as environment variables in the codespace terminal."
33
+ },
34
+ },
35
+ "shutdownAction": "stopContainer",
36
+ "workspaceFolder": "/workspaces/ag2",
37
+ "runArgs": [
38
+ "--name",
39
+ "python-3.13-ag2"
40
+ ],
41
+ "remoteEnv": {
42
+ "OAI_CONFIG_LIST": "${localEnv:OAI_CONFIG_LIST}",
43
+ "ANTHROPIC_API_KEY": "${localEnv:ANTHROPIC_API_KEY}",
44
+ "AZURE_OPENAI_API_KEY": "${localEnv:AZURE_OPENAI_API_KEY}",
45
+ "OPENAI_API_KEY": "${localEnv:OPENAI_API_KEY}",
46
+ "TOGETHER_API_KEY": "${localEnv:TOGETHER_API_KEY}",
47
+ "GEMINI_API_KEY": "${localEnv:GEMINI_API_KEY}",
48
+ "AZURE_API_ENDPOINT": "${localEnv:AZURE_API_ENDPOINT}",
49
+ "AZURE_API_VERSION": "${localEnv:AZURE_API_VERSION}",
50
+ },
51
+ "features": {
52
+ "ghcr.io/devcontainers/features/common-utils:2": {
53
+ "installZsh": true,
54
+ "installOhMyZsh": true,
55
+ "configureZshAsDefaultShell": true,
56
+ "username": "vscode",
57
+ "userUid": "1000",
58
+ "userGid": "1000"
59
+ // "upgradePackages": "true"
60
+ },
61
+ "ghcr.io/devcontainers/features/node:1": {},
62
+ "ghcr.io/devcontainers/features/git:1": {},
63
+ "ghcr.io/devcontainers/features/git-lfs:1": {},
64
+ "ghcr.io/rocker-org/devcontainer-features/quarto-cli:1": {}
65
+ },
66
+ "updateContentCommand": "bash .devcontainer/setup.sh",
67
+ "customizations": {
68
+ "vscode": {
69
+ "settings": {
70
+ "python.linting.enabled": true,
71
+ "python.testing.pytestEnabled": true,
72
+ "editor.formatOnSave": true,
73
+ "editor.codeActionsOnSave": {
74
+ "source.organizeImports": "always"
75
+ },
76
+ "[python]": {
77
+ "editor.defaultFormatter": "ms-python.vscode-pylance"
78
+ },
79
+ "editor.rulers": [
80
+ 80
81
+ ]
82
+ },
83
+ "extensions": [
84
+ "ms-python.python",
85
+ "ms-toolsai.jupyter",
86
+ "ms-toolsai.vscode-jupyter-cell-tags",
87
+ "ms-toolsai.jupyter-keymap",
88
+ "ms-toolsai.jupyter-renderers",
89
+ "ms-toolsai.vscode-jupyter-slideshow",
90
+ "ms-python.vscode-pylance"
91
+ ]
92
+ }
93
+ }
94
+ }
@@ -0,0 +1,8 @@
1
+ # update pip
2
+ pip install --upgrade pip
3
+
4
+ # install dev packages
5
+ pip install -e ".[dev]"
6
+
7
+ # install pre-commit hook if not installed already
8
+ pre-commit install
@@ -0,0 +1,93 @@
1
+ # Source code
2
+ *.bash text eol=lf
3
+ *.bat text eol=crlf
4
+ *.cmd text eol=crlf
5
+ *.coffee text
6
+ *.css text diff=css eol=lf
7
+ *.htm text diff=html eol=lf
8
+ *.html text diff=html eol=lf
9
+ *.inc text
10
+ *.ini text
11
+ *.js text
12
+ *.json text eol=lf
13
+ *.jsx text
14
+ *.less text
15
+ *.ls text
16
+ *.map text -diff
17
+ *.od text
18
+ *.onlydata text
19
+ *.php text diff=php
20
+ *.pl text
21
+ *.ps1 text eol=crlf
22
+ *.py text diff=python eol=lf
23
+ *.rb text diff=ruby eol=lf
24
+ *.sass text
25
+ *.scm text
26
+ *.scss text diff=css
27
+ *.sh text eol=lf
28
+ .husky/* text eol=lf
29
+ *.sql text
30
+ *.styl text
31
+ *.tag text
32
+ *.ts text
33
+ *.tsx text
34
+ *.xml text
35
+ *.xhtml text diff=html
36
+ # Docker
37
+ Dockerfile text eol=lf
38
+ # Documentation
39
+ *.ipynb text
40
+ *.markdown text diff=markdown eol=lf
41
+ *.md text diff=markdown eol=lf
42
+ *.mdwn text diff=markdown eol=lf
43
+ *.mdown text diff=markdown eol=lf
44
+ *.mkd text diff=markdown eol=lf
45
+ *.mkdn text diff=markdown eol=lf
46
+ *.mdtxt text eol=lf
47
+ *.mdtext text eol=lf
48
+ *.txt text eol=lf
49
+ AUTHORS text eol=lf
50
+ CHANGELOG text eol=lf
51
+ CHANGES text eol=lf
52
+ CONTRIBUTING text eol=lf
53
+ COPYING text eol=lf
54
+ copyright text eol=lf
55
+ *COPYRIGHT* text eol=lf
56
+ INSTALL text eol=lf
57
+ license text eol=lf
58
+ LICENSE text eol=lf
59
+ NEWS text eol=lf
60
+ readme text eol=lf
61
+ *README* text eol=lf
62
+ TODO text
63
+ # Configs
64
+ *.cnf text eol=lf
65
+ *.conf text eol=lf
66
+ *.config text eol=lf
67
+ .editorconfig text
68
+ .env text eol=lf
69
+ .gitattributes text eol=lf
70
+ .gitconfig text eol=lf
71
+ .htaccess text
72
+ *.lock text -diff
73
+ package.json text eol=lf
74
+ package-lock.json text eol=lf -diff
75
+ pnpm-lock.yaml text eol=lf -diff
76
+ .prettierrc text
77
+ yarn.lock text -diff
78
+ *.toml text eol=lf
79
+ *.yaml text eol=lf
80
+ *.yml text eol=lf
81
+ browserslist text
82
+ Makefile text eol=lf
83
+ makefile text eol=lf
84
+ # Images
85
+ *.png filter=lfs diff=lfs merge=lfs -text
86
+ *.jpg filter=lfs diff=lfs merge=lfs -text
87
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
88
+ notebook/agentchat_pdf_rag/parsed_elements.json filter=lfs diff=lfs merge=lfs -text
89
+ notebook/agentchat_pdf_rag/input_files/nvidia_10k_2024.pdf filter=lfs diff=lfs merge=lfs -text
90
+ notebook/agentchat_pdf_rag/processed_elements.json filter=lfs diff=lfs merge=lfs -text
91
+ website/package-lock.json filter=lfs diff=lfs merge=lfs -text
92
+ *.webp filter=lfs diff=lfs merge=lfs -text
93
+ website/mkdocs/overrides/images/*.png filter=lfs diff=lfs merge=lfs -text