Repository: microsoft/autogen
Pull request: PoC AGS dev container
## Why are these changes needed?

This is the first draft of a dev container for AGS. A dev container would streamline contributor onboarding and eliminate environment inconsistencies, reducing setup friction and "works on my machine" issues. This is crucial for AutoGen Studio's Python/React architecture, which requires multiple runtime environments. See #5025 

## Related issue number

Depends on #5008
Closes #5025 

## Checks

- [x] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
- [x] I've added tests (if relevant) corresponding to the changes introduced in this PR.
- [ ] I've made sure all auto checks have passed.


Problem statement:
Dev container for AutoGen Studio
### What feature would you like to be added?

Add a dev container configuration for AutoGen Studio to enable consistent development environments. The dev container should include:

* Python environment with core dependencies for AutoGen Studio development
* Node.js and npm for the frontend stack
* Pre-configured development tools and settings
* _Optionally_: Recommended vscode plugins

### Why is this needed?

A dev container would streamline contributor onboarding and eliminate environment inconsistencies, reducing setup friction and "works on my machine" issues. This is crucial for AutoGen Studio's Python/React architecture that requires multiple runtime environments.

Hints from issue discussion:

Commit message: Merge branch 'main' into poc-devcontainer

Patch to review:
diff --git a/python/packages/autogen-core/docs/src/user-guide/autogenstudio-user-guide/installation.md b/python/packages/autogen-core/docs/src/user-guide/autogenstudio-user-guide/installation.md
index 2ca91af58251..6bd5fec9f4bc 100644
--- a/python/packages/autogen-core/docs/src/user-guide/autogenstudio-user-guide/installation.md
+++ b/python/packages/autogen-core/docs/src/user-guide/autogenstudio-user-guide/installation.md
@@ -57,7 +57,7 @@ conda deactivate
 
 ``````
 
-## Install Using pip (Recommended)
+## Install from PyPi (Recommended)
 
 You can install AutoGen Studio using pip, the Python package manager.
 
@@ -65,19 +65,17 @@ You can install AutoGen Studio using pip, the Python package manager.
 pip install -U autogenstudio
 ```
 
-### Install from Source\*\*
+## Install from Source
 
-> Note: This approach requires some familiarity with building interfaces in React.
+_Note: This approach requires some familiarity with building interfaces in React._
 
-If you prefer to install from source, ensure you have Python 3.10+ and Node.js (version above 14.15.0) installed. Here's how you get started:
+You have two options for installing from source: manually or using a dev container.
 
-- Clone the AutoGen Studio repository and install its Python dependencies:
+### A) Install from source manually
 
-  ```bash
-  pip install -e .
-  ```
-
-- Navigate to the `samples/apps/autogen-studio/frontend` directory, install dependencies, and build the UI:
+1. Ensure you have Python 3.10+ and Node.js (version above 14.15.0) installed.
+2. Clone the AutoGen Studio repository and install its Python dependencies using `pip install -e .`
+3. Navigate to the `python/packages/autogen-studio/frontend` directory, install the dependencies, and build the UI:
 
   ```bash
   npm install -g gatsby-cli
@@ -85,33 +83,39 @@ If you prefer to install from source, ensure you have Python 3.10+ and Node.js (
   cd frontend
   yarn install
   yarn build
+  # Windows users may need alternative commands to build the frontend:
+  gatsby clean && rmdir /s /q ..\\autogenstudio\\web\\ui 2>nul & (set \"PREFIX_PATH_VALUE=\" || ver>nul) && gatsby build --prefix-paths && xcopy /E /I /Y public ..\\autogenstudio\\web\\ui
   ```
 
-For Windows users, to build the frontend, you may need alternative commands to build the frontend.
-
-```bash
+### B)  Install from Source using a dev container
 
-  gatsby clean && rmdir /s /q ..\\autogenstudio\\web\\ui 2>nul & (set \"PREFIX_PATH_VALUE=\" || ver>nul) && gatsby build --prefix-paths && xcopy /E /I /Y public ..\\autogenstudio\\web\\ui
+1. Clone the AutoGen Studio repository.
+2. In vscode, open to the `python/packages/autogen-studio/` folder.
+3. Open in Container TODO: describe how
+4. Build the UI:
 
-```
+  ```bash
+  cd frontend
+  yarn build
+  ```
 
 ## Running the Application
 
-Once installed, run the web UI by entering the following in a terminal:
+Once installed, run the web UI by entering the following in your terminal:
 
 ```bash
-autogenstudio ui --port 8081 --appdir /path/to/folder
+autogenstudio ui --port 8081
 ```
 
-This will start the application on the specified port. Open your web browser and go to `http://localhost:8081/` to begin using AutoGen Studio.
+This command will start the application on the specified port. Open your web browser and go to <http://localhost:8081/> to use AutoGen Studio.
 
 AutoGen Studio also takes several parameters to customize the application:
 
-- `--host <host>` argument to specify the host address. By default, it is set to `localhost`.
-- `--appdir <appdir>` argument to specify the directory where the app files (e.g., database and generated user files) are stored. By default, it is set to the a `.autogenstudio` directory in the user's home directory.
+- `--host <host>` argument to specify the host address. By default, it is set to `localhost`. Y
+- `--appdir <appdir>` argument to specify the directory where the app files (e.g., database and generated user files) are stored. By default, it is set to the `.autogenstudio` directory in the user's home directory.
 - `--port <port>` argument to specify the port number. By default, it is set to `8080`.
-- `--upgrade-database` argument to force-upgrade it's internal database schema (assuming there are changes in the version you are installing). By default, it is set to `False`.
 - `--reload` argument to enable auto-reloading of the server when changes are made to the code. By default, it is set to `False`.
-- `--database-uri` argument to specify the database URI. Example values include `sqlite:///database.sqlite` for SQLite and `postgresql+psycopg://user:password@localhost/dbname` for PostgreSQL. If this is not specified, the database URI defaults to a `autogen.db` file in the `--appdir` directory.
+- `--database-uri` argument to specify the database URI. Example values include `sqlite:///database.sqlite` for SQLite and `postgresql+psycopg://user:password@localhost/dbname` for PostgreSQL. If this is not specified, the database URIL defaults to a `database.sqlite` file in the `--appdir` directory.
+- `--upgrade-database` argument to upgrade the database schema to the latest version. By default, it is set to `False`.
 
 Now that you have AutoGen Studio installed and running, you are ready to explore its capabilities, including defining and modifying agent workflows, interacting with agents and sessions, and expanding agent skills.
diff --git a/python/packages/autogen-studio/.devcontainer/devcontainer.json b/python/packages/autogen-studio/.devcontainer/devcontainer.json
new file mode 100644
index 000000000000..eb18ec25acaf
--- /dev/null
+++ b/python/packages/autogen-studio/.devcontainer/devcontainer.json
@@ -0,0 +1,45 @@
+// For format details, see https://aka.ms/devcontainer.json. For config options, see the
+// README at: https://github.com/devcontainers/templates/tree/main/src/python
+{
+	"name": "Python 3",
+	"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
+	"features": {
+		"ghcr.io/devcontainers/features/node:1": {
+			"nodeGypDependencies": true,
+			"installYarnUsingApt": true,
+			"version": "lts",
+			"pnpmVersion": "latest",
+			"nvmVersion": "latest"
+		}
+	},
+	"portsAttributes": {
+		"8000": {
+			"label": "Frontend develop"
+		},
+		"8081": {
+			"label": "AutoGen Studio"
+		},
+		"9000": {
+			"label": "Frontend serve (production)"
+		}
+	},
+
+	// Use 'postCreateCommand' to install dependencies after the container is created.
+	"postCreateCommand": "bash .devcontainer/post-create-command.sh",
+
+	// Performance optimizations for Windows
+	"mounts": [
+	"source=node_modules,target=/workspace/frontend/node_modules,type=volume",
+	"source=yarn-cache,target=/usr/local/share/.cache/yarn,type=volume"
+	],
+	// Add workspaceMount for better performance
+	"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
+	"workspaceFolder": "/workspace",
+
+	"containerEnv": {
+        "npm_config_cache": "/tmp/.npm",
+        "YARN_CACHE_FOLDER": "/tmp/.yarn-cache",
+        "PYTHONUNBUFFERED": "1",
+        "PIP_NO_CACHE_DIR": "false"
+	}
+}
diff --git a/python/packages/autogen-studio/.devcontainer/post-create-command.sh b/python/packages/autogen-studio/.devcontainer/post-create-command.sh
new file mode 100644
index 000000000000..bf9d1433e8cd
--- /dev/null
+++ b/python/packages/autogen-studio/.devcontainer/post-create-command.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+# Create the node_modules directory in the frontend folder if it doesn't exist
+# This ensures the directory exists before mounting
+mkdir -p frontend/node_modules
+
+# Change ownership of node_modules to vscode user
+# This prevents permission issues when installing packages
+sudo chown vscode frontend/node_modules
+
+pip install --upgrade pip gunicorn
+
+# Install the AutoGen Studio project in editable mode (-e flag)
+# This allows for development changes to be reflected immediately
+pip install -e .
+
+npm install -g gatsby-cli@latest
+
+# Install yarn dependencies with cache to improve performance
+cd frontend && \
+yarn install --cache-folder /tmp/.yarn-cache
\ No newline at end of file
diff --git a/python/packages/autogen-studio/README.md b/python/packages/autogen-studio/README.md
index e75d6d3d4309..c14aaca33b95 100644
--- a/python/packages/autogen-studio/README.md
+++ b/python/packages/autogen-studio/README.md
@@ -10,63 +10,68 @@ AutoGen Studio is an AutoGen-powered AI app (user interface) to help you rapidly
 Code for AutoGen Studio is on GitHub at [microsoft/autogen](https://github.com/microsoft/autogen/tree/main/python/packages/autogen-studio)
 
 > **Note**: AutoGen Studio is meant to help you rapidly prototype multi-agent workflows and demonstrate an example of end user interfaces built with AutoGen. It is not meant to be a production-ready app.
-
+>
 > [!WARNING]
 > AutoGen Studio is currently under active development and we are iterating quickly. Kindly consider that we may introduce breaking changes in the releases during the upcoming weeks, and also the `README` might be outdated. Please see the AutoGen Studio [docs](https://microsoft.github.io/autogen/docs/autogen-studio/getting-started) page for the most up-to-date information.
 
-**Updates**
+## Updates
 
 > Nov 14: AutoGen Studio is being rewritten to use the updated AutoGen 0.4.0 api AgentChat api.
+
 > April 17: AutoGen Studio database layer is now rewritten to use [SQLModel](https://sqlmodel.tiangolo.com/) (Pydantic + SQLAlchemy). This provides entity linking (skills, models, agents and workflows are linked via association tables) and supports multiple [database backend dialects](https://docs.sqlalchemy.org/en/20/dialects/) supported in SQLAlchemy (SQLite, PostgreSQL, MySQL, Oracle, Microsoft SQL Server). The backend database can be specified a `--database-uri` argument when running the application. For example, `autogenstudio ui --database-uri sqlite:///database.sqlite` for SQLite and `autogenstudio ui --database-uri postgresql+psycopg://user:password@localhost/dbname` for PostgreSQL.
 
-> March 12: Default directory for AutoGen Studio is now /home/<user>/.autogenstudio. You can also specify this directory using the `--appdir` argument when running the application. For example, `autogenstudio ui --appdir /path/to/folder`. This will store the database and other files in the specified directory e.g. `/path/to/folder/database.sqlite`. `.env` files in that directory will be used to set environment variables for the app.
+> March 12: Default directory for AutoGen Studio is now /home/< USER >/.autogenstudio. You can also specify this directory using the `--appdir` argument when running the application. For example, `autogenstudio ui --appdir /path/to/folder`. This will store the database and other files in the specified directory e.g. `/path/to/folder/database.sqlite`. `.env` files in that directory will be used to set environment variables for the app.
 
 Project Structure:
 
 - _autogenstudio/_ code for the backend classes and web api (FastAPI)
 - _frontend/_ code for the webui, built with Gatsby and TailwindCSS
 
-### Installation
+## 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.
 
-1.  **Install from PyPi**
-
-    We recommend using a virtual environment (e.g., conda) 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 PyPi (Recommended)
 
-    ```bash
-    pip install autogenstudio
-    ```
+We recommend using a virtual environment (e.g., conda) to avoid conflicts with existing Python packages. With Python 3.10 or newer active in your virtual environment, use pip to install AutoGen Studio:
 
-2.  **Install from Source**
-
-    > Note: This approach requires some familiarity with building interfaces in React.
+```bash
+pip install -U autogenstudio
+```
 
-    If you prefer to install from source, ensure you have Python 3.10+ and Node.js (version above 14.15.0) installed. Here's how you get started:
+### Install from Source
 
-    - Clone the AutoGen Studio repository and install its Python dependencies:
+_Note: This approach requires some familiarity with building interfaces in React._
 
-      ```bash
-      pip install -e .
-      ```
+You have two options for installing from source: manually or using a dev container.
 
-    - Navigate to the `python/packages/autogen-studio/frontend` directory, install dependencies, and build the UI:
+#### A) Install from source manually
 
-      ```bash
-      npm install -g gatsby-cli
-      npm install --global yarn
-      cd frontend
-      yarn install
-      yarn build
-      ```
+1. Ensure you have Python 3.10+ and Node.js (version above 14.15.0) installed.
+2. Clone the AutoGen Studio repository and install its Python dependencies using `pip install -e .`
+3. Navigate to the `python/packages/autogen-studio/frontend` directory, install the dependencies, and build the UI:
 
-For Windows users, to build the frontend, you may need alternative commands to build the frontend.
+  ```bash
+  npm install -g gatsby-cli
+  npm install --global yarn
+  cd frontend
+  yarn install
+  yarn build
+  # Windows users may need alternative commands to build the frontend:
+  gatsby clean && rmdir /s /q ..\\autogenstudio\\web\\ui 2>nul & (set \"PREFIX_PATH_VALUE=\" || ver>nul) && gatsby build --prefix-paths && xcopy /E /I /Y public ..\\autogenstudio\\web\\ui
+  ```
 
-```bash
+#### B)  Install from Source using a dev container
 
-  gatsby clean && rmdir /s /q ..\\autogenstudio\\web\\ui 2>nul & (set \"PREFIX_PATH_VALUE=\" || ver>nul) && gatsby build --prefix-paths && xcopy /E /I /Y public ..\\autogenstudio\\web\\ui
+1. Clone the AutoGen Studio repository.
+2. In vscode, open to the `python/packages/autogen-studio/` folder.
+3. Open in Container TODO: describe how
+4. Build the UI:
 
-```
+  ```bash
+  cd frontend
+  yarn build
+  ```
 
 ### Running the Application
 
@@ -76,12 +81,12 @@ Once installed, run the web UI by entering the following in your terminal:
 autogenstudio ui --port 8081
 ```
 
-This will start the application on the specified port. Open your web browser and go to `http://localhost:8081/` to begin using AutoGen Studio.
+This command will start the application on the specified port. Open your web browser and go to <http://localhost:8081/> to use AutoGen Studio.
 
 AutoGen Studio also takes several parameters to customize the application:
 
 - `--host <host>` argument to specify the host address. By default, it is set to `localhost`. Y
-- `--appdir <appdir>` argument to specify the directory where the app files (e.g., database and generated user files) are stored. By default, it is set to the a `.autogenstudio` directory in the user's home directory.
+- `--appdir <appdir>` argument to specify the directory where the app files (e.g., database and generated user files) are stored. By default, it is set to the `.autogenstudio` directory in the user's home directory.
 - `--port <port>` argument to specify the port number. By default, it is set to `8080`.
 - `--reload` argument to enable auto-reloading of the server when changes are made to the code. By default, it is set to `False`.
 - `--database-uri` argument to specify the database URI. Example values include `sqlite:///database.sqlite` for SQLite and `postgresql+psycopg://user:password@localhost/dbname` for PostgreSQL. If this is not specified, the database URIL defaults to a `database.sqlite` file in the `--appdir` directory.
@@ -89,27 +94,9 @@ AutoGen Studio also takes several parameters to customize the application:
 
 Now that you have AutoGen Studio installed and running, you are ready to explore its capabilities, including defining and modifying agent workflows, interacting with agents and sessions, and expanding agent skills.
 
-#### If running from source
-
-When running from source, you need to separately bring up the frontend server.
+#### Local frontend development server
 
-1. Open a separate terminal and change directory to the frontend
-
-```bash
-cd frontend
-```
-
-3. Create a `.env.development` file.
-
-```bash
-cp .env.default .env.development
-```
-
-3. Launch frontend server
-
-```bash
-npm run start
-```
+See `./frontend/README.md`
 
 ## Contribution Guide
 
diff --git a/python/packages/autogen-studio/frontend/README.md b/python/packages/autogen-studio/frontend/README.md
index 768541b0d06a..ee8b9fc00367 100644
--- a/python/packages/autogen-studio/frontend/README.md
+++ b/python/packages/autogen-studio/frontend/README.md
@@ -1,17 +1,22 @@
+# AutoGen Studio frontend
+
 ## 🚀 Running UI in Dev Mode
 
-Run the UI in dev mode (make changes and see them reflected in the browser with hotreloading):
+Run the UI in dev mode (make changes and see them reflected in the browser with hot reloading):
 
-- yarn install
-- yarn start
+```bash
+yarn install
+yarn start               # local development
+yarn start --host 0.0.0.0  # in container (enables external access)
+```
 
-This should start the server on port 8000.
+This should start the server on [port 8000](http://localhost:8000).
 
 ## Design Elements
 
-- **Gatsby**: The app is created in Gatsby. A guide on bootstrapping a Gatsby app can be found here - https://www.gatsbyjs.com/docs/quick-start/.
+- **Gatsby**: The app is created in Gatsby. A guide on bootstrapping a Gatsby app can be found here - <https://www.gatsbyjs.com/docs/quick-start/>.
   This provides an overview of the project file structure include functionality of files like `gatsby-config.js`, `gatsby-node.js`, `gatsby-browser.js` and `gatsby-ssr.js`.
-- **TailwindCSS**: The app uses TailwindCSS for styling. A guide on using TailwindCSS with Gatsby can be found here - https://tailwindcss.com/docs/guides/gatsby.https://tailwindcss.com/docs/guides/gatsby . This will explain the functionality in tailwind.config.js and postcss.config.js.
+- **TailwindCSS**: The app uses TailwindCSS for styling. A guide on using TailwindCSS with Gatsby can be found here - <https://tailwindcss.com/docs/guides/gatsby.https://tailwindcss.com/docs/guides/gatsby> . This will explain the functionality in tailwind.config.js and postcss.config.js.
 
 ## Modifying the UI, Adding Pages
 
@@ -19,9 +24,9 @@ The core of the app can be found in the `src` folder. To add pages, add a new fo
 
 Core logic for each component should be written in the `src/components` folder and then imported in pages as needed.
 
-## connecting to front end
+## Connecting to backend
 
-the front end makes request to the backend api and expects it at /api on localhost port 8081
+The frontend makes requests to the backend api and expects it at /api on localhost port 8081.
 
 ## setting env variables for the UI
 


Code review comments:
diff_hunk: @@ -57,61 +57,65 @@ conda deactivate
 
 ``````
 
-## Install Using pip (Recommended)
+## Install from PyPi (Recommended)
 
 You can install AutoGen Studio using pip, the Python package manager.
 
 ```bash
 pip install -U autogenstudio
 ```
 
-### Install from Source\*\*
+## Install from Source
 
-> Note: This approach requires some familiarity with building interfaces in React.
+_Note: This approach requires some familiarity with building interfaces in React._
 
-If you prefer to install from source, ensure you have Python 3.10+ and Node.js (version above 14.15.0) installed. Here's how you get started:
+You have two options for installing from source: manually or using a dev container.
 
-- Clone the AutoGen Studio repository and install its Python dependencies:
+### A) Install from source manually
 
-  ```bash
-  pip install -e .
-  ```
-
-- Navigate to the `samples/apps/autogen-studio/frontend` directory, install dependencies, and build the UI:
+1. Ensure you have Python 3.10+ and Node.js (version above 14.15.0) installed.
+2. Clone the AutoGen Studio repository and install its Python dependencies using `pip install -e .`
+3. Navigate to the `python/packages/autogen-studio/frontend` directory, install the dependencies, and build the UI:
 
   ```bash
   npm install -g gatsby-cli
   npm install --global yarn
   cd frontend
   yarn install
   yarn build
+  # Windows users may need alternative commands to build the frontend:
+  gatsby clean && rmdir /s /q ..\\autogenstudio\\web\\ui 2>nul & (set \"PREFIX_PATH_VALUE=\" || ver>nul) && gatsby build --prefix-paths && xcopy /E /I /Y public ..\\autogenstudio\\web\\ui
   ```
 
-For Windows users, to build the frontend, you may need alternative commands to build the frontend.
-
-```bash
+### B)  Install from Source using a dev container
 
-  gatsby clean && rmdir /s /q ..\\autogenstudio\\web\\ui 2>nul & (set \"PREFIX_PATH_VALUE=\" || ver>nul) && gatsby build --prefix-paths && xcopy /E /I /Y public ..\\autogenstudio\\web\\ui
+1. Clone the AutoGen Studio repository.
+2. In vscode, open to the `python/packages/autogen-studio/` folder.
+3. Open in Container TODO: describe how
+4. Build the UI:
 
-```
+  ```bash
+  cd frontend
+  yarn build
+  ```
 
 ## Running the Application
 
-Once installed, run the web UI by entering the following in a terminal:
+Once installed, run the web UI by entering the following in your terminal:
 
 ```bash
-autogenstudio ui --port 8081 --appdir /path/to/folder
+autogenstudio ui --port 8081
 ```
 
-This will start the application on the specified port. Open your web browser and go to `http://localhost:8081/` to begin using AutoGen Studio.
+This command will start the application on the specified port. Open your web browser and go to <http://localhost:8081/> to use AutoGen Studio.
 
 AutoGen Studio also takes several parameters to customize the application:
 
-- `--host <host>` argument to specify the host address. By default, it is set to `localhost`.
-- `--appdir <appdir>` argument to specify the directory where the app files (e.g., database and generated user files) are stored. By default, it is set to the a `.autogenstudio` directory in the user's home directory.
+- `--host <host>` argument to specify the host address. By default, it is set to `localhost`. Y
+- `--appdir <appdir>` argument to specify the directory where the app files (e.g., database and generated user files) are stored. By default, it is set to the `.autogenstudio` directory in the user's home directory.
 - `--port <port>` argument to specify the port number. By default, it is set to `8080`.
-- `--upgrade-database` argument to force-upgrade it's internal database schema (assuming there are changes in the version you are installing). By default, it is set to `False`.
 - `--reload` argument to enable auto-reloading of the server when changes are made to the code. By default, it is set to `False`.
-- `--database-uri` argument to specify the database URI. Example values include `sqlite:///database.sqlite` for SQLite and `postgresql+psycopg://user:password@localhost/dbname` for PostgreSQL. If this is not specified, the database URI defaults to a `autogen.db` file in the `--appdir` directory.
+- `--database-uri` argument to specify the database URI. Example values include `sqlite:///database.sqlite` for SQLite and `postgresql+psycopg://user:password@localhost/dbname` for PostgreSQL. If this is not specified, the database URIL defaults to a `database.sqlite` file in the `--appdir` directory.
path: python/packages/autogen-core/docs/src/user-guide/autogenstudio-user-guide/installation.md
text: @user1:
URIL -> URL

diff_hunk: @@ -57,61 +57,65 @@ conda deactivate
 
 ``````
 
-## Install Using pip (Recommended)
+## Install from PyPi (Recommended)
 
 You can install AutoGen Studio using pip, the Python package manager.
 
 ```bash
 pip install -U autogenstudio
 ```
 
-### Install from Source\*\*
+## Install from Source
 
-> Note: This approach requires some familiarity with building interfaces in React.
+_Note: This approach requires some familiarity with building interfaces in React._
 
-If you prefer to install from source, ensure you have Python 3.10+ and Node.js (version above 14.15.0) installed. Here's how you get started:
+You have two options for installing from source: manually or using a dev container.
 
-- Clone the AutoGen Studio repository and install its Python dependencies:
+### A) Install from source manually
 
-  ```bash
-  pip install -e .
-  ```
-
-- Navigate to the `samples/apps/autogen-studio/frontend` directory, install dependencies, and build the UI:
+1. Ensure you have Python 3.10+ and Node.js (version above 14.15.0) installed.
+2. Clone the AutoGen Studio repository and install its Python dependencies using `pip install -e .`
+3. Navigate to the `python/packages/autogen-studio/frontend` directory, install the dependencies, and build the UI:
 
   ```bash
   npm install -g gatsby-cli
   npm install --global yarn
   cd frontend
   yarn install
   yarn build
+  # Windows users may need alternative commands to build the frontend:
+  gatsby clean && rmdir /s /q ..\\autogenstudio\\web\\ui 2>nul & (set \"PREFIX_PATH_VALUE=\" || ver>nul) && gatsby build --prefix-paths && xcopy /E /I /Y public ..\\autogenstudio\\web\\ui
   ```
 
-For Windows users, to build the frontend, you may need alternative commands to build the frontend.
-
-```bash
+### B)  Install from Source using a dev container
 
-  gatsby clean && rmdir /s /q ..\\autogenstudio\\web\\ui 2>nul & (set \"PREFIX_PATH_VALUE=\" || ver>nul) && gatsby build --prefix-paths && xcopy /E /I /Y public ..\\autogenstudio\\web\\ui
+1. Clone the AutoGen Studio repository.
+2. In vscode, open to the `python/packages/autogen-studio/` folder.
+3. Open in Container TODO: describe how
path: python/packages/autogen-core/docs/src/user-guide/autogenstudio-user-guide/installation.md
text: @user1:
Consider adding instruction here .. e.g., an vscode extensions needed etc https://code.visualstudio.com/docs/devcontainers/tutorial  

@author:
@user1 I added a link to the tutorial. Once this is in, I would like to work on a larger refactoring of the docs and keep the READMEs and docs more in sync.

diff_hunk: @@ -57,61 +57,65 @@ conda deactivate
 
 ``````
 
-## Install Using pip (Recommended)
+## Install from PyPi (Recommended)
 
 You can install AutoGen Studio using pip, the Python package manager.
 
 ```bash
 pip install -U autogenstudio
 ```
 
-### Install from Source\*\*
+## Install from Source
 
-> Note: This approach requires some familiarity with building interfaces in React.
+_Note: This approach requires some familiarity with building interfaces in React._
 
-If you prefer to install from source, ensure you have Python 3.10+ and Node.js (version above 14.15.0) installed. Here's how you get started:
+You have two options for installing from source: manually or using a dev container.
 
-- Clone the AutoGen Studio repository and install its Python dependencies:
+### A) Install from source manually
 
-  ```bash
-  pip install -e .
-  ```
-
-- Navigate to the `samples/apps/autogen-studio/frontend` directory, install dependencies, and build the UI:
+1. Ensure you have Python 3.10+ and Node.js (version above 14.15.0) installed.
+2. Clone the AutoGen Studio repository and install its Python dependencies using `pip install -e .`
+3. Navigate to the `python/packages/autogen-studio/frontend` directory, install the dependencies, and build the UI:
 
   ```bash
   npm install -g gatsby-cli
   npm install --global yarn
   cd frontend
   yarn install
   yarn build
+  # Windows users may need alternative commands to build the frontend:
+  gatsby clean && rmdir /s /q ..\\autogenstudio\\web\\ui 2>nul & (set \"PREFIX_PATH_VALUE=\" || ver>nul) && gatsby build --prefix-paths && xcopy /E /I /Y public ..\\autogenstudio\\web\\ui
   ```
 
-For Windows users, to build the frontend, you may need alternative commands to build the frontend.
-
-```bash
+### B)  Install from Source using a dev container
 
-  gatsby clean && rmdir /s /q ..\\autogenstudio\\web\\ui 2>nul & (set \"PREFIX_PATH_VALUE=\" || ver>nul) && gatsby build --prefix-paths && xcopy /E /I /Y public ..\\autogenstudio\\web\\ui
+1. Clone the AutoGen Studio repository.
+2. In vscode, open to the `python/packages/autogen-studio/` folder.
+3. Open in Container TODO: describe how
+4. Build the UI:
 
-```
+  ```bash
+  cd frontend
+  yarn build
+  ```
 
 ## Running the Application
 
-Once installed, run the web UI by entering the following in a terminal:
+Once installed, run the web UI by entering the following in your terminal:
 
 ```bash
-autogenstudio ui --port 8081 --appdir /path/to/folder
+autogenstudio ui --port 8081
 ```
 
-This will start the application on the specified port. Open your web browser and go to `http://localhost:8081/` to begin using AutoGen Studio.
+This command will start the application on the specified port. Open your web browser and go to <http://localhost:8081/> to use AutoGen Studio.
 
 AutoGen Studio also takes several parameters to customize the application:
 
-- `--host <host>` argument to specify the host address. By default, it is set to `localhost`.
-- `--appdir <appdir>` argument to specify the directory where the app files (e.g., database and generated user files) are stored. By default, it is set to the a `.autogenstudio` directory in the user's home directory.
+- `--host <host>` argument to specify the host address. By default, it is set to `localhost`. Y
path: python/packages/autogen-core/docs/src/user-guide/autogenstudio-user-guide/installation.md
text: @user1:
Y seems out of place?