ag2 0.6.0b2__tar.gz → 0.7.0__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ag2
3
- Version: 0.6.0b2
3
+ Version: 0.7.0
4
4
  Summary: Alias package for pyautogen
5
5
  Home-page: https://github.com/ag2ai/ag2
6
6
  Author: Chi Wang & Qingyun Wu
@@ -12,41 +12,41 @@ Classifier: License :: OSI Approved :: Apache Software License
12
12
  Classifier: Operating System :: OS Independent
13
13
  Requires-Python: >=3.9,<3.14
14
14
  Description-Content-Type: text/markdown
15
- Provides-Extra: anthropic
16
- Provides-Extra: autobuild
17
- Provides-Extra: bedrock
15
+ Provides-Extra: test
18
16
  Provides-Extra: blendsearch
19
- Provides-Extra: captainagent
20
- Provides-Extra: cerebras
21
- Provides-Extra: cohere
22
- Provides-Extra: cosmosdb
23
- Provides-Extra: gemini
24
- Provides-Extra: graph
25
- Provides-Extra: graph-rag-falkor-db
26
- Provides-Extra: groq
27
- Provides-Extra: interop
28
- Provides-Extra: interop-crewai
29
- Provides-Extra: interop-langchain
30
- Provides-Extra: interop-pydantic-ai
31
- Provides-Extra: jupyter-executor
32
- Provides-Extra: lmm
33
- Provides-Extra: long-context
34
17
  Provides-Extra: mathchat
35
- Provides-Extra: mistral
36
- Provides-Extra: neo4j
37
- Provides-Extra: ollama
38
- Provides-Extra: redis
39
18
  Provides-Extra: retrievechat
40
- Provides-Extra: retrievechat-mongodb
41
19
  Provides-Extra: retrievechat-pgvector
20
+ Provides-Extra: retrievechat-mongodb
42
21
  Provides-Extra: retrievechat-qdrant
22
+ Provides-Extra: graph-rag-falkor-db
23
+ Provides-Extra: autobuild
24
+ Provides-Extra: captainagent
43
25
  Provides-Extra: teachable
44
- Provides-Extra: test
26
+ Provides-Extra: lmm
27
+ Provides-Extra: graph
28
+ Provides-Extra: gemini
45
29
  Provides-Extra: together
46
- Provides-Extra: twilio
47
- Provides-Extra: types
48
- Provides-Extra: websockets
49
30
  Provides-Extra: websurfer
31
+ Provides-Extra: redis
32
+ Provides-Extra: cosmosdb
33
+ Provides-Extra: websockets
34
+ Provides-Extra: jupyter-executor
35
+ Provides-Extra: types
36
+ Provides-Extra: long-context
37
+ Provides-Extra: anthropic
38
+ Provides-Extra: cerebras
39
+ Provides-Extra: mistral
40
+ Provides-Extra: groq
41
+ Provides-Extra: cohere
42
+ Provides-Extra: ollama
43
+ Provides-Extra: bedrock
44
+ Provides-Extra: twilio
45
+ Provides-Extra: interop-crewai
46
+ Provides-Extra: interop-langchain
47
+ Provides-Extra: interop-pydantic-ai
48
+ Provides-Extra: interop
49
+ Provides-Extra: neo4j
50
50
  License-File: LICENSE
51
51
  License-File: NOTICE.md
52
52
 
@@ -95,7 +95,7 @@ We adopt the Apache 2.0 license from v0.3. This enhances our commitment to open-
95
95
 
96
96
  :tada: May 11, 2024: [AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation](https://openreview.net/pdf?id=uAjxFFing2) received the best paper award at the [ICLR 2024 LLM Agents Workshop](https://llmagents.github.io/).
97
97
 
98
- <!-- :tada: Apr 26, 2024: [AutoGen.NET](https://ag2ai.github.io/ag2-for-net/) is available for .NET developers! -->
98
+ <!-- :tada: Apr 26, 2024: [AutoGen.NET](https://docs.ag2.ai/ag2-for-net/) is available for .NET developers! -->
99
99
 
100
100
  :tada: Apr 17, 2024: Andrew Ng cited AutoGen in [The Batch newsletter](https://www.deeplearning.ai/the-batch/issue-245/) and [What's next for AI agentic workflows](https://youtu.be/sal78ACtGTc?si=JduUzN_1kDnMq0vF) at Sequoia Capital's AI Ascent (Mar 26).
101
101
 
@@ -107,7 +107,7 @@ We adopt the Apache 2.0 license from v0.3. This enhances our commitment to open-
107
107
 
108
108
  :tada: Dec 31, 2023: [AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation Framework](https://arxiv.org/abs/2308.08155) is selected by [TheSequence: My Five Favorite AI Papers of 2023](https://thesequence.substack.com/p/my-five-favorite-ai-papers-of-2023).
109
109
 
110
- <!-- :fire: Nov 24: pyautogen [v0.2](https://github.com/ag2ai/ag2/releases/tag/v0.2.0) is released with many updates and new features compared to v0.1.1. It switches to using openai-python v1. Please read the [migration guide](https://ag2ai.github.io/ag2/docs/Installation#python). -->
110
+ <!-- :fire: Nov 24: pyautogen [v0.2](https://github.com/ag2ai/ag2/releases/tag/v0.2.0) is released with many updates and new features compared to v0.1.1. It switches to using openai-python v1. Please read the [migration guide](https://docs.ag2.ai/docs/installation/Installation). -->
111
111
 
112
112
  <!-- :fire: Nov 11: OpenAI's Assistants are available in AutoGen and interoperatable with other AutoGen agents! Checkout our [blogpost](https://docs.ag2.ai/blog/2023-11-13-OAI-assistants) for details and examples. -->
113
113
 
@@ -126,7 +126,7 @@ We adopt the Apache 2.0 license from v0.3. This enhances our commitment to open-
126
126
  <!--
127
127
  :fire: FLAML is highlighted in OpenAI's [cookbook](https://github.com/openai/openai-cookbook#related-resources-from-around-the-web).
128
128
 
129
- :fire: [autogen](https://ag2ai.github.io/ag2/) is released with support for ChatGPT and GPT-4, based on [Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inference](https://arxiv.org/abs/2303.04673).
129
+ :fire: [autogen](https://docs.ag2.ai/) is released with support for ChatGPT and GPT-4, based on [Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inference](https://arxiv.org/abs/2303.04673).
130
130
 
131
131
  :fire: FLAML supports Code-First AutoML & Tuning – Private Preview in [Microsoft Fabric Data Science](https://learn.microsoft.com/en-us/fabric/data-science/). -->
132
132
 
@@ -169,11 +169,11 @@ The easiest way to start playing is
169
169
  </a>
170
170
  </p>
171
171
 
172
- ## [Installation](https://ag2ai.github.io/ag2/docs/Installation)
172
+ ## [Installation](https://docs.ag2.ai/docs/installation/Installation)
173
173
 
174
174
  ### Option 1. Install and Run AG2 in Docker
175
175
 
176
- Find detailed instructions for users [here](https://ag2ai.github.io/ag2/docs/installation/Docker#step-1-install-docker), and for developers [here](https://ag2ai.github.io/ag2/docs/Contribute#docker-for-development).
176
+ Find detailed instructions for users [here](https://docs.ag2.ai/docs/installation/Docker#step-1-install-docker), and for developers [here](https://docs.ag2.ai/docs/contributor-guide/docker).
177
177
 
178
178
  ### Option 2. Install AG2 Locally
179
179
 
@@ -190,13 +190,13 @@ Minimal dependencies are installed without extra options. You can install extra
190
190
  pip install "autogen[blendsearch]"
191
191
  ``` -->
192
192
 
193
- Find more options in [Installation](https://ag2ai.github.io/ag2/docs/Installation#option-2-install-autogen-locally-using-virtual-environment).
193
+ Find more options in [Installation](https://docs.ag2.ai/docs/Installation#option-2-install-autogen-locally-using-virtual-environment).
194
194
 
195
195
  <!-- Each of the [`notebook examples`](https://github.com/ag2ai/ag2/tree/main/notebook) may require a specific option to be installed. -->
196
196
 
197
- Even if you are installing and running AG2 locally outside of docker, the recommendation and default behavior of agents is to perform [code execution](https://ag2ai.github.io/ag2/docs/FAQ/#code-execution) in docker. Find more instructions and how to change the default behaviour [here](https://ag2ai.github.io/ag2/docs/Installation#code-execution-with-docker-(default)).
197
+ Even if you are installing and running AG2 locally outside of docker, the recommendation and default behavior of agents is to perform [code execution](https://docs.ag2.ai/docs/FAQ#if-you-want-to-run-code-execution-in-docker) in docker. Find more instructions and how to change the default behaviour [here](https://docs.ag2.ai/docs/FAQ#if-you-want-to-run-code-execution-locally).
198
198
 
199
- For LLM inference configurations, check the [FAQs](https://ag2ai.github.io/ag2/docs/FAQ#set-your-api-endpoints).
199
+ For LLM inference configurations, check the [FAQs](https://docs.ag2.ai/docs/FAQ#set-your-api-endpoints).
200
200
 
201
201
  <p align="right" style="font-size: 14px; color: #555; margin-top: 20px;">
202
202
  <a href="#readme-top" style="text-decoration: none; color: blue; font-weight: bold;">
@@ -206,7 +206,7 @@ For LLM inference configurations, check the [FAQs](https://ag2ai.github.io/ag2/d
206
206
 
207
207
  ## Multi-Agent Conversation Framework
208
208
 
209
- AG2 enables the next-gen LLM applications with a generic [multi-agent conversation](https://ag2ai.github.io/ag2/docs/Use-Cases/agent_chat) framework. It offers customizable and conversable agents that integrate LLMs, tools, and humans.
209
+ AG2 enables the next-gen LLM applications with a generic [multi-agent conversation](https://docs.ag2.ai/docs/Use-Cases/agent_chat) framework. It offers customizable and conversable agents that integrate LLMs, tools, and humans.
210
210
  By automating chat among multiple capable agents, one can easily make them collectively perform tasks autonomously or with human feedback, including tasks that require using tools via code.
211
211
 
212
212
  Features of this use case include:
@@ -220,7 +220,7 @@ For [example](https://github.com/ag2ai/ag2/blob/main/test/twoagent.py),
220
220
  ```python
221
221
  from autogen import AssistantAgent, UserProxyAgent, config_list_from_json
222
222
  # Load LLM inference endpoints from an env variable or a file
223
- # See https://ag2ai.github.io/ag2/docs/FAQ#set-your-api-endpoints
223
+ # See https://docs.ag2.ai/docs/FAQ#set-your-api-endpoints
224
224
  # and OAI_CONFIG_LIST_sample
225
225
  config_list = config_list_from_json(env_or_file="OAI_CONFIG_LIST")
226
226
  # You can also set config_list directly as a list, for example, config_list = [{'model': 'gpt-4o', 'api_key': '<your OpenAI API key here>'},]
@@ -243,7 +243,7 @@ The figure below shows an example conversation flow with AG2.
243
243
 
244
244
 
245
245
  Alternatively, the [sample code](https://github.com/ag2ai/build-with-ag2/blob/main/samples/simple_chat.py) here allows a user to chat with an AG2 agent in ChatGPT style.
246
- Please find more [code examples](https://ag2ai.github.io/ag2/docs/Examples#automated-multi-agent-chat) for this feature.
246
+ Please find more [code examples](https://docs.ag2.ai/docs/Examples#automated-multi-agent-chat) for this feature.
247
247
 
248
248
  <p align="right" style="font-size: 14px; color: #555; margin-top: 20px;">
249
249
  <a href="#readme-top" style="text-decoration: none; color: blue; font-weight: bold;">
@@ -253,7 +253,7 @@ Please find more [code examples](https://ag2ai.github.io/ag2/docs/Examples#autom
253
253
 
254
254
  ## Enhanced LLM Inferences
255
255
 
256
- AG2 also helps maximize the utility out of the expensive LLMs such as gpt-4o. It offers [enhanced LLM inference](https://ag2ai.github.io/ag2/docs/Use-Cases/enhanced_inference#api-unification) with powerful functionalities like caching, error handling, multi-config inference and templating.
256
+ AG2 also helps maximize the utility out of the expensive LLMs such as gpt-4o. It offers [enhanced LLM inference](https://docs.ag2.ai/docs/Use-Cases/enhanced_inference#api-unification) with powerful functionalities like caching, error handling, multi-config inference and templating.
257
257
 
258
258
  <!-- For example, you can optimize generations by LLM with your own tuning data, success metrics, and budgets.
259
259
 
@@ -272,7 +272,7 @@ config, analysis = autogen.Completion.tune(
272
272
  response = autogen.Completion.create(context=test_instance, **config)
273
273
  ```
274
274
 
275
- Please find more [code examples](https://ag2ai.github.io/ag2/docs/Examples#tune-gpt-models) for this feature. -->
275
+ Please find more [code examples](https://docs.ag2.ai/docs/Examples#tune-gpt-models) for this feature. -->
276
276
 
277
277
  <p align="right" style="font-size: 14px; color: #555; margin-top: 20px;">
278
278
  <a href="#readme-top" style="text-decoration: none; color: blue; font-weight: bold;">
@@ -282,15 +282,15 @@ Please find more [code examples](https://ag2ai.github.io/ag2/docs/Examples#tune-
282
282
 
283
283
  ## Documentation
284
284
 
285
- You can find detailed documentation about AG2 [here](https://ag2ai.github.io/ag2/).
285
+ You can find detailed documentation about AG2 [here](https://docs.ag2.ai/).
286
286
 
287
287
  In addition, you can find:
288
288
 
289
- - [Research](https://ag2ai.github.io/ag2/docs/Research), [blogposts](https://docs.ag2.ai/blog) around AG2, and [Transparency FAQs](https://github.com/ag2ai/ag2/blob/main/TRANSPARENCY_FAQS.md)
289
+ - [Research](https://docs.ag2.ai/docs/Research), [blogposts](https://docs.ag2.ai/blog) around AG2, and [Transparency FAQs](https://github.com/ag2ai/ag2/blob/main/TRANSPARENCY_FAQS.md)
290
290
 
291
291
  - [Discord](https://discord.gg/pAbnFJrkgZ)
292
292
 
293
- - [Contributing guide](https://ag2ai.github.io/ag2/docs/Contribute)
293
+ - [Contributing guide](https://docs.ag2.ai/docs/contributor-guide/contributing)
294
294
 
295
295
  <p align="right" style="font-size: 14px; color: #555; margin-top: 20px;">
296
296
  <a href="#readme-top" style="text-decoration: none; color: blue; font-weight: bold;">
@@ -43,7 +43,7 @@ We adopt the Apache 2.0 license from v0.3. This enhances our commitment to open-
43
43
 
44
44
  :tada: May 11, 2024: [AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation](https://openreview.net/pdf?id=uAjxFFing2) received the best paper award at the [ICLR 2024 LLM Agents Workshop](https://llmagents.github.io/).
45
45
 
46
- <!-- :tada: Apr 26, 2024: [AutoGen.NET](https://ag2ai.github.io/ag2-for-net/) is available for .NET developers! -->
46
+ <!-- :tada: Apr 26, 2024: [AutoGen.NET](https://docs.ag2.ai/ag2-for-net/) is available for .NET developers! -->
47
47
 
48
48
  :tada: Apr 17, 2024: Andrew Ng cited AutoGen in [The Batch newsletter](https://www.deeplearning.ai/the-batch/issue-245/) and [What's next for AI agentic workflows](https://youtu.be/sal78ACtGTc?si=JduUzN_1kDnMq0vF) at Sequoia Capital's AI Ascent (Mar 26).
49
49
 
@@ -55,7 +55,7 @@ We adopt the Apache 2.0 license from v0.3. This enhances our commitment to open-
55
55
 
56
56
  :tada: Dec 31, 2023: [AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation Framework](https://arxiv.org/abs/2308.08155) is selected by [TheSequence: My Five Favorite AI Papers of 2023](https://thesequence.substack.com/p/my-five-favorite-ai-papers-of-2023).
57
57
 
58
- <!-- :fire: Nov 24: pyautogen [v0.2](https://github.com/ag2ai/ag2/releases/tag/v0.2.0) is released with many updates and new features compared to v0.1.1. It switches to using openai-python v1. Please read the [migration guide](https://ag2ai.github.io/ag2/docs/Installation#python). -->
58
+ <!-- :fire: Nov 24: pyautogen [v0.2](https://github.com/ag2ai/ag2/releases/tag/v0.2.0) is released with many updates and new features compared to v0.1.1. It switches to using openai-python v1. Please read the [migration guide](https://docs.ag2.ai/docs/installation/Installation). -->
59
59
 
60
60
  <!-- :fire: Nov 11: OpenAI's Assistants are available in AutoGen and interoperatable with other AutoGen agents! Checkout our [blogpost](https://docs.ag2.ai/blog/2023-11-13-OAI-assistants) for details and examples. -->
61
61
 
@@ -74,7 +74,7 @@ We adopt the Apache 2.0 license from v0.3. This enhances our commitment to open-
74
74
  <!--
75
75
  :fire: FLAML is highlighted in OpenAI's [cookbook](https://github.com/openai/openai-cookbook#related-resources-from-around-the-web).
76
76
 
77
- :fire: [autogen](https://ag2ai.github.io/ag2/) is released with support for ChatGPT and GPT-4, based on [Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inference](https://arxiv.org/abs/2303.04673).
77
+ :fire: [autogen](https://docs.ag2.ai/) is released with support for ChatGPT and GPT-4, based on [Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inference](https://arxiv.org/abs/2303.04673).
78
78
 
79
79
  :fire: FLAML supports Code-First AutoML & Tuning – Private Preview in [Microsoft Fabric Data Science](https://learn.microsoft.com/en-us/fabric/data-science/). -->
80
80
 
@@ -117,11 +117,11 @@ The easiest way to start playing is
117
117
  </a>
118
118
  </p>
119
119
 
120
- ## [Installation](https://ag2ai.github.io/ag2/docs/Installation)
120
+ ## [Installation](https://docs.ag2.ai/docs/installation/Installation)
121
121
 
122
122
  ### Option 1. Install and Run AG2 in Docker
123
123
 
124
- Find detailed instructions for users [here](https://ag2ai.github.io/ag2/docs/installation/Docker#step-1-install-docker), and for developers [here](https://ag2ai.github.io/ag2/docs/Contribute#docker-for-development).
124
+ Find detailed instructions for users [here](https://docs.ag2.ai/docs/installation/Docker#step-1-install-docker), and for developers [here](https://docs.ag2.ai/docs/contributor-guide/docker).
125
125
 
126
126
  ### Option 2. Install AG2 Locally
127
127
 
@@ -138,13 +138,13 @@ Minimal dependencies are installed without extra options. You can install extra
138
138
  pip install "autogen[blendsearch]"
139
139
  ``` -->
140
140
 
141
- Find more options in [Installation](https://ag2ai.github.io/ag2/docs/Installation#option-2-install-autogen-locally-using-virtual-environment).
141
+ Find more options in [Installation](https://docs.ag2.ai/docs/Installation#option-2-install-autogen-locally-using-virtual-environment).
142
142
 
143
143
  <!-- Each of the [`notebook examples`](https://github.com/ag2ai/ag2/tree/main/notebook) may require a specific option to be installed. -->
144
144
 
145
- Even if you are installing and running AG2 locally outside of docker, the recommendation and default behavior of agents is to perform [code execution](https://ag2ai.github.io/ag2/docs/FAQ/#code-execution) in docker. Find more instructions and how to change the default behaviour [here](https://ag2ai.github.io/ag2/docs/Installation#code-execution-with-docker-(default)).
145
+ Even if you are installing and running AG2 locally outside of docker, the recommendation and default behavior of agents is to perform [code execution](https://docs.ag2.ai/docs/FAQ#if-you-want-to-run-code-execution-in-docker) in docker. Find more instructions and how to change the default behaviour [here](https://docs.ag2.ai/docs/FAQ#if-you-want-to-run-code-execution-locally).
146
146
 
147
- For LLM inference configurations, check the [FAQs](https://ag2ai.github.io/ag2/docs/FAQ#set-your-api-endpoints).
147
+ For LLM inference configurations, check the [FAQs](https://docs.ag2.ai/docs/FAQ#set-your-api-endpoints).
148
148
 
149
149
  <p align="right" style="font-size: 14px; color: #555; margin-top: 20px;">
150
150
  <a href="#readme-top" style="text-decoration: none; color: blue; font-weight: bold;">
@@ -154,7 +154,7 @@ For LLM inference configurations, check the [FAQs](https://ag2ai.github.io/ag2/d
154
154
 
155
155
  ## Multi-Agent Conversation Framework
156
156
 
157
- AG2 enables the next-gen LLM applications with a generic [multi-agent conversation](https://ag2ai.github.io/ag2/docs/Use-Cases/agent_chat) framework. It offers customizable and conversable agents that integrate LLMs, tools, and humans.
157
+ AG2 enables the next-gen LLM applications with a generic [multi-agent conversation](https://docs.ag2.ai/docs/Use-Cases/agent_chat) framework. It offers customizable and conversable agents that integrate LLMs, tools, and humans.
158
158
  By automating chat among multiple capable agents, one can easily make them collectively perform tasks autonomously or with human feedback, including tasks that require using tools via code.
159
159
 
160
160
  Features of this use case include:
@@ -168,7 +168,7 @@ For [example](https://github.com/ag2ai/ag2/blob/main/test/twoagent.py),
168
168
  ```python
169
169
  from autogen import AssistantAgent, UserProxyAgent, config_list_from_json
170
170
  # Load LLM inference endpoints from an env variable or a file
171
- # See https://ag2ai.github.io/ag2/docs/FAQ#set-your-api-endpoints
171
+ # See https://docs.ag2.ai/docs/FAQ#set-your-api-endpoints
172
172
  # and OAI_CONFIG_LIST_sample
173
173
  config_list = config_list_from_json(env_or_file="OAI_CONFIG_LIST")
174
174
  # You can also set config_list directly as a list, for example, config_list = [{'model': 'gpt-4o', 'api_key': '<your OpenAI API key here>'},]
@@ -191,7 +191,7 @@ The figure below shows an example conversation flow with AG2.
191
191
 
192
192
 
193
193
  Alternatively, the [sample code](https://github.com/ag2ai/build-with-ag2/blob/main/samples/simple_chat.py) here allows a user to chat with an AG2 agent in ChatGPT style.
194
- Please find more [code examples](https://ag2ai.github.io/ag2/docs/Examples#automated-multi-agent-chat) for this feature.
194
+ Please find more [code examples](https://docs.ag2.ai/docs/Examples#automated-multi-agent-chat) for this feature.
195
195
 
196
196
  <p align="right" style="font-size: 14px; color: #555; margin-top: 20px;">
197
197
  <a href="#readme-top" style="text-decoration: none; color: blue; font-weight: bold;">
@@ -201,7 +201,7 @@ Please find more [code examples](https://ag2ai.github.io/ag2/docs/Examples#autom
201
201
 
202
202
  ## Enhanced LLM Inferences
203
203
 
204
- AG2 also helps maximize the utility out of the expensive LLMs such as gpt-4o. It offers [enhanced LLM inference](https://ag2ai.github.io/ag2/docs/Use-Cases/enhanced_inference#api-unification) with powerful functionalities like caching, error handling, multi-config inference and templating.
204
+ AG2 also helps maximize the utility out of the expensive LLMs such as gpt-4o. It offers [enhanced LLM inference](https://docs.ag2.ai/docs/Use-Cases/enhanced_inference#api-unification) with powerful functionalities like caching, error handling, multi-config inference and templating.
205
205
 
206
206
  <!-- For example, you can optimize generations by LLM with your own tuning data, success metrics, and budgets.
207
207
 
@@ -220,7 +220,7 @@ config, analysis = autogen.Completion.tune(
220
220
  response = autogen.Completion.create(context=test_instance, **config)
221
221
  ```
222
222
 
223
- Please find more [code examples](https://ag2ai.github.io/ag2/docs/Examples#tune-gpt-models) for this feature. -->
223
+ Please find more [code examples](https://docs.ag2.ai/docs/Examples#tune-gpt-models) for this feature. -->
224
224
 
225
225
  <p align="right" style="font-size: 14px; color: #555; margin-top: 20px;">
226
226
  <a href="#readme-top" style="text-decoration: none; color: blue; font-weight: bold;">
@@ -230,15 +230,15 @@ Please find more [code examples](https://ag2ai.github.io/ag2/docs/Examples#tune-
230
230
 
231
231
  ## Documentation
232
232
 
233
- You can find detailed documentation about AG2 [here](https://ag2ai.github.io/ag2/).
233
+ You can find detailed documentation about AG2 [here](https://docs.ag2.ai/).
234
234
 
235
235
  In addition, you can find:
236
236
 
237
- - [Research](https://ag2ai.github.io/ag2/docs/Research), [blogposts](https://docs.ag2.ai/blog) around AG2, and [Transparency FAQs](https://github.com/ag2ai/ag2/blob/main/TRANSPARENCY_FAQS.md)
237
+ - [Research](https://docs.ag2.ai/docs/Research), [blogposts](https://docs.ag2.ai/blog) around AG2, and [Transparency FAQs](https://github.com/ag2ai/ag2/blob/main/TRANSPARENCY_FAQS.md)
238
238
 
239
239
  - [Discord](https://discord.gg/pAbnFJrkgZ)
240
240
 
241
- - [Contributing guide](https://ag2ai.github.io/ag2/docs/Contribute)
241
+ - [Contributing guide](https://docs.ag2.ai/docs/contributor-guide/contributing)
242
242
 
243
243
  <p align="right" style="font-size: 14px; color: #555; margin-top: 20px;">
244
244
  <a href="#readme-top" style="text-decoration: none; color: blue; font-weight: bold;">
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ag2
3
- Version: 0.6.0b2
3
+ Version: 0.7.0
4
4
  Summary: Alias package for pyautogen
5
5
  Home-page: https://github.com/ag2ai/ag2
6
6
  Author: Chi Wang & Qingyun Wu
@@ -12,41 +12,41 @@ Classifier: License :: OSI Approved :: Apache Software License
12
12
  Classifier: Operating System :: OS Independent
13
13
  Requires-Python: >=3.9,<3.14
14
14
  Description-Content-Type: text/markdown
15
- Provides-Extra: anthropic
16
- Provides-Extra: autobuild
17
- Provides-Extra: bedrock
15
+ Provides-Extra: test
18
16
  Provides-Extra: blendsearch
19
- Provides-Extra: captainagent
20
- Provides-Extra: cerebras
21
- Provides-Extra: cohere
22
- Provides-Extra: cosmosdb
23
- Provides-Extra: gemini
24
- Provides-Extra: graph
25
- Provides-Extra: graph-rag-falkor-db
26
- Provides-Extra: groq
27
- Provides-Extra: interop
28
- Provides-Extra: interop-crewai
29
- Provides-Extra: interop-langchain
30
- Provides-Extra: interop-pydantic-ai
31
- Provides-Extra: jupyter-executor
32
- Provides-Extra: lmm
33
- Provides-Extra: long-context
34
17
  Provides-Extra: mathchat
35
- Provides-Extra: mistral
36
- Provides-Extra: neo4j
37
- Provides-Extra: ollama
38
- Provides-Extra: redis
39
18
  Provides-Extra: retrievechat
40
- Provides-Extra: retrievechat-mongodb
41
19
  Provides-Extra: retrievechat-pgvector
20
+ Provides-Extra: retrievechat-mongodb
42
21
  Provides-Extra: retrievechat-qdrant
22
+ Provides-Extra: graph-rag-falkor-db
23
+ Provides-Extra: autobuild
24
+ Provides-Extra: captainagent
43
25
  Provides-Extra: teachable
44
- Provides-Extra: test
26
+ Provides-Extra: lmm
27
+ Provides-Extra: graph
28
+ Provides-Extra: gemini
45
29
  Provides-Extra: together
46
- Provides-Extra: twilio
47
- Provides-Extra: types
48
- Provides-Extra: websockets
49
30
  Provides-Extra: websurfer
31
+ Provides-Extra: redis
32
+ Provides-Extra: cosmosdb
33
+ Provides-Extra: websockets
34
+ Provides-Extra: jupyter-executor
35
+ Provides-Extra: types
36
+ Provides-Extra: long-context
37
+ Provides-Extra: anthropic
38
+ Provides-Extra: cerebras
39
+ Provides-Extra: mistral
40
+ Provides-Extra: groq
41
+ Provides-Extra: cohere
42
+ Provides-Extra: ollama
43
+ Provides-Extra: bedrock
44
+ Provides-Extra: twilio
45
+ Provides-Extra: interop-crewai
46
+ Provides-Extra: interop-langchain
47
+ Provides-Extra: interop-pydantic-ai
48
+ Provides-Extra: interop
49
+ Provides-Extra: neo4j
50
50
  License-File: LICENSE
51
51
  License-File: NOTICE.md
52
52
 
@@ -95,7 +95,7 @@ We adopt the Apache 2.0 license from v0.3. This enhances our commitment to open-
95
95
 
96
96
  :tada: May 11, 2024: [AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation](https://openreview.net/pdf?id=uAjxFFing2) received the best paper award at the [ICLR 2024 LLM Agents Workshop](https://llmagents.github.io/).
97
97
 
98
- <!-- :tada: Apr 26, 2024: [AutoGen.NET](https://ag2ai.github.io/ag2-for-net/) is available for .NET developers! -->
98
+ <!-- :tada: Apr 26, 2024: [AutoGen.NET](https://docs.ag2.ai/ag2-for-net/) is available for .NET developers! -->
99
99
 
100
100
  :tada: Apr 17, 2024: Andrew Ng cited AutoGen in [The Batch newsletter](https://www.deeplearning.ai/the-batch/issue-245/) and [What's next for AI agentic workflows](https://youtu.be/sal78ACtGTc?si=JduUzN_1kDnMq0vF) at Sequoia Capital's AI Ascent (Mar 26).
101
101
 
@@ -107,7 +107,7 @@ We adopt the Apache 2.0 license from v0.3. This enhances our commitment to open-
107
107
 
108
108
  :tada: Dec 31, 2023: [AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation Framework](https://arxiv.org/abs/2308.08155) is selected by [TheSequence: My Five Favorite AI Papers of 2023](https://thesequence.substack.com/p/my-five-favorite-ai-papers-of-2023).
109
109
 
110
- <!-- :fire: Nov 24: pyautogen [v0.2](https://github.com/ag2ai/ag2/releases/tag/v0.2.0) is released with many updates and new features compared to v0.1.1. It switches to using openai-python v1. Please read the [migration guide](https://ag2ai.github.io/ag2/docs/Installation#python). -->
110
+ <!-- :fire: Nov 24: pyautogen [v0.2](https://github.com/ag2ai/ag2/releases/tag/v0.2.0) is released with many updates and new features compared to v0.1.1. It switches to using openai-python v1. Please read the [migration guide](https://docs.ag2.ai/docs/installation/Installation). -->
111
111
 
112
112
  <!-- :fire: Nov 11: OpenAI's Assistants are available in AutoGen and interoperatable with other AutoGen agents! Checkout our [blogpost](https://docs.ag2.ai/blog/2023-11-13-OAI-assistants) for details and examples. -->
113
113
 
@@ -126,7 +126,7 @@ We adopt the Apache 2.0 license from v0.3. This enhances our commitment to open-
126
126
  <!--
127
127
  :fire: FLAML is highlighted in OpenAI's [cookbook](https://github.com/openai/openai-cookbook#related-resources-from-around-the-web).
128
128
 
129
- :fire: [autogen](https://ag2ai.github.io/ag2/) is released with support for ChatGPT and GPT-4, based on [Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inference](https://arxiv.org/abs/2303.04673).
129
+ :fire: [autogen](https://docs.ag2.ai/) is released with support for ChatGPT and GPT-4, based on [Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inference](https://arxiv.org/abs/2303.04673).
130
130
 
131
131
  :fire: FLAML supports Code-First AutoML & Tuning – Private Preview in [Microsoft Fabric Data Science](https://learn.microsoft.com/en-us/fabric/data-science/). -->
132
132
 
@@ -169,11 +169,11 @@ The easiest way to start playing is
169
169
  </a>
170
170
  </p>
171
171
 
172
- ## [Installation](https://ag2ai.github.io/ag2/docs/Installation)
172
+ ## [Installation](https://docs.ag2.ai/docs/installation/Installation)
173
173
 
174
174
  ### Option 1. Install and Run AG2 in Docker
175
175
 
176
- Find detailed instructions for users [here](https://ag2ai.github.io/ag2/docs/installation/Docker#step-1-install-docker), and for developers [here](https://ag2ai.github.io/ag2/docs/Contribute#docker-for-development).
176
+ Find detailed instructions for users [here](https://docs.ag2.ai/docs/installation/Docker#step-1-install-docker), and for developers [here](https://docs.ag2.ai/docs/contributor-guide/docker).
177
177
 
178
178
  ### Option 2. Install AG2 Locally
179
179
 
@@ -190,13 +190,13 @@ Minimal dependencies are installed without extra options. You can install extra
190
190
  pip install "autogen[blendsearch]"
191
191
  ``` -->
192
192
 
193
- Find more options in [Installation](https://ag2ai.github.io/ag2/docs/Installation#option-2-install-autogen-locally-using-virtual-environment).
193
+ Find more options in [Installation](https://docs.ag2.ai/docs/Installation#option-2-install-autogen-locally-using-virtual-environment).
194
194
 
195
195
  <!-- Each of the [`notebook examples`](https://github.com/ag2ai/ag2/tree/main/notebook) may require a specific option to be installed. -->
196
196
 
197
- Even if you are installing and running AG2 locally outside of docker, the recommendation and default behavior of agents is to perform [code execution](https://ag2ai.github.io/ag2/docs/FAQ/#code-execution) in docker. Find more instructions and how to change the default behaviour [here](https://ag2ai.github.io/ag2/docs/Installation#code-execution-with-docker-(default)).
197
+ Even if you are installing and running AG2 locally outside of docker, the recommendation and default behavior of agents is to perform [code execution](https://docs.ag2.ai/docs/FAQ#if-you-want-to-run-code-execution-in-docker) in docker. Find more instructions and how to change the default behaviour [here](https://docs.ag2.ai/docs/FAQ#if-you-want-to-run-code-execution-locally).
198
198
 
199
- For LLM inference configurations, check the [FAQs](https://ag2ai.github.io/ag2/docs/FAQ#set-your-api-endpoints).
199
+ For LLM inference configurations, check the [FAQs](https://docs.ag2.ai/docs/FAQ#set-your-api-endpoints).
200
200
 
201
201
  <p align="right" style="font-size: 14px; color: #555; margin-top: 20px;">
202
202
  <a href="#readme-top" style="text-decoration: none; color: blue; font-weight: bold;">
@@ -206,7 +206,7 @@ For LLM inference configurations, check the [FAQs](https://ag2ai.github.io/ag2/d
206
206
 
207
207
  ## Multi-Agent Conversation Framework
208
208
 
209
- AG2 enables the next-gen LLM applications with a generic [multi-agent conversation](https://ag2ai.github.io/ag2/docs/Use-Cases/agent_chat) framework. It offers customizable and conversable agents that integrate LLMs, tools, and humans.
209
+ AG2 enables the next-gen LLM applications with a generic [multi-agent conversation](https://docs.ag2.ai/docs/Use-Cases/agent_chat) framework. It offers customizable and conversable agents that integrate LLMs, tools, and humans.
210
210
  By automating chat among multiple capable agents, one can easily make them collectively perform tasks autonomously or with human feedback, including tasks that require using tools via code.
211
211
 
212
212
  Features of this use case include:
@@ -220,7 +220,7 @@ For [example](https://github.com/ag2ai/ag2/blob/main/test/twoagent.py),
220
220
  ```python
221
221
  from autogen import AssistantAgent, UserProxyAgent, config_list_from_json
222
222
  # Load LLM inference endpoints from an env variable or a file
223
- # See https://ag2ai.github.io/ag2/docs/FAQ#set-your-api-endpoints
223
+ # See https://docs.ag2.ai/docs/FAQ#set-your-api-endpoints
224
224
  # and OAI_CONFIG_LIST_sample
225
225
  config_list = config_list_from_json(env_or_file="OAI_CONFIG_LIST")
226
226
  # You can also set config_list directly as a list, for example, config_list = [{'model': 'gpt-4o', 'api_key': '<your OpenAI API key here>'},]
@@ -243,7 +243,7 @@ The figure below shows an example conversation flow with AG2.
243
243
 
244
244
 
245
245
  Alternatively, the [sample code](https://github.com/ag2ai/build-with-ag2/blob/main/samples/simple_chat.py) here allows a user to chat with an AG2 agent in ChatGPT style.
246
- Please find more [code examples](https://ag2ai.github.io/ag2/docs/Examples#automated-multi-agent-chat) for this feature.
246
+ Please find more [code examples](https://docs.ag2.ai/docs/Examples#automated-multi-agent-chat) for this feature.
247
247
 
248
248
  <p align="right" style="font-size: 14px; color: #555; margin-top: 20px;">
249
249
  <a href="#readme-top" style="text-decoration: none; color: blue; font-weight: bold;">
@@ -253,7 +253,7 @@ Please find more [code examples](https://ag2ai.github.io/ag2/docs/Examples#autom
253
253
 
254
254
  ## Enhanced LLM Inferences
255
255
 
256
- AG2 also helps maximize the utility out of the expensive LLMs such as gpt-4o. It offers [enhanced LLM inference](https://ag2ai.github.io/ag2/docs/Use-Cases/enhanced_inference#api-unification) with powerful functionalities like caching, error handling, multi-config inference and templating.
256
+ AG2 also helps maximize the utility out of the expensive LLMs such as gpt-4o. It offers [enhanced LLM inference](https://docs.ag2.ai/docs/Use-Cases/enhanced_inference#api-unification) with powerful functionalities like caching, error handling, multi-config inference and templating.
257
257
 
258
258
  <!-- For example, you can optimize generations by LLM with your own tuning data, success metrics, and budgets.
259
259
 
@@ -272,7 +272,7 @@ config, analysis = autogen.Completion.tune(
272
272
  response = autogen.Completion.create(context=test_instance, **config)
273
273
  ```
274
274
 
275
- Please find more [code examples](https://ag2ai.github.io/ag2/docs/Examples#tune-gpt-models) for this feature. -->
275
+ Please find more [code examples](https://docs.ag2.ai/docs/Examples#tune-gpt-models) for this feature. -->
276
276
 
277
277
  <p align="right" style="font-size: 14px; color: #555; margin-top: 20px;">
278
278
  <a href="#readme-top" style="text-decoration: none; color: blue; font-weight: bold;">
@@ -282,15 +282,15 @@ Please find more [code examples](https://ag2ai.github.io/ag2/docs/Examples#tune-
282
282
 
283
283
  ## Documentation
284
284
 
285
- You can find detailed documentation about AG2 [here](https://ag2ai.github.io/ag2/).
285
+ You can find detailed documentation about AG2 [here](https://docs.ag2.ai/).
286
286
 
287
287
  In addition, you can find:
288
288
 
289
- - [Research](https://ag2ai.github.io/ag2/docs/Research), [blogposts](https://docs.ag2.ai/blog) around AG2, and [Transparency FAQs](https://github.com/ag2ai/ag2/blob/main/TRANSPARENCY_FAQS.md)
289
+ - [Research](https://docs.ag2.ai/docs/Research), [blogposts](https://docs.ag2.ai/blog) around AG2, and [Transparency FAQs](https://github.com/ag2ai/ag2/blob/main/TRANSPARENCY_FAQS.md)
290
290
 
291
291
  - [Discord](https://discord.gg/pAbnFJrkgZ)
292
292
 
293
- - [Contributing guide](https://ag2ai.github.io/ag2/docs/Contribute)
293
+ - [Contributing guide](https://docs.ag2.ai/docs/contributor-guide/contributing)
294
294
 
295
295
  <p align="right" style="font-size: 14px; color: #555; margin-top: 20px;">
296
296
  <a href="#readme-top" style="text-decoration: none; color: blue; font-weight: bold;">
@@ -2,7 +2,6 @@ LICENSE
2
2
  NOTICE.md
3
3
  README.md
4
4
  pyproject.toml
5
- setup.py
6
5
  setup_ag2.py
7
6
  ag2.egg-info/PKG-INFO
8
7
  ag2.egg-info/SOURCES.txt
@@ -11,7 +10,6 @@ ag2.egg-info/requires.txt
11
10
  ag2.egg-info/top_level.txt
12
11
  test/test_browser_utils.py
13
12
  test/test_code_utils.py
14
- test/test_function_utils.py
15
13
  test/test_graph_utils.py
16
14
  test/test_logging.py
17
15
  test/test_notebook.py
@@ -0,0 +1,106 @@
1
+ pyautogen==0.7.0
2
+
3
+ [anthropic]
4
+ pyautogen[anthropic]==0.7.0
5
+
6
+ [autobuild]
7
+ pyautogen[autobuild]==0.7.0
8
+
9
+ [bedrock]
10
+ pyautogen[bedrock]==0.7.0
11
+
12
+ [blendsearch]
13
+ pyautogen[blendsearch]==0.7.0
14
+
15
+ [captainagent]
16
+ pyautogen[captainagent]==0.7.0
17
+
18
+ [cerebras]
19
+ pyautogen[cerebras]==0.7.0
20
+
21
+ [cohere]
22
+ pyautogen[cohere]==0.7.0
23
+
24
+ [cosmosdb]
25
+ pyautogen[cosmosdb]==0.7.0
26
+
27
+ [gemini]
28
+ pyautogen[gemini]==0.7.0
29
+
30
+ [graph]
31
+ pyautogen[graph]==0.7.0
32
+
33
+ [graph-rag-falkor-db]
34
+ pyautogen[graph-rag-falkor-db]==0.7.0
35
+
36
+ [groq]
37
+ pyautogen[groq]==0.7.0
38
+
39
+ [interop]
40
+ pyautogen[interop]==0.7.0
41
+
42
+ [interop-crewai]
43
+ pyautogen[interop-crewai]==0.7.0
44
+
45
+ [interop-langchain]
46
+ pyautogen[interop-langchain]==0.7.0
47
+
48
+ [interop-pydantic-ai]
49
+ pyautogen[interop-pydantic-ai]==0.7.0
50
+
51
+ [jupyter-executor]
52
+ pyautogen[jupyter-executor]==0.7.0
53
+
54
+ [lmm]
55
+ pyautogen[lmm]==0.7.0
56
+
57
+ [long-context]
58
+ pyautogen[long-context]==0.7.0
59
+
60
+ [mathchat]
61
+ pyautogen[mathchat]==0.7.0
62
+
63
+ [mistral]
64
+ pyautogen[mistral]==0.7.0
65
+
66
+ [neo4j]
67
+ pyautogen[neo4j]==0.7.0
68
+
69
+ [ollama]
70
+ pyautogen[ollama]==0.7.0
71
+
72
+ [redis]
73
+ pyautogen[redis]==0.7.0
74
+
75
+ [retrievechat]
76
+ pyautogen[retrievechat]==0.7.0
77
+
78
+ [retrievechat-mongodb]
79
+ pyautogen[retrievechat-mongodb]==0.7.0
80
+
81
+ [retrievechat-pgvector]
82
+ pyautogen[retrievechat-pgvector]==0.7.0
83
+
84
+ [retrievechat-qdrant]
85
+ pyautogen[retrievechat-qdrant]==0.7.0
86
+
87
+ [teachable]
88
+ pyautogen[teachable]==0.7.0
89
+
90
+ [test]
91
+ pyautogen[test]==0.7.0
92
+
93
+ [together]
94
+ pyautogen[together]==0.7.0
95
+
96
+ [twilio]
97
+ pyautogen[twilio]==0.7.0
98
+
99
+ [types]
100
+ pyautogen[types]==0.7.0
101
+
102
+ [websockets]
103
+ pyautogen[websockets]==0.7.0
104
+
105
+ [websurfer]
106
+ pyautogen[websurfer]==0.7.0