ag2

AG2 (formerly AutoGen): The Open-Source AgentOS. Join us at: https://discord.gg/pAbnFJrkgZ

https://github.com/ag2ai/ag2

Science Score: 64.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Committers with academic emails
    4 of 403 committers (1.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.1%) to scientific vocabulary

Keywords from Contributors

agents langchain application multi-agents vector-database rag llamaindex fine-tuning transformer mlops
Last synced: 6 months ago · JSON representation ·

Repository

AG2 (formerly AutoGen): The Open-Source AgentOS. Join us at: https://discord.gg/pAbnFJrkgZ

Basic Info
  • Host: GitHub
  • Owner: ag2ai
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Homepage: https://ag2.ai
  • Size: 1.59 GB
Statistics
  • Stars: 3,475
  • Watchers: 70
  • Forks: 448
  • Open Issues: 233
  • Releases: 0
Created over 1 year ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License Citation Notice Maintainers

README.md



Downloads

📚 Documentation | 💡 Examples | 🤝 Contributing | 📝 Cite paper | 💬 Join Discord

AG2 was evolved from AutoGen. Fully open-sourced. We invite collaborators from all organizations to contribute.

AG2: Open-Source AgentOS for AI Agents

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. 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.

The project is currently maintained by a dynamic group of volunteers from several organizations. Contact project administrators Chi Wang and Qingyun Wu via support@ag2.ai if you are interested in becoming a maintainer.

Table of contents

Getting started

For a step-by-step walk through of AG2 concepts and code, see Basic Concepts in our documentation.

Installation

AG2 requires Python version >= 3.10, < 3.14. AG2 is available via ag2 (or its alias autogen) on PyPI.

bash pip install ag2[openai]

Minimal dependencies are installed by default. You can install extra options based on the features you need.

Setup your API keys

To keep your LLM dependencies neat we recommend using the OAI_CONFIG_LIST file to store your API keys.

You can use the sample file OAI_CONFIG_LIST_sample as a template.

json [ { "model": "gpt-5", "api_key": "<your OpenAI API key here>" } ]

Run your first agent

Create a script or a Jupyter Notebook and run your first agent.

```python from autogen import AssistantAgent, UserProxyAgent, LLMConfig

llmconfig = LLMConfig.fromjson(path="OAICONFIGLIST")

assistant = AssistantAgent("assistant", llmconfig=llmconfig)

userproxy = UserProxyAgent("userproxy", codeexecutionconfig={"workdir": "coding", "usedocker": False})

userproxy.initiatechat(assistant, message="Plot a chart of NVDA and TESLA stock price change YTD.")

This initiates an automated chat between the two agents to solve the task

```

Example applications

We maintain a dedicated repository with a wide range of applications to help you get started with various use cases or check out our collection of jupyter notebooks as a starting point.

Introduction of different agent concepts

We have several agent concepts in AG2 to help you build your AI agents. We introduce the most common ones here.

  • Conversable Agent: Agents that are able to send messages, receive messages and generate replies using GenAI models, non-GenAI tools, or human inputs.
  • Human in the loop: Add human input to the conversation
  • Orchestrating multiple agents: Users can orchestrate multiple agents with built-in conversation patterns such as swarms, group chats, nested chats, sequential chats or customize the orchestration by registering custom reply methods.
  • Tools: Programs that can be registered, invoked and executed by agents
  • Advanced Concepts: AG2 supports more concepts such as structured outputs, rag, code execution, etc.

Conversable agent

The ConversableAgent is the fundamental building block of AG2, designed to enable seamless communication between AI entities. This core agent type handles message exchange and response generation, serving as the base class for all agents in the framework.

In the example below, we'll create a simple information validation workflow with two specialized agents that communicate with each other:

Note: Before running this code, make sure to set your OPENAI_API_KEY as an environment variable. This example uses gpt-4o-mini, but you can replace it with any other model supported by AG2.

```python

1. Import ConversableAgent class

from autogen import ConversableAgent, LLMConfig

2. Define our LLM configuration for OpenAI's GPT-4o mini

uses the OPENAIAPIKEY environment variable

llmconfig = LLMConfig({ "apitype": "openai", "model": "gpt-5-mini", })

3. Create our LLM agent

assistant = ConversableAgent( name="assistant", systemmessage="You are an assistant that responds concisely.", llmconfig=llm_config, )

factchecker = ConversableAgent( name="factchecker", systemmessage="You are a fact-checking assistant.", llmconfig=llm_config, )

4. Start the conversation

assistant.initiatechat( recipient=factchecker, message="What is AG2?", max_turns=2 ) ```

Human in the loop

Human oversight is crucial for many AI workflows, especially when dealing with critical decisions, creative tasks, or situations requiring expert judgment. AG2 makes integrating human feedback seamless through its human-in-the-loop functionality. You can configure how and when human input is solicited using the human_input_mode parameter:

  • ALWAYS: Requires human input for every response
  • NEVER: Operates autonomously without human involvement
  • TERMINATE: Only requests human input to end conversations

For convenience, AG2 provides the specialized UserProxyAgent class that automatically sets human_input_mode to ALWAYS and supports code execution:

Note: Before running this code, make sure to set your OPENAI_API_KEY as an environment variable. This example uses gpt-4o-mini, but you can replace it with any other model supported by AG2.

```python

1. Import ConversableAgent and UserProxyAgent classes

from autogen import ConversableAgent, UserProxyAgent, LLMConfig

2. Define our LLM configuration for OpenAI's GPT-4o mini

uses the OPENAIAPIKEY environment variable

llmconfig = LLMConfig({ "apitype": "openai", "model": "gpt-5-mini", })

3. Create our LLM agent

assistant = ConversableAgent( name="assistant", systemmessage="You are a helpful assistant.", llmconfig=llm_config, )

4. Create a human agent with manual input mode

human = ConversableAgent( name="human", humaninputmode="ALWAYS" )

or

human = UserProxyAgent( name="human", codeexecutionconfig={"workdir": "coding", "usedocker": False}, )

5. Start the chat

human.initiate_chat( recipient=assistant, message="Hello! What's 2 + 2?" )

```

Orchestrating multiple agents

AG2 enables sophisticated multi-agent collaboration through flexible orchestration patterns, allowing you to create dynamic systems where specialized agents work together to solve complex problems.

The framework offers both custom orchestration and several built-in collaboration patterns including GroupChat and Swarm.

Here's how to implement a collaborative team for curriculum development using GroupChat:

Note: Before running this code, make sure to set your OPENAI_API_KEY as an environment variable. This example uses gpt-4o-mini, but you can replace it with any other model supported by AG2.

```python from autogen import ConversableAgent, GroupChat, GroupChatManager, LLMConfig

Put your key in the OPENAIAPIKEY environment variable

llmconfig = LLMConfig({ "apitype": "openai", "model": "gpt-5-mini", })

plannermessage = """You are a classroom lesson agent. Given a topic, write a lesson plan for a fourth grade class. Use the following format: Lesson plan title <learningobjectives>Key learning objectives """

reviewer_message = """You are a classroom lesson reviewer. You compare the lesson plan to the fourth grade curriculum and provide a maximum of 3 recommended changes. Provide only one round of reviews to a lesson plan. """

1. Add a separate 'description' for our planner and reviewer agents

planner_description = "Creates or revises lesson plans."

reviewerdescription = """Provides one round of reviews to a lesson plan for the lessonplanner to revise."""

lessonplanner = ConversableAgent( name="planneragent", systemmessage=plannermessage, description=plannerdescription, llmconfig=llm_config, )

lessonreviewer = ConversableAgent( name="revieweragent", systemmessage=reviewermessage, description=reviewerdescription, llmconfig=llm_config, )

2. The teacher's system message can also be used as a description, so we don't define it

teacher_message = """You are a classroom teacher. You decide topics for lessons and work with a lesson planner. and reviewer to create and finalise lesson plans. When you are happy with a lesson plan, output "DONE!". """

teacher = ConversableAgent( name="teacheragent", systemmessage=teachermessage, # 3. Our teacher can end the conversation by saying DONE! isterminationmsg=lambda x: "DONE!" in (x.get("content", "") or "").upper(), llmconfig=llm_config, )

4. Create the GroupChat with agents and selection method

groupchat = GroupChat( agents=[teacher, lessonplanner, lessonreviewer], speakerselectionmethod="auto", messages=[], )

5. Our GroupChatManager will manage the conversation and uses an LLM to select the next agent

manager = GroupChatManager( name="groupmanager", groupchat=groupchat, llmconfig=llm_config, )

6. Initiate the chat with the GroupChatManager as the recipient

teacher.initiate_chat( recipient=manager, message="Today, let's introduce our kids to the solar system." ) ```

When executed, this code creates a collaborative system where the teacher initiates the conversation, and the lesson planner and reviewer agents work together to create and refine a lesson plan. The GroupChatManager orchestrates the conversation, selecting the next agent to respond based on the context of the discussion.

For workflows requiring more structured processes, explore the Group Chat pattern in the detailed documentation.

Tools

Agents gain significant utility through tools as they provide access to external data, APIs, and functionality.

Note: Before running this code, make sure to set your OPENAI_API_KEY as an environment variable. This example uses gpt-4o-mini, but you can replace it with any other model supported by AG2.

```python from datetime import datetime from typing import Annotated

from autogen import ConversableAgent, register_function, LLMConfig

Put your key in the OPENAIAPIKEY environment variable

llmconfig = LLMConfig({ "apitype": "openai", "model": "gpt-5-mini", })

1. Our tool, returns the day of the week for a given date

def getweekday(datestring: Annotated[str, "Format: YYYY-MM-DD"]) -> str: date = datetime.strptime(date_string, "%Y-%m-%d") return date.strftime("%A")

2. Agent for determining whether to run the tool

dateagent = ConversableAgent( name="dateagent", systemmessage="You get the day of the week for a given date.", llmconfig=llm_config, )

3. And an agent for executing the tool

executoragent = ConversableAgent( name="executoragent", humaninputmode="NEVER", llmconfig=llmconfig, )

4. Registers the tool with the agents, the description will be used by the LLM

registerfunction( getweekday, caller=dateagent, executor=executoragent, description="Get the day of the week for a given date", )

5. Two-way chat ensures the executor agent follows the suggesting agent

chatresult = executoragent.initiatechat( recipient=dateagent, message="I was born on the 25th of March 1995, what day was it?", max_turns=2, )

print(chatresult.chathistory[-1]["content"]) ```

Advanced agentic design patterns

AG2 supports more advanced concepts to help you build your AI agent workflows. You can find more information in the documentation.

Announcements

🔥 🎉 Nov 11, 2024: We are evolving AutoGen into AG2! A new organization AG2AI is created to host the development of AG2 and related projects with open governance. Check AG2's new look.

📄 License: 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.

🎉 May 29, 2024: DeepLearning.ai launched a new short course AI Agentic Design Patterns with AutoGen, made in collaboration with Microsoft and Penn State University, and taught by AutoGen creators Chi Wang and Qingyun Wu.

🎉 May 24, 2024: Foundation Capital published an article on Forbes: The Promise of Multi-Agent AI and a video AI in the Real World Episode 2: Exploring Multi-Agent AI and AutoGen with Chi Wang.

🎉 Apr 17, 2024: Andrew Ng cited AutoGen in The Batch newsletter and What's next for AI agentic workflows at Sequoia Capital's AI Ascent (Mar 26).

More Announcements

Contributors Wall

Code style and linting

This project uses pre-commit hooks to maintain code quality. Before contributing:

  1. Install pre-commit:

bash pip install pre-commit pre-commit install

  1. The hooks will run automatically on commit, or you can run them manually:

bash pre-commit run --all-files

Related papers

Cite the project

@software{AG2_2024, author = {Chi Wang and Qingyun Wu and the AG2 Community}, title = {AG2: Open-Source AgentOS for AI Agents}, year = {2024}, url = {https://github.com/ag2ai/ag2}, note = {Available at https://docs.ag2.ai/}, version = {latest} }

License

This project is licensed under the Apache License, Version 2.0 (Apache-2.0).

This project is a spin-off of AutoGen and contains code under two licenses:

  • The original code from https://github.com/microsoft/autogen is licensed under the MIT License. See the LICENSEoriginalMIT file for details.

  • Modifications and additions made in this fork are licensed under the Apache License, Version 2.0. See the LICENSE file for the full license text.

We have documented these changes for clarity and to ensure transparency with our user and contributor community. For more details, please see the NOTICE file.

Owner

  • Name: ag2ai
  • Login: ag2ai
  • Kind: organization

Citation (CITATION.cff)

preferred-citation:
  type: inproceedings
  authors:
  - family-names: "Wu"
    given-names: "Qingyun"
    affiliation: "Penn State University, University Park PA USA"
  - family-names: "Bansal"
    given-names: "Gargan"
    affiliation: "Microsoft Research, Redmond WA USA"
  - family-names: "Zhang"
    given-names: "Jieyu"
    affiliation: "University of Washington, Seattle WA USA"
  - family-names: "Wu"
    given-names: "Yiran"
    affiliation: "Penn State University, University Park PA USA"
  - family-names: "Li"
    given-names: "Beibin"
    affiliation: "Microsoft Research, Redmond WA USA"
  - family-names: "Zhu"
    given-names: "Eric"
    affiliation: "Microsoft Research, Redmond WA USA"
  - family-names: "Jiang"
    given-names: "Li"
    affiliation: "Microsoft Corporation"
  - family-names: "Zhang"
    given-names: "Shaokun"
    affiliation: "Penn State University, University Park PA USA"
  - family-names: "Zhang"
    given-names: "Xiaoyun"
    affiliation: "Microsoft Corporation, Redmond WA USA"
  - family-names: "Liu"
    given-names: "Jiale"
    affiliation: "Xidian University, Xi'an, China"
  - family-names: "Awadallah"
    given-names: "Ahmed Hassan"
    affiliation: "Microsoft Research, Redmond WA USA"
  - family-names: "White"
    given-names: "Ryen W"
    affiliation: "Microsoft Research, Redmond WA USA"
  - family-names: "Burger"
    given-names: "Doug"
    affiliation: "Microsoft Research, Redmond WA USA"
  - family-names: "Wang"
    given-names: "Chi"
    affiliation: "Microsoft Research, Redmond WA USA"
  booktitle: "ArXiv preprint arXiv:2308.08155"
  title: "AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation Framework"
  year: 2023

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 3,734
  • Total Committers: 403
  • Avg Commits per committer: 9.266
  • Development Distribution Score (DDS): 0.896
Past Year
  • Commits: 2,388
  • Committers: 210
  • Avg Commits per committer: 11.371
  • Development Distribution Score (DDS): 0.853
Top Committers
Name Email Commits
Chi Wang w****i@m****m 390
Mark Sze m****k@s****y 352
Kumaran Rajendhiran k****n@a****i 289
Davor Runje d****r@a****i 248
Qingyun Wu q****7@g****m 222
Harish Mohan Raj h****h@a****i 219
Robert Jambrecic r****t@a****i 176
Tvrtko Sternak s****t@g****m 107
skzhang1 s****9@g****m 92
HRUSHIKESH DOKALA 9****9 78
Jack Gerrits j****s 78
Li Jiang b****i@g****m 77
Xiaoyun Zhang b****g@g****m 72
Xueqing Liu l****9 72
LeoLjl j****9@p****u 70
Yiran Wu 3****a 63
Eric Zhu e****u 46
afourney a****o@m****m 45
Eric-Shang s****t@o****m 45
AgentGenie p****i@g****m 32
Anonymous-submission-repo h****1@1****m 29
dependabot[bot] 4****] 27
BabyCNM 8****M 25
gagb g****b 23
Wael Karkoub w****6@g****m 20
Chi Wang (MSR) c****w@m****m 20
Victor Dibia v****a@m****m 17
Aristo 6****t 16
Beibin Li B****i 16
Lazaros Toumanidis l****m@p****m 16
and 373 more...

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 808
  • Total pull requests: 1,607
  • Average time to close issues: 6 days
  • Average time to close pull requests: 3 days
  • Total issue authors: 130
  • Total pull request authors: 151
  • Average comments per issue: 0.36
  • Average comments per pull request: 1.13
  • Merged pull requests: 1,201
  • Bot issues: 0
  • Bot pull requests: 76
Past Year
  • Issues: 808
  • Pull requests: 1,607
  • Average time to close issues: 6 days
  • Average time to close pull requests: 3 days
  • Issue authors: 130
  • Pull request authors: 151
  • Average comments per issue: 0.36
  • Average comments per pull request: 1.13
  • Merged pull requests: 1,201
  • Bot issues: 0
  • Bot pull requests: 76
Top Authors
Issue Authors
  • harishmohanraj (140)
  • kumaranvpl (95)
  • davorrunje (82)
  • rjambrecic (82)
  • marklysze (68)
  • sternakt (51)
  • sonichi (24)
  • qingyun-wu (18)
  • giorgossideris (16)
  • AgentGenie (12)
  • priyansh4320 (10)
  • lazToum (9)
  • marufaytekin (6)
  • dcieslak19973 (6)
  • davorinrusevljan (6)
Pull Request Authors
  • marklysze (278)
  • harishmohanraj (213)
  • kumaranvpl (158)
  • davorrunje (127)
  • rjambrecic (101)
  • sternakt (69)
  • dependabot[bot] (69)
  • qingyun-wu (46)
  • giorgossideris (38)
  • AgentGenie (28)
  • LeoLjl (20)
  • allisonwhilden (19)
  • skzhang1 (18)
  • priyansh4320 (17)
  • Merlinvt (16)
Top Labels
Issue Labels
enhancement (177) bug (166) documentation (154) roadmap (31) infra:build (27) testing (10) duplicate (9) swarm (9) help from community wanted (9) realtime (7) infra:runtime (7) wontfix (7) infra:start (7) good first issue (5) reasoning-agent (5) alt-models (5) dependencies (4) invalid (2) telemetry (2) help wanted (1) agents:websurferagent (1) multimodal (1) security (1) agents:commsagent (1) agents:docagent (1) RAG (1) o1 (1) tool use (1) community (1) structured output (1)
Pull Request Labels
documentation (95) dependencies (69) python (58) enhancement (43) bug (40) swarm (33) bump (21) testing (16) alt-models (9) agents:commsagent (7) agents:docagent (6) reasoning-agent (6) tool use (4) github_actions (4) RFC (3) review required (3) RAG (3) roadmap (3) interoperability (2) help from community wanted (2) telemetry (1) ui (1) o1 (1) LLMConfig (1) javascript (1) version (1)

Packages

  • Total packages: 5
  • Total downloads:
    • pypi 422,854 last-month
  • Total dependent packages: 1
    (may contain duplicates)
  • Total dependent repositories: 4
    (may contain duplicates)
  • Total versions: 210
  • Total maintainers: 6
pypi.org: autogen

Alias package for ag2

  • Versions: 99
  • Dependent Packages: 1
  • Dependent Repositories: 4
  • Downloads: 145,827 Last month
Rankings
Downloads: 2.5%
Average: 6.7%
Dependent repos count: 7.5%
Dependent packages count: 10.0%
Maintainers (4)
Last synced: 6 months ago
pypi.org: ag2studio

AG2 Studio

  • Homepage: https://github.com/ag2ai/ag2
  • Documentation: https://ag2studio.readthedocs.io/
  • License: Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright ag2ai organization, i.e., https://github.com/ag2ai, owners. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
  • Latest release: 0.0.1rc5
    published about 1 year ago
  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 128 Last month
Rankings
Dependent packages count: 10.0%
Forks count: 24.6%
Average: 33.2%
Stargazers count: 41.6%
Dependent repos count: 56.4%
Maintainers (1)
Last synced: 6 months ago
pypi.org: ag2

A programming framework for agentic AI

  • Versions: 61
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 276,335 Last month
Rankings
Dependent packages count: 10.0%
Average: 33.3%
Dependent repos count: 56.5%
Maintainers (3)
Last synced: 6 months ago
pypi.org: cmbagent-autogen

A programming framework for agentic AI

  • Versions: 23
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 529 Last month
Rankings
Dependent packages count: 10.3%
Average: 34.0%
Dependent repos count: 57.8%
Maintainers (1)
Last synced: 6 months ago
pypi.org: seed-autogen

A programming framework for agentic AI

  • Versions: 22
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 35 Last month
Rankings
Dependent packages count: 9.8%
Forks count: 31.9%
Average: 34.6%
Stargazers count: 41.8%
Dependent repos count: 55.1%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/build.yml actions
  • actions/checkout v4 composite
  • actions/github-script v6 composite
  • actions/setup-python v5 composite
  • codecov/codecov-action v3 composite
  • dorny/paths-filter v2 composite
.github/workflows/contrib-graph-rag-tests.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • codecov/codecov-action v3 composite
  • falkordb/falkordb edge docker
.github/workflows/contrib-openai.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • codecov/codecov-action v3 composite
.github/workflows/contrib-tests.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • codecov/codecov-action v3 composite
  • ankane/pgvector * docker
  • mongodb/mongodb-atlas-local latest docker
.github/workflows/deploy-website.yml actions
  • actions/checkout v4 composite
  • actions/setup-node v4 composite
  • actions/setup-python v5 composite
  • peaceiris/actions-gh-pages v3 composite
.github/workflows/dotnet-build.yml actions
  • actions/checkout v4 composite
  • actions/download-artifact v4 composite
  • actions/setup-dotnet v4 composite
  • actions/setup-python v5 composite
  • actions/upload-artifact v4 composite
  • dorny/paths-filter v2 composite
.github/workflows/dotnet-release.yml actions
  • actions/checkout v4 composite
  • actions/setup-dotnet v4 composite
  • actions/setup-python v5 composite
.github/workflows/lfs-check.yml actions
  • actions/checkout v4 composite
.github/workflows/openai.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • codecov/codecov-action v3 composite
  • redis * docker
.github/workflows/pre-commit.yml actions
  • actions/cache v4 composite
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • pre-commit/action v3.0.1 composite
.github/workflows/python-package.yml actions
  • actions/checkout v4 composite
.github/workflows/type-check.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
.devcontainer/Dockerfile docker
  • mcr.microsoft.com/vscode/devcontainers/python 3.10 build
.devcontainer/dev/Dockerfile docker
  • python 3.11-slim-bookworm build
.devcontainer/full/Dockerfile docker
  • python 3.11-slim-bookworm build
website/package.json npm
  • @docusaurus/module-type-aliases ^3.1.1 development
  • @docusaurus/types ^3.1.1 development
  • postcss ^8.4 development
  • @docusaurus/core ^3.1.1
  • @docusaurus/plugin-client-redirects ^3.1.1
  • @docusaurus/preset-classic ^3.1.1
  • @easyops-cn/docusaurus-search-local ^0.21.1
  • @mdx-js/react ^3.0.0
  • @svgr/webpack ^5.5.0
  • antd ^5.11.5
  • clsx ^1.1.1
  • docusaurus-plugin-clarity ^2.1.0
  • file-loader ^6.2.0
  • hast-util-is-element 1.1.0
  • joi 17.6.0
  • minimatch 3.0.5
  • postcss-preset-env ^9.3.0
  • react ^18.2.0
  • react-dom ^18.2.0
  • rehype-katex 4
  • remark-math 3
  • trim ^0.0.3
  • url-loader ^4.1.1
website/yarn.lock npm
  • 1347 dependencies
dotnet/sample/AutoGen.Anthropic.Samples/AutoGen.Anthropic.Samples.csproj nuget
  • FluentAssertions $(FluentAssertionVersion)
dotnet/sample/AutoGen.BasicSamples/AutoGen.BasicSample.csproj nuget
  • FluentAssertions $(FluentAssertionVersion)
  • Microsoft.SemanticKernel.Plugins.Web $(SemanticKernelExperimentalVersion)
dotnet/sample/AutoGen.Gemini.Sample/AutoGen.Gemini.Sample.csproj nuget
  • FluentAssertions $(FluentAssertionVersion)
dotnet/sample/AutoGen.Ollama.Sample/AutoGen.Ollama.Sample.csproj nuget
  • FluentAssertions $(FluentAssertionVersion)
dotnet/sample/AutoGen.OpenAI.Sample/AutoGen.OpenAI.V1.Sample.csproj nuget
  • FluentAssertions $(FluentAssertionVersion)
dotnet/sample/AutoGen.SemanticKernel.Sample/AutoGen.SemanticKernel.Sample.csproj nuget
  • Microsoft.SemanticKernel.Plugins.Web $(SemanticKernelExperimentalVersion)
dotnet/sample/AutoGen.WebAPI.Sample/AutoGen.WebAPI.Sample.csproj nuget
dotnet/src/AutoGen/AutoGen.csproj nuget
dotnet/src/AutoGen.Anthropic/AutoGen.Anthropic.csproj nuget
dotnet/src/AutoGen.AzureAIInference/AutoGen.AzureAIInference.csproj nuget
  • Azure.AI.Inference $(AzureAIInferenceVersion)
dotnet/src/AutoGen.Core/AutoGen.Core.csproj nuget
  • JsonSchema.Net.Generation $(JsonSchemaVersion)
  • Microsoft.Bcl.AsyncInterfaces 8.0.0
  • System.Memory.Data 8.0.0
dotnet/src/AutoGen.DotnetInteractive/AutoGen.DotnetInteractive.csproj nuget
  • Microsoft.DotNet.Interactive $(MicrosoftDotnetInteractive)
  • Microsoft.DotNet.Interactive.Jupyter $(MicrosoftDotnetInteractive)
  • Microsoft.DotNet.Interactive.PackageManagement $(MicrosoftDotnetInteractive)
dotnet/src/AutoGen.Gemini/AutoGen.Gemini.csproj nuget
  • Google.Cloud.AIPlatform.V1 $(GoogleCloudAPIPlatformVersion)
dotnet/src/AutoGen.LMStudio/AutoGen.LMStudio.csproj nuget
dotnet/src/AutoGen.Mistral/AutoGen.Mistral.csproj nuget
dotnet/src/AutoGen.Ollama/AutoGen.Ollama.csproj nuget
dotnet/src/AutoGen.OpenAI.V1/AutoGen.OpenAI.V1.csproj nuget
  • Azure.AI.OpenAI $(AzureOpenAIVersion)
dotnet/src/AutoGen.SemanticKernel/AutoGen.SemanticKernel.csproj nuget
  • Microsoft.SemanticKernel $(SemanticKernelVersion)
  • Microsoft.SemanticKernel.Agents.Core $(SemanticKernelExperimentalVersion)
dotnet/src/AutoGen.SourceGenerator/AutoGen.SourceGenerator.csproj nuget
  • Microsoft.CodeAnalysis.CSharp.Workspaces $(MicrosoftCodeAnalysisVersion)
  • Newtonsoft.Json 13.0.1
  • System.CodeDom $(SystemCodeDomVersion)
dotnet/src/AutoGen.WebAPI/AutoGen.WebAPI.csproj nuget
dotnet/test/AutoGen.Anthropic.Tests/AutoGen.Anthropic.Tests.csproj nuget
dotnet/test/AutoGen.AotCompatibility.Tests/AutoGen.AotCompatibility.Tests.csproj nuget
dotnet/test/AutoGen.AzureAIInference.Tests/AutoGen.AzureAIInference.Tests.csproj nuget
dotnet/test/AutoGen.DotnetInteractive.Tests/AutoGen.DotnetInteractive.Tests.csproj nuget
  • Microsoft.PowerShell.SDK $(PowershellSDKVersion)
dotnet/test/AutoGen.Gemini.Tests/AutoGen.Gemini.Tests.csproj nuget
dotnet/test/AutoGen.Mistral.Tests/AutoGen.Mistral.Tests.csproj nuget
dotnet/test/AutoGen.Ollama.Tests/AutoGen.Ollama.Tests.csproj nuget
dotnet/test/AutoGen.OpenAI.V1.Tests/AutoGen.OpenAI.V1.Tests.csproj nuget
dotnet/test/AutoGen.SemanticKernel.Tests/AutoGen.SemanticKernel.Tests.csproj nuget
dotnet/test/AutoGen.SourceGenerator.Tests/AutoGen.SourceGenerator.Tests.csproj nuget
dotnet/test/AutoGen.Test.Share/AutoGen.Tests.Share.csproj nuget
dotnet/test/AutoGen.Tests/AutoGen.Tests.csproj nuget
dotnet/test/AutoGen.WebAPI.Tests/AutoGen.WebAPI.Tests.csproj nuget
  • Microsoft.AspNetCore.TestHost $(MicrosoftASPNETCoreVersion)
pyproject.toml pypi
setup.py pypi
  • Disallowing *
  • diskcache *
  • docker *
  • flaml *
  • numpy *
  • numpy >=1.17.0,<2
  • openai >=1.3
  • packaging *
  • pydantic >=1.10,<3,
  • python-dotenv *
  • termcolor *
  • tiktoken *
autogen/agentchat/contrib/captainagent/tools/requirements.txt pypi
  • arxiv *
  • easyocr *
  • markdownify *
  • openai-whisper *
  • pandas *
  • pymupdf *
  • python-pptx *
  • scipy *
  • sentence-transformers *
  • wikipedia-api *