ag2 0.7.2b1__py3-none-any.whl → 0.7.4__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.
- {ag2-0.7.2b1.dist-info → ag2-0.7.4.dist-info}/METADATA +110 -84
- {ag2-0.7.2b1.dist-info → ag2-0.7.4.dist-info}/NOTICE.md +1 -1
- ag2-0.7.4.dist-info/RECORD +6 -0
- ag2-0.7.2b1.dist-info/RECORD +0 -6
- {ag2-0.7.2b1.dist-info → ag2-0.7.4.dist-info}/LICENSE +0 -0
- {ag2-0.7.2b1.dist-info → ag2-0.7.4.dist-info}/WHEEL +0 -0
- {ag2-0.7.2b1.dist-info → ag2-0.7.4.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ag2
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.4
|
|
4
4
|
Summary: Alias package for pyautogen
|
|
5
5
|
Home-page: https://github.com/ag2ai/ag2
|
|
6
6
|
Author: Chi Wang & Qingyun Wu
|
|
@@ -14,114 +14,136 @@ 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.
|
|
17
|
+
Requires-Dist: pyautogen==0.7.4
|
|
18
18
|
Provides-Extra: anthropic
|
|
19
|
-
Requires-Dist: pyautogen[anthropic]==0.7.
|
|
19
|
+
Requires-Dist: pyautogen[anthropic]==0.7.4; extra == "anthropic"
|
|
20
20
|
Provides-Extra: autobuild
|
|
21
|
-
Requires-Dist: pyautogen[autobuild]==0.7.
|
|
21
|
+
Requires-Dist: pyautogen[autobuild]==0.7.4; extra == "autobuild"
|
|
22
22
|
Provides-Extra: bedrock
|
|
23
|
-
Requires-Dist: pyautogen[bedrock]==0.7.
|
|
23
|
+
Requires-Dist: pyautogen[bedrock]==0.7.4; extra == "bedrock"
|
|
24
24
|
Provides-Extra: blendsearch
|
|
25
|
-
Requires-Dist: pyautogen[blendsearch]==0.7.
|
|
25
|
+
Requires-Dist: pyautogen[blendsearch]==0.7.4; extra == "blendsearch"
|
|
26
|
+
Provides-Extra: browser-use
|
|
27
|
+
Requires-Dist: pyautogen[browser-use]==0.7.4; extra == "browser-use"
|
|
26
28
|
Provides-Extra: captainagent
|
|
27
|
-
Requires-Dist: pyautogen[captainagent]==0.7.
|
|
29
|
+
Requires-Dist: pyautogen[captainagent]==0.7.4; extra == "captainagent"
|
|
28
30
|
Provides-Extra: cerebras
|
|
29
|
-
Requires-Dist: pyautogen[cerebras]==0.7.
|
|
31
|
+
Requires-Dist: pyautogen[cerebras]==0.7.4; extra == "cerebras"
|
|
30
32
|
Provides-Extra: cohere
|
|
31
|
-
Requires-Dist: pyautogen[cohere]==0.7.
|
|
33
|
+
Requires-Dist: pyautogen[cohere]==0.7.4; extra == "cohere"
|
|
34
|
+
Provides-Extra: commsagent-discord
|
|
35
|
+
Requires-Dist: pyautogen[commsagent-discord]==0.7.4; extra == "commsagent-discord"
|
|
36
|
+
Provides-Extra: commsagent-slack
|
|
37
|
+
Requires-Dist: pyautogen[commsagent-slack]==0.7.4; extra == "commsagent-slack"
|
|
38
|
+
Provides-Extra: commsagent-telegram
|
|
39
|
+
Requires-Dist: pyautogen[commsagent-telegram]==0.7.4; extra == "commsagent-telegram"
|
|
32
40
|
Provides-Extra: cosmosdb
|
|
33
|
-
Requires-Dist: pyautogen[cosmosdb]==0.7.
|
|
41
|
+
Requires-Dist: pyautogen[cosmosdb]==0.7.4; extra == "cosmosdb"
|
|
42
|
+
Provides-Extra: crawl4ai
|
|
43
|
+
Requires-Dist: pyautogen[crawl4ai]==0.7.4; extra == "crawl4ai"
|
|
34
44
|
Provides-Extra: dev
|
|
35
|
-
Requires-Dist: pyautogen[dev]==0.7.
|
|
45
|
+
Requires-Dist: pyautogen[dev]==0.7.4; extra == "dev"
|
|
36
46
|
Provides-Extra: docs
|
|
37
|
-
Requires-Dist: pyautogen[docs]==0.7.
|
|
47
|
+
Requires-Dist: pyautogen[docs]==0.7.4; extra == "docs"
|
|
38
48
|
Provides-Extra: flaml
|
|
39
|
-
Requires-Dist: pyautogen[flaml]==0.7.
|
|
49
|
+
Requires-Dist: pyautogen[flaml]==0.7.4; extra == "flaml"
|
|
40
50
|
Provides-Extra: gemini
|
|
41
|
-
Requires-Dist: pyautogen[gemini]==0.7.
|
|
51
|
+
Requires-Dist: pyautogen[gemini]==0.7.4; extra == "gemini"
|
|
42
52
|
Provides-Extra: graph
|
|
43
|
-
Requires-Dist: pyautogen[graph]==0.7.
|
|
53
|
+
Requires-Dist: pyautogen[graph]==0.7.4; extra == "graph"
|
|
44
54
|
Provides-Extra: graph-rag-falkor-db
|
|
45
|
-
Requires-Dist: pyautogen[graph-rag-falkor-db]==0.7.
|
|
55
|
+
Requires-Dist: pyautogen[graph-rag-falkor-db]==0.7.4; extra == "graph-rag-falkor-db"
|
|
46
56
|
Provides-Extra: groq
|
|
47
|
-
Requires-Dist: pyautogen[groq]==0.7.
|
|
57
|
+
Requires-Dist: pyautogen[groq]==0.7.4; extra == "groq"
|
|
48
58
|
Provides-Extra: interop
|
|
49
|
-
Requires-Dist: pyautogen[interop]==0.7.
|
|
59
|
+
Requires-Dist: pyautogen[interop]==0.7.4; extra == "interop"
|
|
50
60
|
Provides-Extra: interop-crewai
|
|
51
|
-
Requires-Dist: pyautogen[interop-crewai]==0.7.
|
|
61
|
+
Requires-Dist: pyautogen[interop-crewai]==0.7.4; extra == "interop-crewai"
|
|
52
62
|
Provides-Extra: interop-langchain
|
|
53
|
-
Requires-Dist: pyautogen[interop-langchain]==0.7.
|
|
63
|
+
Requires-Dist: pyautogen[interop-langchain]==0.7.4; extra == "interop-langchain"
|
|
54
64
|
Provides-Extra: interop-pydantic-ai
|
|
55
|
-
Requires-Dist: pyautogen[interop-pydantic-ai]==0.7.
|
|
65
|
+
Requires-Dist: pyautogen[interop-pydantic-ai]==0.7.4; extra == "interop-pydantic-ai"
|
|
56
66
|
Provides-Extra: jupyter-executor
|
|
57
|
-
Requires-Dist: pyautogen[jupyter-executor]==0.7.
|
|
67
|
+
Requires-Dist: pyautogen[jupyter-executor]==0.7.4; extra == "jupyter-executor"
|
|
58
68
|
Provides-Extra: lint
|
|
59
|
-
Requires-Dist: pyautogen[lint]==0.7.
|
|
69
|
+
Requires-Dist: pyautogen[lint]==0.7.4; extra == "lint"
|
|
60
70
|
Provides-Extra: lmm
|
|
61
|
-
Requires-Dist: pyautogen[lmm]==0.7.
|
|
71
|
+
Requires-Dist: pyautogen[lmm]==0.7.4; extra == "lmm"
|
|
62
72
|
Provides-Extra: long-context
|
|
63
|
-
Requires-Dist: pyautogen[long-context]==0.7.
|
|
73
|
+
Requires-Dist: pyautogen[long-context]==0.7.4; extra == "long-context"
|
|
64
74
|
Provides-Extra: mathchat
|
|
65
|
-
Requires-Dist: pyautogen[mathchat]==0.7.
|
|
75
|
+
Requires-Dist: pyautogen[mathchat]==0.7.4; extra == "mathchat"
|
|
66
76
|
Provides-Extra: mistral
|
|
67
|
-
Requires-Dist: pyautogen[mistral]==0.7.
|
|
77
|
+
Requires-Dist: pyautogen[mistral]==0.7.4; extra == "mistral"
|
|
68
78
|
Provides-Extra: neo4j
|
|
69
|
-
Requires-Dist: pyautogen[neo4j]==0.7.
|
|
79
|
+
Requires-Dist: pyautogen[neo4j]==0.7.4; extra == "neo4j"
|
|
70
80
|
Provides-Extra: ollama
|
|
71
|
-
Requires-Dist: pyautogen[ollama]==0.7.
|
|
81
|
+
Requires-Dist: pyautogen[ollama]==0.7.4; extra == "ollama"
|
|
82
|
+
Provides-Extra: rag
|
|
83
|
+
Requires-Dist: pyautogen[rag]==0.7.4; extra == "rag"
|
|
72
84
|
Provides-Extra: redis
|
|
73
|
-
Requires-Dist: pyautogen[redis]==0.7.
|
|
85
|
+
Requires-Dist: pyautogen[redis]==0.7.4; extra == "redis"
|
|
74
86
|
Provides-Extra: retrievechat
|
|
75
|
-
Requires-Dist: pyautogen[retrievechat]==0.7.
|
|
87
|
+
Requires-Dist: pyautogen[retrievechat]==0.7.4; extra == "retrievechat"
|
|
76
88
|
Provides-Extra: retrievechat-mongodb
|
|
77
|
-
Requires-Dist: pyautogen[retrievechat-mongodb]==0.7.
|
|
89
|
+
Requires-Dist: pyautogen[retrievechat-mongodb]==0.7.4; extra == "retrievechat-mongodb"
|
|
78
90
|
Provides-Extra: retrievechat-pgvector
|
|
79
|
-
Requires-Dist: pyautogen[retrievechat-pgvector]==0.7.
|
|
91
|
+
Requires-Dist: pyautogen[retrievechat-pgvector]==0.7.4; extra == "retrievechat-pgvector"
|
|
80
92
|
Provides-Extra: retrievechat-qdrant
|
|
81
|
-
Requires-Dist: pyautogen[retrievechat-qdrant]==0.7.
|
|
93
|
+
Requires-Dist: pyautogen[retrievechat-qdrant]==0.7.4; extra == "retrievechat-qdrant"
|
|
82
94
|
Provides-Extra: teachable
|
|
83
|
-
Requires-Dist: pyautogen[teachable]==0.7.
|
|
95
|
+
Requires-Dist: pyautogen[teachable]==0.7.4; extra == "teachable"
|
|
84
96
|
Provides-Extra: test
|
|
85
|
-
Requires-Dist: pyautogen[test]==0.7.
|
|
97
|
+
Requires-Dist: pyautogen[test]==0.7.4; extra == "test"
|
|
86
98
|
Provides-Extra: together
|
|
87
|
-
Requires-Dist: pyautogen[together]==0.7.
|
|
99
|
+
Requires-Dist: pyautogen[together]==0.7.4; extra == "together"
|
|
88
100
|
Provides-Extra: twilio
|
|
89
|
-
Requires-Dist: pyautogen[twilio]==0.7.
|
|
101
|
+
Requires-Dist: pyautogen[twilio]==0.7.4; extra == "twilio"
|
|
90
102
|
Provides-Extra: types
|
|
91
|
-
Requires-Dist: pyautogen[types]==0.7.
|
|
103
|
+
Requires-Dist: pyautogen[types]==0.7.4; extra == "types"
|
|
92
104
|
Provides-Extra: websockets
|
|
93
|
-
Requires-Dist: pyautogen[websockets]==0.7.
|
|
105
|
+
Requires-Dist: pyautogen[websockets]==0.7.4; extra == "websockets"
|
|
94
106
|
Provides-Extra: websurfer
|
|
95
|
-
Requires-Dist: pyautogen[websurfer]==0.7.
|
|
107
|
+
Requires-Dist: pyautogen[websurfer]==0.7.4; extra == "websurfer"
|
|
96
108
|
|
|
97
109
|
<a name="readme-top"></a>
|
|
98
110
|
|
|
99
111
|

|
|
100
112
|
[](https://badge.fury.io/py/autogen)
|
|
101
113
|
[](https://github.com/ag2ai/ag2/actions/workflows/python-package.yml)
|
|
102
|
-

|
|
103
115
|
[](https://discord.gg/pAbnFJrkgZ)
|
|
104
|
-
[](https://x.com/ag2oss)
|
|
105
117
|
|
|
106
118
|
<!-- [](https://badge.fury.io/nu/AutoGen.Core) -->
|
|
107
119
|
|
|
108
120
|
# [AG2](https://github.com/ag2ai/ag2)
|
|
109
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
|
+
|
|
110
132
|
[📚 Cite paper](#related-papers).
|
|
133
|
+
|
|
111
134
|
<!-- <p align="center">
|
|
112
135
|
<img src="https://github.com/ag2ai/ag2/blob/main/website/static/img/flaml.svg" width=200>
|
|
113
136
|
<br>
|
|
114
137
|
</p> -->
|
|
115
138
|
|
|
116
|
-
>
|
|
139
|
+
> **🎉 IMPORTANT**
|
|
117
140
|
>
|
|
118
|
-
>
|
|
141
|
+
> 🔥 🎉 **Nov 11, 2024:** We are evolving AutoGen into **AG2**!
|
|
119
142
|
> A new organization [AG2AI](https://github.com/ag2ai) is created to host the development of AG2 and related projects with open governance. Check [AG2's new look](https://ag2.ai/).
|
|
120
143
|
>
|
|
121
144
|
> We invite collaborators from all organizations and individuals to join the development.
|
|
122
145
|
|
|
123
|
-
|
|
124
|
-
:fire: :tada: AG2 is available via `pyautogen` (or its alias `autogen` or `ag2`) on PyPI!
|
|
146
|
+
🔥 🎉 AG2 is available via `pyautogen` (or its alias `autogen` or `ag2`) on PyPI!
|
|
125
147
|
|
|
126
148
|
```
|
|
127
149
|
pip install pyautogen
|
|
@@ -130,62 +152,63 @@ pip install pyautogen
|
|
|
130
152
|
📄 **License:**
|
|
131
153
|
We adopt the Apache 2.0 license from v0.3. This enhances our commitment to open-source collaboration while providing additional protections for contributors and users alike.
|
|
132
154
|
|
|
155
|
+
🎉 May 29, 2024: DeepLearning.ai launched a new short course [AI Agentic Design Patterns with AutoGen](https://www.deeplearning.ai/short-courses/ai-agentic-design-patterns-with-autogen), made in collaboration with Microsoft and Penn State University, and taught by AutoGen creators [Chi Wang](https://github.com/sonichi) and [Qingyun Wu](https://github.com/qingyun-wu).
|
|
133
156
|
|
|
134
|
-
|
|
157
|
+
🎉 May 24, 2024: Foundation Capital published an article on [Forbes: The Promise of Multi-Agent AI](https://www.forbes.com/sites/joannechen/2024/05/24/the-promise-of-multi-agent-ai/?sh=2c1e4f454d97) and a video [AI in the Real World Episode 2: Exploring Multi-Agent AI and AutoGen with Chi Wang](https://www.youtube.com/watch?v=RLwyXRVvlNk).
|
|
135
158
|
|
|
136
|
-
|
|
159
|
+
🎉 May 13, 2024: [The Economist](https://www.economist.com/science-and-technology/2024/05/13/todays-ai-models-are-impressive-teams-of-them-will-be-formidable) published an article about multi-agent systems (MAS) following a January 2024 interview with [Chi Wang](https://github.com/sonichi).
|
|
137
160
|
|
|
138
|
-
|
|
161
|
+
🎉 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/).
|
|
139
162
|
|
|
140
|
-
|
|
163
|
+
<!-- 🎉 Apr 26, 2024: [AutoGen.NET](https://docs.ag2.ai/ag2-for-net/) is available for .NET developers! -->
|
|
141
164
|
|
|
142
|
-
|
|
165
|
+
🎉 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).
|
|
143
166
|
|
|
144
|
-
|
|
167
|
+
🎉 Mar 3, 2024: What's new in AutoGen? 📰[Blog](https://docs.ag2.ai/blog/2024-03-03-AutoGen-Update); 📺[Youtube](https://www.youtube.com/watch?v=j_mtwQiaLGU).
|
|
145
168
|
|
|
146
|
-
|
|
169
|
+
<!-- 🎉 Mar 1, 2024: the first AutoGen multi-agent experiment on the challenging [GAIA](https://huggingface.co/spaces/gaia-benchmark/leaderboard) benchmark achieved the No. 1 accuracy in all the three levels. -->
|
|
147
170
|
|
|
148
|
-
<!--
|
|
171
|
+
<!-- 🎉 Jan 30, 2024: AutoGen is highlighted by Peter Lee in Microsoft Research Forum [Keynote](https://t.co/nUBSjPDjqD). -->
|
|
149
172
|
|
|
150
|
-
|
|
173
|
+
🎉 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).
|
|
151
174
|
|
|
152
|
-
|
|
175
|
+
<!-- 🔥 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). -->
|
|
153
176
|
|
|
154
|
-
<!--
|
|
177
|
+
<!-- 🔥 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. -->
|
|
155
178
|
|
|
156
|
-
|
|
179
|
+
🎉 Nov 8, 2023: AutoGen is selected into [Open100: Top 100 Open Source achievements](https://www.benchcouncil.org/evaluation/opencs/annual.html) 35 days after spinoff from [FLAML](https://github.com/microsoft/FLAML).
|
|
157
180
|
|
|
158
|
-
|
|
181
|
+
<!-- 🎉 Nov 6, 2023: AutoGen is mentioned by Satya Nadella in a [fireside chat](https://youtu.be/0pLBvgYtv6U). -->
|
|
159
182
|
|
|
160
|
-
<!--
|
|
183
|
+
<!-- 🎉 Nov 1, 2023: AutoGen is the top trending repo on GitHub in October 2023. -->
|
|
161
184
|
|
|
162
|
-
<!--
|
|
185
|
+
<!-- 🎉 Oct 03, 2023: AutoGen spins off from [FLAML](https://github.com/microsoft/FLAML) on GitHub. -->
|
|
163
186
|
|
|
164
|
-
<!--
|
|
187
|
+
<!-- 🎉 Aug 16: Paper about AutoGen on [arxiv](https://arxiv.org/abs/2308.08155). -->
|
|
165
188
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
:tada: Mar 29, 2023: AutoGen is first created in [FLAML](https://github.com/microsoft/FLAML).
|
|
189
|
+
🎉 Mar 29, 2023: AutoGen is first created in [FLAML](https://github.com/microsoft/FLAML).
|
|
169
190
|
|
|
170
191
|
<!--
|
|
171
|
-
|
|
192
|
+
🔥 FLAML is highlighted in OpenAI's [cookbook](https://github.com/openai/openai-cookbook#related-resources-from-around-the-web).
|
|
172
193
|
|
|
173
|
-
|
|
194
|
+
🔥 [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).
|
|
174
195
|
|
|
175
|
-
|
|
196
|
+
🔥 FLAML supports Code-First AutoML & Tuning – Private Preview in [Microsoft Fabric Data Science](https://learn.microsoft.com/en-us/fabric/data-science/). -->
|
|
176
197
|
|
|
177
198
|
## What is AG2
|
|
178
199
|
|
|
179
|
-
AG2 (formerly AutoGen) is an open-source
|
|
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.
|
|
180
205
|
|
|
181
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.
|
|
182
207
|
|
|
183
208
|
The project is currently maintained by a [dynamic group of volunteers](MAINTAINERS.md) from several organizations. Contact project administrators Chi Wang and Qingyun Wu via [support@ag2.ai](mailto:support@ag2.ai) if you are interested in becoming a maintainer.
|
|
184
209
|
|
|
185
|
-
|
|
186
210
|

|
|
187
211
|
|
|
188
|
-
|
|
189
212
|
<p align="right" style="font-size: 14px; color: #555; margin-top: 20px;">
|
|
190
213
|
<a href="#readme-top" style="text-decoration: none; color: blue; font-weight: bold;">
|
|
191
214
|
↑ Back to Top ↑
|
|
@@ -197,15 +220,17 @@ The project is currently maintained by a [dynamic group of volunteers](MAINTAINE
|
|
|
197
220
|
-->
|
|
198
221
|
|
|
199
222
|
## Quickstart
|
|
223
|
+
|
|
200
224
|
The easiest way to start playing is
|
|
225
|
+
|
|
201
226
|
1. Click below to use the GitHub Codespace
|
|
202
227
|
|
|
203
|
-
|
|
228
|
+
[](https://codespaces.new/ag2ai/ag2?quickstart=1)
|
|
204
229
|
|
|
205
|
-
|
|
206
|
-
|
|
230
|
+
2. Copy OAI_CONFIG_LIST_sample to ./notebook folder, name to OAI_CONFIG_LIST, and set the correct configuration.
|
|
231
|
+
3. Start playing with the notebooks!
|
|
207
232
|
|
|
208
|
-
|
|
233
|
+
_NOTE_: OAI_CONFIG_LIST_sample lists gpt-4o as the default model. If you use a different model, you may need to revise various system prompts (especially if using weaker models like gpt-4o-mini). Proceed with caution when updating this default and be aware of additional risks related to alignment and safety.
|
|
209
234
|
|
|
210
235
|
<p align="right" style="font-size: 14px; color: #555; margin-top: 20px;">
|
|
211
236
|
<a href="#readme-top" style="text-decoration: none; color: blue; font-weight: bold;">
|
|
@@ -217,7 +242,7 @@ The easiest way to start playing is
|
|
|
217
242
|
|
|
218
243
|
### Option 1. Install and Run AG2 in Docker
|
|
219
244
|
|
|
220
|
-
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/
|
|
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).
|
|
221
246
|
|
|
222
247
|
### Option 2. Install AG2 Locally
|
|
223
248
|
|
|
@@ -240,7 +265,7 @@ Find more options in [Installation](https://docs.ag2.ai/docs/Installation#option
|
|
|
240
265
|
|
|
241
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).
|
|
242
267
|
|
|
243
|
-
For LLM inference configurations, check the [FAQs](https://docs.ag2.ai/docs/
|
|
268
|
+
For LLM inference configurations, check the [FAQs](https://docs.ag2.ai/docs/user-guide/advanced-concepts/llm-configuration-deep-dive#llm-configuration).
|
|
244
269
|
|
|
245
270
|
<p align="right" style="font-size: 14px; color: #555; margin-top: 20px;">
|
|
246
271
|
<a href="#readme-top" style="text-decoration: none; color: blue; font-weight: bold;">
|
|
@@ -264,7 +289,7 @@ For [example](https://github.com/ag2ai/ag2/blob/main/test/twoagent.py),
|
|
|
264
289
|
```python
|
|
265
290
|
from autogen import AssistantAgent, UserProxyAgent, config_list_from_json
|
|
266
291
|
# Load LLM inference endpoints from an env variable or a file
|
|
267
|
-
# See https://docs.ag2.ai/docs/
|
|
292
|
+
# See https://docs.ag2.ai/docs/user-guide/advanced-concepts/llm-configuration-deep-dive#llm-configuration
|
|
268
293
|
# and OAI_CONFIG_LIST_sample
|
|
269
294
|
config_list = config_list_from_json(env_or_file="OAI_CONFIG_LIST")
|
|
270
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>'},]
|
|
@@ -285,7 +310,6 @@ The figure below shows an example conversation flow with AG2.
|
|
|
285
310
|
|
|
286
311
|

|
|
287
312
|
|
|
288
|
-
|
|
289
313
|
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.
|
|
290
314
|
Please find more [code examples](https://docs.ag2.ai/docs/Examples#automated-multi-agent-chat) for this feature.
|
|
291
315
|
|
|
@@ -297,7 +321,7 @@ Please find more [code examples](https://docs.ag2.ai/docs/Examples#automated-mul
|
|
|
297
321
|
|
|
298
322
|
## Enhanced LLM Inferences
|
|
299
323
|
|
|
300
|
-
AG2 also helps maximize the utility out of the expensive LLMs such as gpt-4o. It offers
|
|
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.
|
|
301
325
|
|
|
302
326
|
<!-- For example, you can optimize generations by LLM with your own tuning data, success metrics, and budgets.
|
|
303
327
|
|
|
@@ -347,7 +371,6 @@ In addition, you can find:
|
|
|
347
371
|
Explore detailed implementations with sample code and applications to help you get started with AG2.
|
|
348
372
|
[Cookbook](https://github.com/ag2ai/build-with-ag2)
|
|
349
373
|
|
|
350
|
-
|
|
351
374
|
## Related Papers
|
|
352
375
|
|
|
353
376
|
[AutoGen](https://arxiv.org/abs/2308.08155)
|
|
@@ -397,6 +420,7 @@ Explore detailed implementations with sample code and applications to help you g
|
|
|
397
420
|
```
|
|
398
421
|
|
|
399
422
|
[StateFlow](https://arxiv.org/abs/2403.11322)
|
|
423
|
+
|
|
400
424
|
```
|
|
401
425
|
@article{wu2024stateflow,
|
|
402
426
|
title={StateFlow: Enhancing LLM Task-Solving through State-Driven Workflows},
|
|
@@ -413,6 +437,7 @@ Explore detailed implementations with sample code and applications to help you g
|
|
|
413
437
|
</p>
|
|
414
438
|
|
|
415
439
|
## Contributors Wall
|
|
440
|
+
|
|
416
441
|
<a href="https://github.com/ag2ai/ag2/graphs/contributors">
|
|
417
442
|
<img src="https://contrib.rocks/image?repo=ag2ai/ag2&max=204" />
|
|
418
443
|
</a>
|
|
@@ -424,13 +449,14 @@ Explore detailed implementations with sample code and applications to help you g
|
|
|
424
449
|
</p>
|
|
425
450
|
|
|
426
451
|
## License
|
|
452
|
+
|
|
427
453
|
This project is licensed under the [Apache License, Version 2.0 (Apache-2.0)](./LICENSE).
|
|
428
454
|
|
|
429
455
|
This project is a spin-off of [AutoGen](https://github.com/microsoft/autogen) and contains code under two licenses:
|
|
430
456
|
|
|
431
|
-
- The original code from https://github.com/microsoft/autogen is licensed under the MIT License.
|
|
457
|
+
- The original code from https://github.com/microsoft/autogen is licensed under the MIT License. See the [LICENSE_original_MIT](./license_original/LICENSE_original_MIT) file for details.
|
|
432
458
|
|
|
433
|
-
- Modifications and additions made in this fork are licensed under the Apache License, Version 2.0. See the
|
|
459
|
+
- Modifications and additions made in this fork are licensed under the Apache License, Version 2.0. See the [LICENSE](./LICENSE) file for the full license text.
|
|
434
460
|
|
|
435
461
|
We have documented these changes for clarity and to ensure transparency with our user and contributor community. For more details, please see the [NOTICE](./NOTICE.md) file.
|
|
436
462
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
ag2-0.7.4.dist-info/LICENSE,sha256=GEFQVNayAR-S_rQD5l8hPdgvgyktVdy4Bx5-v90IfRI,11384
|
|
2
|
+
ag2-0.7.4.dist-info/METADATA,sha256=5L83PTBSkLzPINIFeT9IWdCuVwtEDcFyKZKuSHjKz9E,23621
|
|
3
|
+
ag2-0.7.4.dist-info/NOTICE.md,sha256=07iCPQGbth4pQrgkSgZinJGT5nXddkZ6_MGYcBd2oiY,1134
|
|
4
|
+
ag2-0.7.4.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
5
|
+
ag2-0.7.4.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
6
|
+
ag2-0.7.4.dist-info/RECORD,,
|
ag2-0.7.2b1.dist-info/RECORD
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
ag2-0.7.2b1.dist-info/LICENSE,sha256=GEFQVNayAR-S_rQD5l8hPdgvgyktVdy4Bx5-v90IfRI,11384
|
|
2
|
-
ag2-0.7.2b1.dist-info/METADATA,sha256=7ZwoIkY-SwQjnTfT1B2voYAOJugWWHzJlaeyTcYG1nA,22268
|
|
3
|
-
ag2-0.7.2b1.dist-info/NOTICE.md,sha256=TULNuhWsvthPOmCQKQg38lPz67H-3niV2U-IzIh2vt8,1092
|
|
4
|
-
ag2-0.7.2b1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
5
|
-
ag2-0.7.2b1.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
6
|
-
ag2-0.7.2b1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|