ag2 0.8.3__tar.gz → 0.8.5__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.8.3
3
+ Version: 0.8.5
4
4
  Summary: Alias package for pyautogen
5
5
  Home-page: https://github.com/ag2ai/ag2
6
6
  Author: Chi Wang & Qingyun Wu
@@ -25,9 +25,13 @@ Provides-Extra: graph-rag-falkor-db
25
25
  Provides-Extra: rag
26
26
  Provides-Extra: crawl4ai
27
27
  Provides-Extra: browser-use
28
+ Provides-Extra: google-client
29
+ Provides-Extra: google-api
28
30
  Provides-Extra: google-search
31
+ Provides-Extra: wikipedia
29
32
  Provides-Extra: neo4j
30
33
  Provides-Extra: twilio
34
+ Provides-Extra: mcp
31
35
  Provides-Extra: interop-crewai
32
36
  Provides-Extra: interop-langchain
33
37
  Provides-Extra: interop-pydantic-ai
@@ -335,11 +339,11 @@ chat_result = executor_agent.initiate_chat(
335
339
 
336
340
  AG2 supports more advanced concepts to help you build your AI agent workflows. You can find more information in the documentation.
337
341
 
338
- - [Structured Output](https://docs.ag2.ai/docs/user-guide/basic-concepts/structured-outputs)
342
+ - [Structured Output](https://docs.ag2.ai/latest/docs/user-guide/basic-concepts/llm-configuration/llm-configuration/structured-outputs)
339
343
  - [Ending a conversation](https://docs.ag2.ai/docs/user-guide/basic-concepts/ending-a-chat)
340
344
  - [Retrieval Augmented Generation (RAG)](https://docs.ag2.ai/docs/user-guide/advanced-concepts/rag)
341
345
  - [Code Execution](https://docs.ag2.ai/docs/user-guide/advanced-concepts/code-execution)
342
- - [Tools with Secrets](https://docs.ag2.ai/docs/user-guide/advanced-concepts/tools-with-secrets)
346
+ - [Tools with Secrets](https://docs.ag2.ai/docs/user-guide/basic-concepts/tools/tools-with-secrets)
343
347
 
344
348
  ## Announcements
345
349
 
@@ -267,11 +267,11 @@ chat_result = executor_agent.initiate_chat(
267
267
 
268
268
  AG2 supports more advanced concepts to help you build your AI agent workflows. You can find more information in the documentation.
269
269
 
270
- - [Structured Output](https://docs.ag2.ai/docs/user-guide/basic-concepts/structured-outputs)
270
+ - [Structured Output](https://docs.ag2.ai/latest/docs/user-guide/basic-concepts/llm-configuration/llm-configuration/structured-outputs)
271
271
  - [Ending a conversation](https://docs.ag2.ai/docs/user-guide/basic-concepts/ending-a-chat)
272
272
  - [Retrieval Augmented Generation (RAG)](https://docs.ag2.ai/docs/user-guide/advanced-concepts/rag)
273
273
  - [Code Execution](https://docs.ag2.ai/docs/user-guide/advanced-concepts/code-execution)
274
- - [Tools with Secrets](https://docs.ag2.ai/docs/user-guide/advanced-concepts/tools-with-secrets)
274
+ - [Tools with Secrets](https://docs.ag2.ai/docs/user-guide/basic-concepts/tools/tools-with-secrets)
275
275
 
276
276
  ## Announcements
277
277
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ag2
3
- Version: 0.8.3
3
+ Version: 0.8.5
4
4
  Summary: Alias package for pyautogen
5
5
  Home-page: https://github.com/ag2ai/ag2
6
6
  Author: Chi Wang & Qingyun Wu
@@ -25,9 +25,13 @@ Provides-Extra: graph-rag-falkor-db
25
25
  Provides-Extra: rag
26
26
  Provides-Extra: crawl4ai
27
27
  Provides-Extra: browser-use
28
+ Provides-Extra: google-client
29
+ Provides-Extra: google-api
28
30
  Provides-Extra: google-search
31
+ Provides-Extra: wikipedia
29
32
  Provides-Extra: neo4j
30
33
  Provides-Extra: twilio
34
+ Provides-Extra: mcp
31
35
  Provides-Extra: interop-crewai
32
36
  Provides-Extra: interop-langchain
33
37
  Provides-Extra: interop-pydantic-ai
@@ -335,11 +339,11 @@ chat_result = executor_agent.initiate_chat(
335
339
 
336
340
  AG2 supports more advanced concepts to help you build your AI agent workflows. You can find more information in the documentation.
337
341
 
338
- - [Structured Output](https://docs.ag2.ai/docs/user-guide/basic-concepts/structured-outputs)
342
+ - [Structured Output](https://docs.ag2.ai/latest/docs/user-guide/basic-concepts/llm-configuration/llm-configuration/structured-outputs)
339
343
  - [Ending a conversation](https://docs.ag2.ai/docs/user-guide/basic-concepts/ending-a-chat)
340
344
  - [Retrieval Augmented Generation (RAG)](https://docs.ag2.ai/docs/user-guide/advanced-concepts/rag)
341
345
  - [Code Execution](https://docs.ag2.ai/docs/user-guide/advanced-concepts/code-execution)
342
- - [Tools with Secrets](https://docs.ag2.ai/docs/user-guide/advanced-concepts/tools-with-secrets)
346
+ - [Tools with Secrets](https://docs.ag2.ai/docs/user-guide/basic-concepts/tools/tools-with-secrets)
343
347
 
344
348
  ## Announcements
345
349
 
@@ -0,0 +1,166 @@
1
+ pyautogen==0.8.5
2
+
3
+ [anthropic]
4
+ pyautogen[anthropic]==0.8.5
5
+
6
+ [autobuild]
7
+ pyautogen[autobuild]==0.8.5
8
+
9
+ [bedrock]
10
+ pyautogen[bedrock]==0.8.5
11
+
12
+ [blendsearch]
13
+ pyautogen[blendsearch]==0.8.5
14
+
15
+ [browser-use]
16
+ pyautogen[browser-use]==0.8.5
17
+
18
+ [captainagent]
19
+ pyautogen[captainagent]==0.8.5
20
+
21
+ [cerebras]
22
+ pyautogen[cerebras]==0.8.5
23
+
24
+ [cohere]
25
+ pyautogen[cohere]==0.8.5
26
+
27
+ [commsagent-discord]
28
+ pyautogen[commsagent-discord]==0.8.5
29
+
30
+ [commsagent-slack]
31
+ pyautogen[commsagent-slack]==0.8.5
32
+
33
+ [commsagent-telegram]
34
+ pyautogen[commsagent-telegram]==0.8.5
35
+
36
+ [cosmosdb]
37
+ pyautogen[cosmosdb]==0.8.5
38
+
39
+ [crawl4ai]
40
+ pyautogen[crawl4ai]==0.8.5
41
+
42
+ [deepseek]
43
+ pyautogen[deepseek]==0.8.5
44
+
45
+ [dev]
46
+ pyautogen[dev]==0.8.5
47
+
48
+ [docs]
49
+ pyautogen[docs]==0.8.5
50
+
51
+ [flaml]
52
+ pyautogen[flaml]==0.8.5
53
+
54
+ [gemini]
55
+ pyautogen[gemini]==0.8.5
56
+
57
+ [gemini-realtime]
58
+ pyautogen[gemini-realtime]==0.8.5
59
+
60
+ [google-api]
61
+ pyautogen[google-api]==0.8.5
62
+
63
+ [google-client]
64
+ pyautogen[google-client]==0.8.5
65
+
66
+ [google-search]
67
+ pyautogen[google-search]==0.8.5
68
+
69
+ [graph]
70
+ pyautogen[graph]==0.8.5
71
+
72
+ [graph-rag-falkor-db]
73
+ pyautogen[graph-rag-falkor-db]==0.8.5
74
+
75
+ [groq]
76
+ pyautogen[groq]==0.8.5
77
+
78
+ [interop]
79
+ pyautogen[interop]==0.8.5
80
+
81
+ [interop-crewai]
82
+ pyautogen[interop-crewai]==0.8.5
83
+
84
+ [interop-langchain]
85
+ pyautogen[interop-langchain]==0.8.5
86
+
87
+ [interop-pydantic-ai]
88
+ pyautogen[interop-pydantic-ai]==0.8.5
89
+
90
+ [jupyter-executor]
91
+ pyautogen[jupyter-executor]==0.8.5
92
+
93
+ [lint]
94
+ pyautogen[lint]==0.8.5
95
+
96
+ [lmm]
97
+ pyautogen[lmm]==0.8.5
98
+
99
+ [long-context]
100
+ pyautogen[long-context]==0.8.5
101
+
102
+ [mathchat]
103
+ pyautogen[mathchat]==0.8.5
104
+
105
+ [mcp]
106
+ pyautogen[mcp]==0.8.5
107
+
108
+ [mistral]
109
+ pyautogen[mistral]==0.8.5
110
+
111
+ [neo4j]
112
+ pyautogen[neo4j]==0.8.5
113
+
114
+ [ollama]
115
+ pyautogen[ollama]==0.8.5
116
+
117
+ [openai]
118
+ pyautogen[openai]==0.8.5
119
+
120
+ [openai-realtime]
121
+ pyautogen[openai-realtime]==0.8.5
122
+
123
+ [rag]
124
+ pyautogen[rag]==0.8.5
125
+
126
+ [redis]
127
+ pyautogen[redis]==0.8.5
128
+
129
+ [retrievechat]
130
+ pyautogen[retrievechat]==0.8.5
131
+
132
+ [retrievechat-couchbase]
133
+ pyautogen[retrievechat-couchbase]==0.8.5
134
+
135
+ [retrievechat-mongodb]
136
+ pyautogen[retrievechat-mongodb]==0.8.5
137
+
138
+ [retrievechat-pgvector]
139
+ pyautogen[retrievechat-pgvector]==0.8.5
140
+
141
+ [retrievechat-qdrant]
142
+ pyautogen[retrievechat-qdrant]==0.8.5
143
+
144
+ [teachable]
145
+ pyautogen[teachable]==0.8.5
146
+
147
+ [test]
148
+ pyautogen[test]==0.8.5
149
+
150
+ [together]
151
+ pyautogen[together]==0.8.5
152
+
153
+ [twilio]
154
+ pyautogen[twilio]==0.8.5
155
+
156
+ [types]
157
+ pyautogen[types]==0.8.5
158
+
159
+ [websockets]
160
+ pyautogen[websockets]==0.8.5
161
+
162
+ [websurfer]
163
+ pyautogen[websurfer]==0.8.5
164
+
165
+ [wikipedia]
166
+ pyautogen[wikipedia]==0.8.5
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [metadata]
6
6
  license_file = "LICENSE"
7
- description-file = "README.md"
7
+ description_file = "README.md"
8
8
 
9
9
  [project]
10
10
  name = "pyautogen"
@@ -157,10 +157,24 @@ browser-use = [
157
157
  "browser-use==0.1.37",
158
158
  ]
159
159
 
160
- google-search = [
160
+ google-client = [
161
161
  "google-api-python-client>=2.163.0,<3.0",
162
162
  ]
163
163
 
164
+ google-api = [
165
+ "pyautogen[google-client]",
166
+ "google-auth-httplib2>=0.2.0,<0.3",
167
+ "google-auth-oauthlib>=1.2.1,<2.0",
168
+ ]
169
+
170
+ google-search = [
171
+ "pyautogen[google-client]",
172
+ ]
173
+
174
+ wikipedia = [
175
+ "wikipedia-api>=0.8.1, <1.0"
176
+ ]
177
+
164
178
  neo4j = [
165
179
  "docx2txt==0.8",
166
180
  "llama-index>=0.12,<1",
@@ -175,6 +189,12 @@ twilio = [
175
189
  "twilio>=9.3.2"
176
190
  ]
177
191
 
192
+ mcp = [
193
+ # mcp 1.6.0 keeps hanging in stdio_client context manager
194
+ # test_mcp_issue_with_stdio_client_context_manager is failing for mcp=1.6.0
195
+ "mcp>=1.4.0,<1.6; python_version>='3.10'"
196
+ ]
197
+
178
198
  interop-crewai = [
179
199
  "crewai[tools]>=0.76,<1; python_version>='3.10' and python_version<'3.13'",
180
200
  "weaviate-client>=4,<5; python_version>='3.10' and python_version<'3.13'",
@@ -182,7 +202,7 @@ interop-crewai = [
182
202
  interop-langchain = ["langchain-community>=0.3.12,<1"]
183
203
  interop-pydantic-ai = ["pydantic-ai==0.0.31"]
184
204
  interop =[
185
- "pyautogen[interop-crewai, interop-langchain, interop-pydantic-ai]",
205
+ "pyautogen[interop-crewai, interop-langchain, interop-pydantic-ai]"
186
206
  ]
187
207
 
188
208
  autobuild = ["chromadb", "sentence-transformers", "huggingface-hub"]
@@ -254,7 +274,6 @@ docs = [
254
274
  "mkdocs-minify-plugin==0.8.0",
255
275
  "mkdocs-macros-plugin==1.3.7", # includes with variables
256
276
  "mkdocs-glightbox==0.4.0", # img zoom
257
- "mkdocs-ezlinks-plugin==0.1.14", # converts abs links to rel links
258
277
  "pillow", # required for mkdocs-glightbo
259
278
  "cairosvg", # required for mkdocs-glightbo
260
279
  "pdoc3==0.11.5",
@@ -286,7 +305,7 @@ dev = [
286
305
 
287
306
  [project.urls]
288
307
  Homepage = "https://ag2.ai/"
289
- Documentation = "https://docs.ag2.ai/docs/Home"
308
+ Documentation = "https://docs.ag2.ai"
290
309
  Tracker = "https://github.com/ag2ai/ag2/issues"
291
310
  Source = "https://github.com/ag2ai/ag2"
292
311
  Discord = "https://discord.gg/pAbnFJrkgZ"
@@ -342,9 +361,11 @@ markers = [
342
361
  "graph_rag_falkor_db",
343
362
  "neo4j",
344
363
  "twilio",
364
+ "mcp",
345
365
  "interop",
346
366
  "browser_use",
347
367
  "crawl4ai",
368
+ "google_api",
348
369
  "google_search",
349
370
  "websockets",
350
371
  "commsagent_discord",
@@ -452,6 +473,7 @@ files = [
452
473
  "autogen/llm_config.py",
453
474
  "autogen/logger",
454
475
  "autogen/messages",
476
+ "autogen/oai/gemini_types.py",
455
477
  "autogen/oai/oai_models",
456
478
  "autogen/oai/openai_utils.py",
457
479
  "autogen/tools",
@@ -466,6 +488,8 @@ files = [
466
488
  # "test/fast_depends",
467
489
  "test/interop",
468
490
  "test/io",
491
+ "test/oai/test_oai_models.py",
492
+ "test/oai/test_gemini_types.py",
469
493
  "test/test_json_utils.py",
470
494
  "test/test_llm_config.py",
471
495
  "test/messages",
@@ -473,7 +497,6 @@ files = [
473
497
  "test/test_import.py",
474
498
  "test/tools",
475
499
  "test/website",
476
- "test/oai/test_oai_models.py",
477
500
  ]
478
501
 
479
502
  exclude = [
@@ -41,9 +41,13 @@ setuptools.setup(
41
41
  "rag": ["pyautogen[rag]==" + __version__],
42
42
  "crawl4ai": ["pyautogen[crawl4ai]==" + __version__],
43
43
  "browser-use": ["pyautogen[browser-use]==" + __version__],
44
+ "google-client": ["pyautogen[google-client]==" + __version__],
45
+ "google-api": ["pyautogen[google-api]==" + __version__],
44
46
  "google-search": ["pyautogen[google-search]==" + __version__],
47
+ "wikipedia": ["pyautogen[wikipedia]==" + __version__],
45
48
  "neo4j": ["pyautogen[neo4j]==" + __version__],
46
49
  "twilio": ["pyautogen[twilio]==" + __version__],
50
+ "mcp": ["pyautogen[mcp]==" + __version__],
47
51
  "interop-crewai": ["pyautogen[interop-crewai]==" + __version__],
48
52
  "interop-langchain": ["pyautogen[interop-langchain]==" + __version__],
49
53
  "interop-pydantic-ai": ["pyautogen[interop-pydantic-ai]==" + __version__],
@@ -18,7 +18,7 @@ import requests
18
18
  from autogen.browser_utils import SimpleTextBrowser
19
19
  from autogen.import_utils import optional_import_block, skip_on_missing_imports
20
20
 
21
- BLOG_POST_URL = "https://docs.ag2.ai/docs/blog/2023-04-21-LLM-tuning-math"
21
+ BLOG_POST_URL = "https://docs.ag2.ai/docs/blog/2023/04/21/LLM-tuning-math/"
22
22
  BLOG_POST_TITLE = "Does Model and Inference Parameter Matter in LLM Applications? - A Case Study for MATH - AG2"
23
23
  BLOG_POST_STRING = "Large language models (LLMs) are powerful tools that can generate natural language texts for various applications, such as chatbots, summarization, translation, and more. GPT-4 is currently the state of the art LLM in the world. Is model selection irrelevant? What about inference parameters?"
24
24
 
@@ -1,154 +0,0 @@
1
- pyautogen==0.8.3
2
-
3
- [anthropic]
4
- pyautogen[anthropic]==0.8.3
5
-
6
- [autobuild]
7
- pyautogen[autobuild]==0.8.3
8
-
9
- [bedrock]
10
- pyautogen[bedrock]==0.8.3
11
-
12
- [blendsearch]
13
- pyautogen[blendsearch]==0.8.3
14
-
15
- [browser-use]
16
- pyautogen[browser-use]==0.8.3
17
-
18
- [captainagent]
19
- pyautogen[captainagent]==0.8.3
20
-
21
- [cerebras]
22
- pyautogen[cerebras]==0.8.3
23
-
24
- [cohere]
25
- pyautogen[cohere]==0.8.3
26
-
27
- [commsagent-discord]
28
- pyautogen[commsagent-discord]==0.8.3
29
-
30
- [commsagent-slack]
31
- pyautogen[commsagent-slack]==0.8.3
32
-
33
- [commsagent-telegram]
34
- pyautogen[commsagent-telegram]==0.8.3
35
-
36
- [cosmosdb]
37
- pyautogen[cosmosdb]==0.8.3
38
-
39
- [crawl4ai]
40
- pyautogen[crawl4ai]==0.8.3
41
-
42
- [deepseek]
43
- pyautogen[deepseek]==0.8.3
44
-
45
- [dev]
46
- pyautogen[dev]==0.8.3
47
-
48
- [docs]
49
- pyautogen[docs]==0.8.3
50
-
51
- [flaml]
52
- pyautogen[flaml]==0.8.3
53
-
54
- [gemini]
55
- pyautogen[gemini]==0.8.3
56
-
57
- [gemini-realtime]
58
- pyautogen[gemini-realtime]==0.8.3
59
-
60
- [google-search]
61
- pyautogen[google-search]==0.8.3
62
-
63
- [graph]
64
- pyautogen[graph]==0.8.3
65
-
66
- [graph-rag-falkor-db]
67
- pyautogen[graph-rag-falkor-db]==0.8.3
68
-
69
- [groq]
70
- pyautogen[groq]==0.8.3
71
-
72
- [interop]
73
- pyautogen[interop]==0.8.3
74
-
75
- [interop-crewai]
76
- pyautogen[interop-crewai]==0.8.3
77
-
78
- [interop-langchain]
79
- pyautogen[interop-langchain]==0.8.3
80
-
81
- [interop-pydantic-ai]
82
- pyautogen[interop-pydantic-ai]==0.8.3
83
-
84
- [jupyter-executor]
85
- pyautogen[jupyter-executor]==0.8.3
86
-
87
- [lint]
88
- pyautogen[lint]==0.8.3
89
-
90
- [lmm]
91
- pyautogen[lmm]==0.8.3
92
-
93
- [long-context]
94
- pyautogen[long-context]==0.8.3
95
-
96
- [mathchat]
97
- pyautogen[mathchat]==0.8.3
98
-
99
- [mistral]
100
- pyautogen[mistral]==0.8.3
101
-
102
- [neo4j]
103
- pyautogen[neo4j]==0.8.3
104
-
105
- [ollama]
106
- pyautogen[ollama]==0.8.3
107
-
108
- [openai]
109
- pyautogen[openai]==0.8.3
110
-
111
- [openai-realtime]
112
- pyautogen[openai-realtime]==0.8.3
113
-
114
- [rag]
115
- pyautogen[rag]==0.8.3
116
-
117
- [redis]
118
- pyautogen[redis]==0.8.3
119
-
120
- [retrievechat]
121
- pyautogen[retrievechat]==0.8.3
122
-
123
- [retrievechat-couchbase]
124
- pyautogen[retrievechat-couchbase]==0.8.3
125
-
126
- [retrievechat-mongodb]
127
- pyautogen[retrievechat-mongodb]==0.8.3
128
-
129
- [retrievechat-pgvector]
130
- pyautogen[retrievechat-pgvector]==0.8.3
131
-
132
- [retrievechat-qdrant]
133
- pyautogen[retrievechat-qdrant]==0.8.3
134
-
135
- [teachable]
136
- pyautogen[teachable]==0.8.3
137
-
138
- [test]
139
- pyautogen[test]==0.8.3
140
-
141
- [together]
142
- pyautogen[together]==0.8.3
143
-
144
- [twilio]
145
- pyautogen[twilio]==0.8.3
146
-
147
- [types]
148
- pyautogen[types]==0.8.3
149
-
150
- [websockets]
151
- pyautogen[websockets]==0.8.3
152
-
153
- [websurfer]
154
- pyautogen[websurfer]==0.8.3
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes