Installation
There are two ways to install AutoGen Studio: from PyPI or from source. We recommend installing from PyPI unless you plan to modify the source code.Install from PyPI (Recommended)
We recommend using a virtual environment (e.g., venv) to avoid conflicts with existing Python packages. With Python 3.10 or newer active in your virtual environment, use pip to install AutoGen Studio:Install from Source
This approach requires familiarity with building interfaces in React and Git LFS.
Install Git LFS
AutoGen Studio uses Git Large File Storage (LFS) for managing image and other large files.Then set up git-lfs:
Build the UI
Windows users may need alternative commands to build the frontend. See the README for details.
Running the Application
Once installed, run the web UI by entering the following in your terminal:http://localhost:8081/ to use AutoGen Studio.
CLI Options
AutoGen Studio accepts several parameters to customize the application:Specify the host address
Specify the port number
Directory where app files (database, generated files) are stored
Database URI for backend storage. Examples:
- SQLite:
sqlite:///database.sqlite - PostgreSQL:
postgresql+psycopg://user:password@localhost/dbname
database.sqlite in the --appdir directory.Enable auto-reloading when code changes are made
Upgrade the database schema to the latest version
Example Commands
AutoGen Studio Lite
AutoGen Studio Lite provides a lightweight way to quickly prototype and experiment with AI agent teams without the full database setup. It’s designed for rapid experimentation.CLI Usage
Launch Studio Lite from the command line:Programmatic Usage
Use Studio Lite directly in your Python code:Database Configuration
AutoGen Studio uses SQLModel (Pydantic + SQLAlchemy) for its database layer. This provides:- Entity linking (skills, models, agents, and workflows are linked via association tables)
- Support for multiple database backends via SQLAlchemy dialects
Supported Databases
SQLite
Default option, file-based database
PostgreSQL
Production-ready relational database
MySQL
Popular open-source database
Oracle / SQL Server
Enterprise database support
Environment Variables
Place a.env file in your --appdir directory to set environment variables for the app. This file will be automatically loaded when the application starts.
.env
Project Structure
The AutoGen Studio codebase is organized as follows:autogenstudio/- Backend classes and web API (FastAPI)frontend/- Web UI built with Gatsby and TailwindCSS
Key Features
Visual Agent Builder
Define and configure AI agents through an intuitive interface
Workflow Composition
Compose multiple agents into workflows to accomplish complex tasks
Skills Enhancement
Enhance agents with custom skills and capabilities
Interactive Sessions
Interact with agents in real-time to test and refine behavior
Troubleshooting
Git LFS Issues
If you encounter build errors related to image formats when installing from source:Database Migration
To upgrade your database schema to the latest version:Contributing
We welcome contributions to AutoGen Studio! To contribute:- Review the AutoGen contribution guide
- Check the roadmap for current priorities
- Use the tag
proj-studiofor issues, questions, and PRs related to Studio - Submit a pull request with your contribution
Resources
GitHub Repository
View source code and contribute
AutoGen Framework
Learn about the underlying AutoGen framework
FAQs
Find answers to common questions
PyPI Package
View package on PyPI