From d18e3bfbda0aff8d71c91cd803eef38ae0518df0 Mon Sep 17 00:00:00 2001 From: AG2AI-Admin Date: Fri, 18 Jul 2025 15:05:13 -0400 Subject: [PATCH] Migrate from pyautogen to ag2 library --- _integrations/README.md | 4 ++-- autogen_create_edit_software/README.md | 2 +- autogen_memgpt_lmstudio/autogen_memgpt_lmstudio.py | 2 +- .../raw.githubusercontent.com_README.md_4ca99c20 | 12 ++++++------ 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/_integrations/README.md b/_integrations/README.md index 0d9d16d..1d9e955 100644 --- a/_integrations/README.md +++ b/_integrations/README.md @@ -3,10 +3,10 @@ One thing I think is somewhat missing from Autogen is API Integration with other ## Imports Needed: ### Airtable -- pyautogen +- ag2 - pyairtable ### Reddit -- pyautogen +- ag2 - praw (this stands for **Python Reddit API Wrapper**) ## .env diff --git a/autogen_create_edit_software/README.md b/autogen_create_edit_software/README.md index 59346ed..7eab35b 100644 --- a/autogen_create_edit_software/README.md +++ b/autogen_create_edit_software/README.md @@ -2,7 +2,7 @@ I think a realistic version of an AI Engineer is to also allow it to edit already existing code. You won't always be creating new code the way you want, and you will probably have to adhere to how existing code is written. ## Imports Needed: -- pyautogen +- ag2 ## YouTube Link: - [Accelerate Software Creation with AI Agents: Quick Tutorial](https://youtu.be/tT-I0ImNcQ0) diff --git a/autogen_memgpt_lmstudio/autogen_memgpt_lmstudio.py b/autogen_memgpt_lmstudio/autogen_memgpt_lmstudio.py index f534ebc..e11b637 100644 --- a/autogen_memgpt_lmstudio/autogen_memgpt_lmstudio.py +++ b/autogen_memgpt_lmstudio/autogen_memgpt_lmstudio.py @@ -46,7 +46,7 @@ config_list = [ { "model": "NULL", # not needed - # NOTE: on versions of pyautogen < 0.2.0 use "api_base", and also uncomment "api_type" + # NOTE: on versions of ag2 < 0.2.0 use "api_base", and also uncomment "api_type" # "api_base": "http://localhost:1234/v1", # "api_type": "open_ai", "base_url": "http://localhost:1234/v1", diff --git a/autogen_rag_chroma/tmp/chromadb/raw.githubusercontent.com_README.md_4ca99c20 b/autogen_rag_chroma/tmp/chromadb/raw.githubusercontent.com_README.md_4ca99c20 index 8595bb6..442738c 100644 --- a/autogen_rag_chroma/tmp/chromadb/raw.githubusercontent.com_README.md_4ca99c20 +++ b/autogen_rag_chroma/tmp/chromadb/raw.githubusercontent.com_README.md_4ca99c20 @@ -5,13 +5,13 @@ AutoGen Logo -![Python Version](https://img.shields.io/badge/3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue) [![PyPI version](https://img.shields.io/badge/PyPI-v0.2.34-blue.svg)](https://pypi.org/project/pyautogen/) +![Python Version](https://img.shields.io/badge/3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue) [![PyPI version](https://img.shields.io/badge/PyPI-v0.2.34-blue.svg)](https://pypi.org/project/ag2/) [![NuGet version](https://badge.fury.io/nu/AutoGen.Core.svg)](https://badge.fury.io/nu/AutoGen.Core) -[![Downloads](https://static.pepy.tech/badge/pyautogen/week)](https://pepy.tech/project/pyautogen) +[![Downloads](https://static.pepy.tech/badge/ag2/week)](https://pepy.tech/project/ag2) [![Discord](https://img.shields.io/discord/1153072414184452236?logo=discord&style=flat)](https://aka.ms/autogen-dc) -[![Twitter](https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social&label=Follow%20%40pyautogen)](https://twitter.com/pyautogen) +[![Twitter](https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social&label=Follow%20%40ag2)](https://twitter.com/ag2) @@ -72,7 +72,7 @@ AutoGen was created out of collaborative [research](https://microsoft.github.io/ :tada: Dec 31, 2023: [AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation Framework](https://arxiv.org/abs/2308.08155) is selected by [TheSequence: My Five Favorite AI Papers of 2023](https://thesequence.substack.com/p/my-five-favorite-ai-papers-of-2023). - + @@ -135,14 +135,14 @@ Find detailed instructions for users [here](https://microsoft.github.io/autogen/ AutoGen requires **Python version >= 3.8, < 3.13**. It can be installed from pip: ```bash -pip install pyautogen +pip install ag2 ``` Minimal dependencies are installed without extra options. You can install extra options based on the feature you need. Find more options in [Installation](https://microsoft.github.io/autogen/docs/Installation#option-2-install-autogen-locally-using-virtual-environment).