ag2 0.7.3__py3-none-any.whl → 0.7.4b2__py3-none-any.whl

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.7.3
3
+ Version: 0.7.4b2
4
4
  Summary: Alias package for pyautogen
5
5
  Home-page: https://github.com/ag2ai/ag2
6
6
  Author: Chi Wang & Qingyun Wu
@@ -14,105 +14,121 @@ Requires-Python: >=3.9,<3.14
14
14
  Description-Content-Type: text/markdown
15
15
  License-File: LICENSE
16
16
  License-File: NOTICE.md
17
- Requires-Dist: pyautogen==0.7.3
17
+ Requires-Dist: pyautogen==0.7.4b2
18
18
  Provides-Extra: anthropic
19
- Requires-Dist: pyautogen[anthropic]==0.7.3; extra == "anthropic"
19
+ Requires-Dist: pyautogen[anthropic]==0.7.4b2; extra == "anthropic"
20
20
  Provides-Extra: autobuild
21
- Requires-Dist: pyautogen[autobuild]==0.7.3; extra == "autobuild"
21
+ Requires-Dist: pyautogen[autobuild]==0.7.4b2; extra == "autobuild"
22
22
  Provides-Extra: bedrock
23
- Requires-Dist: pyautogen[bedrock]==0.7.3; extra == "bedrock"
23
+ Requires-Dist: pyautogen[bedrock]==0.7.4b2; extra == "bedrock"
24
24
  Provides-Extra: blendsearch
25
- Requires-Dist: pyautogen[blendsearch]==0.7.3; extra == "blendsearch"
25
+ Requires-Dist: pyautogen[blendsearch]==0.7.4b2; extra == "blendsearch"
26
26
  Provides-Extra: browser-use
27
- Requires-Dist: pyautogen[browser-use]==0.7.3; extra == "browser-use"
27
+ Requires-Dist: pyautogen[browser-use]==0.7.4b2; extra == "browser-use"
28
28
  Provides-Extra: captainagent
29
- Requires-Dist: pyautogen[captainagent]==0.7.3; extra == "captainagent"
29
+ Requires-Dist: pyautogen[captainagent]==0.7.4b2; extra == "captainagent"
30
30
  Provides-Extra: cerebras
31
- Requires-Dist: pyautogen[cerebras]==0.7.3; extra == "cerebras"
31
+ Requires-Dist: pyautogen[cerebras]==0.7.4b2; extra == "cerebras"
32
32
  Provides-Extra: cohere
33
- Requires-Dist: pyautogen[cohere]==0.7.3; extra == "cohere"
33
+ Requires-Dist: pyautogen[cohere]==0.7.4b2; extra == "cohere"
34
+ Provides-Extra: commsagent-discord
35
+ Requires-Dist: pyautogen[commsagent-discord]==0.7.4b2; extra == "commsagent-discord"
36
+ Provides-Extra: commsagent-slack
37
+ Requires-Dist: pyautogen[commsagent-slack]==0.7.4b2; extra == "commsagent-slack"
38
+ Provides-Extra: commsagent-telegram
39
+ Requires-Dist: pyautogen[commsagent-telegram]==0.7.4b2; extra == "commsagent-telegram"
34
40
  Provides-Extra: cosmosdb
35
- Requires-Dist: pyautogen[cosmosdb]==0.7.3; extra == "cosmosdb"
41
+ Requires-Dist: pyautogen[cosmosdb]==0.7.4b2; extra == "cosmosdb"
36
42
  Provides-Extra: crawl4ai
37
- Requires-Dist: pyautogen[crawl4ai]==0.7.3; extra == "crawl4ai"
43
+ Requires-Dist: pyautogen[crawl4ai]==0.7.4b2; extra == "crawl4ai"
38
44
  Provides-Extra: dev
39
- Requires-Dist: pyautogen[dev]==0.7.3; extra == "dev"
45
+ Requires-Dist: pyautogen[dev]==0.7.4b2; extra == "dev"
40
46
  Provides-Extra: docs
41
- Requires-Dist: pyautogen[docs]==0.7.3; extra == "docs"
47
+ Requires-Dist: pyautogen[docs]==0.7.4b2; extra == "docs"
42
48
  Provides-Extra: flaml
43
- Requires-Dist: pyautogen[flaml]==0.7.3; extra == "flaml"
49
+ Requires-Dist: pyautogen[flaml]==0.7.4b2; extra == "flaml"
44
50
  Provides-Extra: gemini
45
- Requires-Dist: pyautogen[gemini]==0.7.3; extra == "gemini"
51
+ Requires-Dist: pyautogen[gemini]==0.7.4b2; extra == "gemini"
46
52
  Provides-Extra: graph
47
- Requires-Dist: pyautogen[graph]==0.7.3; extra == "graph"
53
+ Requires-Dist: pyautogen[graph]==0.7.4b2; extra == "graph"
48
54
  Provides-Extra: graph-rag-falkor-db
49
- Requires-Dist: pyautogen[graph-rag-falkor-db]==0.7.3; extra == "graph-rag-falkor-db"
55
+ Requires-Dist: pyautogen[graph-rag-falkor-db]==0.7.4b2; extra == "graph-rag-falkor-db"
50
56
  Provides-Extra: groq
51
- Requires-Dist: pyautogen[groq]==0.7.3; extra == "groq"
57
+ Requires-Dist: pyautogen[groq]==0.7.4b2; extra == "groq"
52
58
  Provides-Extra: interop
53
- Requires-Dist: pyautogen[interop]==0.7.3; extra == "interop"
59
+ Requires-Dist: pyautogen[interop]==0.7.4b2; extra == "interop"
54
60
  Provides-Extra: interop-crewai
55
- Requires-Dist: pyautogen[interop-crewai]==0.7.3; extra == "interop-crewai"
61
+ Requires-Dist: pyautogen[interop-crewai]==0.7.4b2; extra == "interop-crewai"
56
62
  Provides-Extra: interop-langchain
57
- Requires-Dist: pyautogen[interop-langchain]==0.7.3; extra == "interop-langchain"
63
+ Requires-Dist: pyautogen[interop-langchain]==0.7.4b2; extra == "interop-langchain"
58
64
  Provides-Extra: interop-pydantic-ai
59
- Requires-Dist: pyautogen[interop-pydantic-ai]==0.7.3; extra == "interop-pydantic-ai"
65
+ Requires-Dist: pyautogen[interop-pydantic-ai]==0.7.4b2; extra == "interop-pydantic-ai"
60
66
  Provides-Extra: jupyter-executor
61
- Requires-Dist: pyautogen[jupyter-executor]==0.7.3; extra == "jupyter-executor"
67
+ Requires-Dist: pyautogen[jupyter-executor]==0.7.4b2; extra == "jupyter-executor"
62
68
  Provides-Extra: lint
63
- Requires-Dist: pyautogen[lint]==0.7.3; extra == "lint"
69
+ Requires-Dist: pyautogen[lint]==0.7.4b2; extra == "lint"
64
70
  Provides-Extra: lmm
65
- Requires-Dist: pyautogen[lmm]==0.7.3; extra == "lmm"
71
+ Requires-Dist: pyautogen[lmm]==0.7.4b2; extra == "lmm"
66
72
  Provides-Extra: long-context
67
- Requires-Dist: pyautogen[long-context]==0.7.3; extra == "long-context"
73
+ Requires-Dist: pyautogen[long-context]==0.7.4b2; extra == "long-context"
68
74
  Provides-Extra: mathchat
69
- Requires-Dist: pyautogen[mathchat]==0.7.3; extra == "mathchat"
75
+ Requires-Dist: pyautogen[mathchat]==0.7.4b2; extra == "mathchat"
70
76
  Provides-Extra: mistral
71
- Requires-Dist: pyautogen[mistral]==0.7.3; extra == "mistral"
77
+ Requires-Dist: pyautogen[mistral]==0.7.4b2; extra == "mistral"
72
78
  Provides-Extra: neo4j
73
- Requires-Dist: pyautogen[neo4j]==0.7.3; extra == "neo4j"
79
+ Requires-Dist: pyautogen[neo4j]==0.7.4b2; extra == "neo4j"
74
80
  Provides-Extra: ollama
75
- Requires-Dist: pyautogen[ollama]==0.7.3; extra == "ollama"
81
+ Requires-Dist: pyautogen[ollama]==0.7.4b2; extra == "ollama"
76
82
  Provides-Extra: rag
77
- Requires-Dist: pyautogen[rag]==0.7.3; extra == "rag"
83
+ Requires-Dist: pyautogen[rag]==0.7.4b2; extra == "rag"
78
84
  Provides-Extra: redis
79
- Requires-Dist: pyautogen[redis]==0.7.3; extra == "redis"
85
+ Requires-Dist: pyautogen[redis]==0.7.4b2; extra == "redis"
80
86
  Provides-Extra: retrievechat
81
- Requires-Dist: pyautogen[retrievechat]==0.7.3; extra == "retrievechat"
87
+ Requires-Dist: pyautogen[retrievechat]==0.7.4b2; extra == "retrievechat"
82
88
  Provides-Extra: retrievechat-mongodb
83
- Requires-Dist: pyautogen[retrievechat-mongodb]==0.7.3; extra == "retrievechat-mongodb"
89
+ Requires-Dist: pyautogen[retrievechat-mongodb]==0.7.4b2; extra == "retrievechat-mongodb"
84
90
  Provides-Extra: retrievechat-pgvector
85
- Requires-Dist: pyautogen[retrievechat-pgvector]==0.7.3; extra == "retrievechat-pgvector"
91
+ Requires-Dist: pyautogen[retrievechat-pgvector]==0.7.4b2; extra == "retrievechat-pgvector"
86
92
  Provides-Extra: retrievechat-qdrant
87
- Requires-Dist: pyautogen[retrievechat-qdrant]==0.7.3; extra == "retrievechat-qdrant"
93
+ Requires-Dist: pyautogen[retrievechat-qdrant]==0.7.4b2; extra == "retrievechat-qdrant"
88
94
  Provides-Extra: teachable
89
- Requires-Dist: pyautogen[teachable]==0.7.3; extra == "teachable"
95
+ Requires-Dist: pyautogen[teachable]==0.7.4b2; extra == "teachable"
90
96
  Provides-Extra: test
91
- Requires-Dist: pyautogen[test]==0.7.3; extra == "test"
97
+ Requires-Dist: pyautogen[test]==0.7.4b2; extra == "test"
92
98
  Provides-Extra: together
93
- Requires-Dist: pyautogen[together]==0.7.3; extra == "together"
99
+ Requires-Dist: pyautogen[together]==0.7.4b2; extra == "together"
94
100
  Provides-Extra: twilio
95
- Requires-Dist: pyautogen[twilio]==0.7.3; extra == "twilio"
101
+ Requires-Dist: pyautogen[twilio]==0.7.4b2; extra == "twilio"
96
102
  Provides-Extra: types
97
- Requires-Dist: pyautogen[types]==0.7.3; extra == "types"
103
+ Requires-Dist: pyautogen[types]==0.7.4b2; extra == "types"
98
104
  Provides-Extra: websockets
99
- Requires-Dist: pyautogen[websockets]==0.7.3; extra == "websockets"
105
+ Requires-Dist: pyautogen[websockets]==0.7.4b2; extra == "websockets"
100
106
  Provides-Extra: websurfer
101
- Requires-Dist: pyautogen[websurfer]==0.7.3; extra == "websurfer"
107
+ Requires-Dist: pyautogen[websurfer]==0.7.4b2; extra == "websurfer"
102
108
 
103
109
  <a name="readme-top"></a>
104
110
 
105
111
  ![Pypi Downloads](https://img.shields.io/pypi/dm/pyautogen?label=PyPI%20downloads)
106
112
  [![PyPI version](https://badge.fury.io/py/autogen.svg)](https://badge.fury.io/py/autogen)
107
113
  [![Build](https://github.com/ag2ai/ag2/actions/workflows/python-package.yml/badge.svg)](https://github.com/ag2ai/ag2/actions/workflows/python-package.yml)
108
- ![Python Version](https://img.shields.io/badge/3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue)
114
+ ![Python Version](https://img.shields.io/pypi/pyversions/pyautogen?logoColor=blue)
109
115
  [![Discord](https://img.shields.io/discord/1153072414184452236?logo=discord&style=flat)](https://discord.gg/pAbnFJrkgZ)
110
- [![Twitter](https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social&label=Follow%20%40ag2ai)](https://x.com/Chi_Wang_)
116
+ [![X](https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social&label=Follow%20%40ag2oss)](https://x.com/ag2oss)
111
117
 
112
118
  <!-- [![NuGet version](https://badge.fury.io/nu/AutoGen.Core.svg)](https://badge.fury.io/nu/AutoGen.Core) -->
113
119
 
114
120
  # [AG2](https://github.com/ag2ai/ag2)
115
121
 
122
+ ## Key Features
123
+ - 🤖 Multi-Agent Framework - Build and orchestrate AI agent interactions
124
+ - 🔧 Flexible Integration - Support for various LLMs (OpenAI, Anthropic, Gemini, etc.)
125
+ - 🛠 Tool Usage - Agents can use external tools and execute code
126
+ - 👥 Human-in-the-Loop - Seamless human participation when needed
127
+ - 🔄 Rich Orchestration Patterns - Agents can be organized in any form you like
128
+ - 🎯 Future-Oriented - Designed for solving difficult problems and harnessing latest and future technology
129
+
130
+ [📚 Documentation](https://docs.ag2.ai/) | [💡 Examples](https://github.com/ag2ai/build-with-ag2) | [🤝 Contributing](https://docs.ag2.ai/docs/contributor-guide/contributing)
131
+
116
132
  [📚 Cite paper](#related-papers).
117
133
 
118
134
  <!-- <p align="center">
@@ -181,7 +197,11 @@ We adopt the Apache 2.0 license from v0.3. This enhances our commitment to open-
181
197
 
182
198
  ## What is AG2
183
199
 
184
- AG2 (formerly AutoGen) is an open-source programming framework for building AI agents and facilitating cooperation among multiple agents to solve tasks. AG2 aims to streamline the development and research of agentic AI, much like PyTorch does for Deep Learning. It offers features such as agents capable of interacting with each other, facilitates the use of various large language models (LLMs) and tool use support, autonomous and human-in-the-loop workflows, and multi-agent conversation patterns.
200
+ AG2 (formerly AutoGen) is an open-source AgentOS for building AI agents and facilitating cooperation among multiple agents to solve tasks. AG2 provides fundamental building blocks needed to create, deploy, and manage AI agents that can work together to solve complex problems.
201
+
202
+ ### Core Concepts
203
+ - **Agents**: Stateful entities that can send messages, receive messages, and generate replies using underlying capabilities powered by LLMs, non-LLM tools, or human inputs. Depending on the underlying capability, an agent may reason, plan, execute tasks or involve other agents before generating a reply.
204
+ - **Conversations**: Structured communication patterns between agents.
185
205
 
186
206
  **Open Source Statement**: The project welcomes contributions from developers and organizations worldwide. Our goal is to foster a collaborative and inclusive community where diverse perspectives and expertise can drive innovation and enhance the project's capabilities. Whether you are an individual contributor or represent an organization, we invite you to join us in shaping the future of this project. Together, we can build something truly remarkable.
187
207
 
@@ -222,7 +242,7 @@ _NOTE_: OAI_CONFIG_LIST_sample lists gpt-4o as the default model. If you use a d
222
242
 
223
243
  ### Option 1. Install and Run AG2 in Docker
224
244
 
225
- 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).
245
+ 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/setup-development-environment).
226
246
 
227
247
  ### Option 2. Install AG2 Locally
228
248
 
@@ -245,7 +265,7 @@ Find more options in [Installation](https://docs.ag2.ai/docs/Installation#option
245
265
 
246
266
  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).
247
267
 
248
- For LLM inference configurations, check the [FAQs](https://docs.ag2.ai/docs/FAQ#set-your-api-endpoints).
268
+ For LLM inference configurations, check the [FAQs](https://docs.ag2.ai/docs/user-guide/advanced-concepts/llm-configuration-deep-dive#llm-configuration).
249
269
 
250
270
  <p align="right" style="font-size: 14px; color: #555; margin-top: 20px;">
251
271
  <a href="#readme-top" style="text-decoration: none; color: blue; font-weight: bold;">
@@ -269,7 +289,7 @@ For [example](https://github.com/ag2ai/ag2/blob/main/test/twoagent.py),
269
289
  ```python
270
290
  from autogen import AssistantAgent, UserProxyAgent, config_list_from_json
271
291
  # Load LLM inference endpoints from an env variable or a file
272
- # See https://docs.ag2.ai/docs/FAQ#set-your-api-endpoints
292
+ # See https://docs.ag2.ai/docs/user-guide/advanced-concepts/llm-configuration-deep-dive#llm-configuration
273
293
  # and OAI_CONFIG_LIST_sample
274
294
  config_list = config_list_from_json(env_or_file="OAI_CONFIG_LIST")
275
295
  # You can also set config_list directly as a list, for example, config_list = [{'model': 'gpt-4o', 'api_key': '<your OpenAI API key here>'},]
@@ -301,7 +321,7 @@ Please find more [code examples](https://docs.ag2.ai/docs/Examples#automated-mul
301
321
 
302
322
  ## Enhanced LLM Inferences
303
323
 
304
- 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.
324
+ AG2 also helps maximize the utility out of the expensive LLMs such as gpt-4o. It offers enhanced LLM inference with powerful functionalities like caching, error handling, multi-config inference and templating.
305
325
 
306
326
  <!-- For example, you can optimize generations by LLM with your own tuning data, success metrics, and budgets.
307
327
 
@@ -0,0 +1,6 @@
1
+ ag2-0.7.4b2.dist-info/LICENSE,sha256=GEFQVNayAR-S_rQD5l8hPdgvgyktVdy4Bx5-v90IfRI,11384
2
+ ag2-0.7.4b2.dist-info/METADATA,sha256=tOwx0qmts2xFCWyuxkMhODP5uBH5h5g_oeGHj7uhi4E,23715
3
+ ag2-0.7.4b2.dist-info/NOTICE.md,sha256=07iCPQGbth4pQrgkSgZinJGT5nXddkZ6_MGYcBd2oiY,1134
4
+ ag2-0.7.4b2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
5
+ ag2-0.7.4b2.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
6
+ ag2-0.7.4b2.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- ag2-0.7.3.dist-info/LICENSE,sha256=GEFQVNayAR-S_rQD5l8hPdgvgyktVdy4Bx5-v90IfRI,11384
2
- ag2-0.7.3.dist-info/METADATA,sha256=FYYAumlVHfCPdVIAr7NiedYZ2WWtd_PPN7XbWkeEh2U,22384
3
- ag2-0.7.3.dist-info/NOTICE.md,sha256=07iCPQGbth4pQrgkSgZinJGT5nXddkZ6_MGYcBd2oiY,1134
4
- ag2-0.7.3.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
5
- ag2-0.7.3.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
6
- ag2-0.7.3.dist-info/RECORD,,
File without changes
File without changes
File without changes