AutoGen Studio and AutoGen v0.4 [Status Updates, Discussion] #4208
Replies: 30 comments 112 replies
-
Just wanted to say, this looks pretty amazing! |
Beta Was this translation helpful? Give feedback.
-
Attempting to create a team gives me an error reading: "POST /api/teams/ HTTP/1.1" 422 Unprocessable Entity. I made a clean Conda environment and installed ags v.0.4.0.dev37 with pip. Do you have any idea what might cause this? |
Beta Was this translation helpful? Give feedback.
-
Can you help with how to define a ollama model on the json structure please |
Beta Was this translation helpful? Give feedback.
-
I have pip install dev38 I am trying to use AzureOpenAIChatCompletionClient what all env varibale need to set or is there any way to set in studio directly? |
Beta Was this translation helpful? Give feedback.
-
As mentioned at https://www.linkedin.com/posts/dibiavictor_multiagentsystems-multiagentbook-autogen-activity-7271945150925299712-4g_u?utm_source=share&utm_medium=member_desktop I'd like to beta-test and provide feedback - Is there anything additional to the instructions already stated here? If I've got the "old one" in place, any recommendation on how to properly "clean up" previously? One additional question, is there a timeline where this will be "released"? |
Beta Was this translation helpful? Give feedback.
-
This is so cool, I missed this update as I was working on the forked repository build-with-ag2. What are the plans on moving Studio to its own Repo? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
You mentioned on X that "If you’d like to beta test and provide feedback (or are already beta testing) , comment on the GitHub discussion thread in the comment section below," so I'm very interested as I just came across your research scrolling through NeurIPS2024 posts |
Beta Was this translation helpful? Give feedback.
-
Suggestion: on project/task executions... make Orcehstrator plans moderated/editable in interface by human in the loop. |
Beta Was this translation helpful? Give feedback.
-
done: #4764
…On Thu, Dec 19, 2024 at 1:35 PM Victor Dibia ***@***.***> wrote:
I agree with Eric. There are several good ideas that could be come
patterns that we support in AgentChat.
- A planner orchestrator (iterates with users on a plan before
exploring the task to a set of fixed teams)
- An automatic orchestrator (iterates on plan with user, defines teams
automatically etc)
—
Reply to this email directly, view it on GitHub
<#4208 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXSWEMPW3BI2FKXW4HFA4CL2GMGWLAVCNFSM6AAAAABR2JZNSCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNRSGA4DCNA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
The progress in v0.4 of autogen is excellent. Or I would like to know if there is a guide for deploying a multi-AI agent system developed with autogen v0.4 in the cloud. |
Beta Was this translation helpful? Give feedback.
-
Hi team, |
Beta Was this translation helpful? Give feedback.
-
Given the stable v0.4 is released today, I am looking forward to trying the updated Autogen Studio for v0.4 - any updates on the progress? the target date for the official first stable release? thanks! |
Beta Was this translation helpful? Give feedback.
-
@victordibia I install the autogenstudio 0.4.0.1 Seems agentstudio is still pulling dev dependencies |
Beta Was this translation helpful? Give feedback.
-
Hi @victordibia, We are using AutoGen Studio but didn't find where to configure api key for Azure Open AI. There is no api key field in team builder configuration panel: Switching code view and added api key manually as below, it still didn't work: Also the setting page is always in status of "Work in process...": |
Beta Was this translation helpful? Give feedback.
-
Hi there - I looked and searched everywhere in the v0.4 docs however I couldn't find anything related to AWS Bedrock support. For v0.2 there is comprehensive documentation around non-OpenAI models: https://microsoft.github.io/autogen/0.2/docs/topics/non-openai-models/cloud-bedrock/ Can you shed some light on this? I couldn't find it in the extensions either. Does this mean there is no AWS Bedrock support for v0.4 at the moment? |
Beta Was this translation helpful? Give feedback.
-
I have successfully run AutoGen Studio 0.4.3. However, the GUI for building a team is currently difficult to handle in the window, especially when adding agents. Additionally, I couldn't install it on Python 3.13 but it works on Python 3.12. Could you please provide a tutorial to start working on the new interface? |
Beta Was this translation helpful? Give feedback.
-
Is there a way I can add inter-team coordination? Also, the document says "Agents communicate through asynchronous messages, supporting both event-driven and request/response interaction pattern". Is there a way to define this explicitly in the AGS? Basically a proper workflow to control the agent coordination would be very useful. |
Beta Was this translation helpful? Give feedback.
-
Hi, is it possible to see message history log in AutoGen Studio? I'm learning how it works, but without understanding what is happening during team work it is difficult to craft system messages for selector and agents. |
Beta Was this translation helpful? Give feedback.
-
With the latest version in the main branch, custom galleries are not persisted. For example, if I opened a browser and added a new gallery, the new gallery is not visible if I open the same link in another browser. By default, teams, runs, and messages are written into autogen0404.db, but the info of gallery is not. Am I missing any configuration, or is it an issue? |
Beta Was this translation helpful? Give feedback.
-
@victordibia I have been working to connect Autogen-Studio to Azure OpenAI, used the following setting for the model which always gives a 404-error. The endpoint and API-Key are working, I checked that in separate python code in the same VENV. Any idea what is wrong? What is working perfectly now is a local Ollama-LLM via this setting I found here in the comments: By the way: Great new video on AutogenStudio, more of that please 👍 |
Beta Was this translation helpful? Give feedback.
-
1- In v0.4.1.5, if I close the browser, my tools disappear. Why would that be? I just recreated 20 tools, and if I open a new browser, they are gone. Where is the Gallery getting saved? It used to be in the database, but now it's nowhere to be found. 2- In previous versions, when a user ran a task, everything was saved in the user folder. Now, nothing gets saved there anymore. Where does AGS save the user files now? |
Beta Was this translation helpful? Give feedback.
-
Hi @victordibia , were you able to find the cause of the issue I am facing? |
Beta Was this translation helpful? Give feedback.
-
Hi There, I am trying to setup Azure SQL Server as the database for the Autogen Studio, however the database initialization (Table creation) is not happening. Below is the command I am trying to run While it got connected to the database and gives the following log: INFO: Loading environment from 'C:\Users\Dh.autogenstudio\temp_env_vars.env' While I am trying to access the UI, I am getting the below error Also, there are no database tables got created Kindly guide me here ! |
Beta Was this translation helpful? Give feedback.
-
With the current database schema upgrade, I am trying to run it locally with spqlite and gives the error 2025-03-04 21:38:51.826 | ERROR | autogenstudio.database.schema_manager:upgrade_schema:452 - Schema upgrade failed: (sqlite3.OperationalError) near "ALTER": syntax error |
Beta Was this translation helpful? Give feedback.
-
@victordibia I'm seeing this locally as well fwiw, I tried digging into it for a couple of hours but haven't been able to figure it out. |
Beta Was this translation helpful? Give feedback.
-
@victordibia Is the new AGS Python package still scheduled for release today? thx |
Beta Was this translation helpful? Give feedback.
-
Hi I saw your mail now . I'm waiting for the technician to restore my
fibre connection, Italian greyhounds pups , it can be done offline , has it
been resolved yet?
…On Tue, Mar 4, 2025, 6:35 PM Dharanidharan M ***@***.***> wrote:
*write code to confirm you can indeed connect to azure sql*
`
from loguru import logger
import pyodbc
def connect_to_azure_sql():
"""Simple function to establish connection to Azure SQL Database."""
try:
# Connection parameters
server = ""
database = ""
username = ""
password = ""
# Create connection string for pyodbc
conn_str = (
f'DRIVER={{ODBC Driver 17 for SQL Server}};'
f'SERVER={server};'
f'DATABASE={database};'
f'UID={username};'
f'PWD={password};'
f'Encrypt=yes;TrustServerCertificate=no;'
)
# Attempt connection
logger.info(f"Connecting to Azure SQL Database on {server}...")
conn = pyodbc.connect(conn_str)
# Test connection with a simple query
cursor = conn.cursor()
cursor.execute("SELECT @@Version")
version = cursor.fetchone()[0]
logger.info(f"Connection successful! SQL Server version: {version}")
# Return the connection if successful
return conn
except Exception as e:
logger.error(f"Connection failed: {str(e)}")
return None
if __name__ == "__main__":
# Set up logging format
logger.remove()
logger.add(lambda msg: print(msg, end=""), colorize=True, format="<green>{time:YYYY-MM-DD HH:mm:ss}</green> | <level>{level: <8}</level> | <cyan>{message}</cyan>")
# Try to connect
connection = connect_to_azure_sql()
# Check if connection was successful
if connection:
logger.success("Database connection established successfully!")
connection.close()
logger.info("Connection closed")
else:
logger.error("Failed to connect to the database")
`
The above code is able to connect to the database
*the dbmanager in Ags uses sql model . So write code to verify you can
connect to azure sql with sqlmodel and a db uri*
`
import os
from loguru import logger
import pyodbc
from sqlmodel import SQLModel, create_engine, Session, text
def connect_to_azure_sql_sqlmodel():
"""Simple function to establish connection to Azure SQL Database using SQLModel."""
try:
# Connection parameters
server = ""
database = ""
username = ""
password = ""
# Create connection string for pyodbc
driver = '{ODBC Driver 17 for SQL Server}'
conn_str = (
f'DRIVER={driver};'
f'SERVER={server};'
f'DATABASE={database};'
f'UID={username};'
f'PWD={password};'
f'Encrypt=yes;TrustServerCertificate=no;'
)
# Construct the SQLModel engine URI
engine_uri = f"mssql+pyodbc:///?odbc_connect={conn_str}"
# Create the engine
engine = create_engine(engine_uri, echo=False) # echo=True for debugging SQL queries
# Test the connection by creating tables (if they don't exist) and running a simple query
SQLModel.metadata.create_all(engine)
with Session(engine) as session:
# Execute a simple query
result = session.execute(text("SELECT @@Version")).scalar()
logger.info(f"SQL Server version: {result}")
logger.info("SQLModel connection to Azure SQL Database successful!")
return True
except Exception as e:
logger.error(f"SQLModel connection failed: {str(e)}")
return False
if __name__ == "__main__":
# Set up logging format
logger.remove()
logger.add(lambda msg: print(msg, end=""), colorize=True, format="<green>{time:YYYY-MM-DD HH:mm:ss}</green> | <level>{level: <8}</level> | <cyan>{message}</cyan>")
# Try to connect using SQLModel
if connect_to_azure_sql_sqlmodel():
logger.success("SQLModel Database connection established successfully!")
else:
logger.error("SQLModel Failed to connect to the database")
`
The above code also got executed successfully
*Write debug print logs in debmanager to trace errors*
2025-03-04 22:00:51 | INFO | Initializing database manager...
2025-03-04 22:00:56 | INFO | Testing database connection...
2025-03-04 22:00:56 | INFO | Connected to SQL Server version: Microsoft SQL Azure (RTM) - 12.0.2000.8
Feb 9 2025 20:57:20
Copyright (C) 2024 Microsoft Corporation
2025-03-04 22:00:56 | INFO | Initializing database schema...
2025-03-04 22:00:57 | INFO | Checking database schema...
2025-03-04 22:00:57 | INFO | Resetting migrations and updating to current schema...
2025-03-04 22:00:57 | INFO | Cleared alembic directory
2025-03-04 22:00:57 | INFO | Reset alembic version
2025-03-04 22:00:57 | INFO | Alembic initialization complete
2025-03-04 22:00:58 | ERROR | Failed to generate revision: (pyodbc.InterfaceError) ('28000', "[28000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Login failed for user 'shellpoc'. (18456) (SQLDriverConnect); [28000] [Microsoft][ODBC Driver 17 for SQL Server]Invalid connection string attribute (0); [28000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Login failed for user 'shellpoc'. (18456); [28000] [Microsoft][ODBC Driver 17 for SQL Server]Invalid connection string attribute (0)")
(Background on this error at: https://sqlalche.me/e/20/rvf5)
2025-03-04 22:00:58 | ERROR | Failed to generate new migration
2025-03-04 22:00:58 | ERROR | Error initializing database: Database upgrade failed
It is getting failed during the Generate revision of schema_manager.py
Please help here!
—
Reply to this email directly, view it on GitHub
<#4208 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACUEYCLW2FQGFSBWZTBPRYL2SXI33AVCNFSM6AAAAABR2JZNSCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMZZGA4TAMY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
For Discord assistance, I always use ***@***.*** to assist
. Il look resolve the email conflict , probably something I did on my side
.
In the meantime il send a solution or two , let me review the code ,
please use the other email for discord help
Always happy to help 😊
Kind Regards
Yusuf rawat
…On Thu, Mar 6, 2025, 7:17 AM Victor Dibia ***@***.***> wrote:
I have an initial fix here ...
#5845 <#5845> ..
You can test at pip install autogenstudio==0.4.2.dev0
Happy to get feedback
—
Reply to this email directly, view it on GitHub
<#4208 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACUEYCLRBN7B44KPOBWYCK32S7K65AVCNFSM6AAAAABR2JZNSCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENBQHE3DENA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi all,
We are rewriting AutoGen Studio to take advantage of new features coming in AutoGen 0.4, as outlined in our readme. The goal of AutoGen Studio remains to create a tool to rapidly prototype, and debug multi-agent applications. This post updates developers on our progress and provides information for those interested in contributing or testing.
Installation Options
You can find the current version's code in autogen/python/packages/autogen-studio. There are two ways to install:
run the app
The command above tells AGS to store files in the new directory (avoiding conflicts with previous versions)
if you would like to force autoupgrade your db (still experimental)
Development Status
While we're still in early development, you can view our planned features here.
Some Key Improvements
The new AutoGen v0.4 API introduces asynchronous operation, which enables seamless message passing between agents. This enhancement particularly benefits end-user applications by adding several crucial features that were difficult to implement in the previous version:
New Features Already Available:
Features Coming Soon:
See the roadmap here for planned features. Some include:
We welcome your feedback and contributions if you've had a chance to try the new version.
Beta Was this translation helpful? Give feedback.
All reactions