Skip to content

Commit 9f351c5

Browse files
authored
Minor Updates to AGS Docs (microsoft#5010)
* update docs * update docs * update ags documentation * update uv lock * update usage
1 parent 115fefa commit 9f351c5

File tree

8 files changed

+166
-71
lines changed

8 files changed

+166
-71
lines changed

README.md

+11-10
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
[![LinkedIn](https://img.shields.io/badge/LinkedIn-Company?style=flat&logo=linkedin&logoColor=white)](https://www.linkedin.com/company/105812540)
88
[![Discord](https://img.shields.io/badge/discord-chat-green?logo=discord)](https://aka.ms/autogen-discord)
99
[![Documentation](https://img.shields.io/badge/Documentation-AutoGen-blue?logo=read-the-docs)](https://microsoft.github.io/autogen/)
10+
1011
</div>
1112

1213
# AutoGen
@@ -74,13 +75,13 @@ asyncio.run(main())
7475

7576
The AutoGen ecosystem provides everything you need to create AI agents, especially multi-agent workflows -- framework, developer tools, and applications.
7677

77-
The *framework* uses a layered and extensible design. Layers have clearly divided responsibilities and build on top of layers below. This design enables you to use the framework at different levels of abstraction, from high-level APIs to low-level components.
78+
The _framework_ uses a layered and extensible design. Layers have clearly divided responsibilities and build on top of layers below. This design enables you to use the framework at different levels of abstraction, from high-level APIs to low-level components.
7879

7980
- [Core API](./python/packages/autogen-core/) implements message passing, event-driven agents, and local and distributed runtime for flexibility and power. It also support cross-language support for .NET and Python.
8081
- [AgentChat API](./python/packages/autogen-agentchat/) implements a simpler but opinionated API rapid for prototyping. This API is built on top of the Core API and is closest to what users of v0.2 are familiar with and supports familiar multi-agent patterns such as two-agent chat or group chats.
8182
- [Extensions API](./python/packages/autogen-ext/) enables first- and third-party extensions continuously expanding framework capabilities. It support specific implementation of LLM clients (e.g., OpenAI, AzureOpenAI), and capabilities such as code execution.
8283

83-
The ecosystem also supports two essential *developer tools*:
84+
The ecosystem also supports two essential _developer tools_:
8485

8586
<div align="center">
8687
<img src="https://media.githubusercontent.com/media/microsoft/autogen/refs/heads/main/python/packages/autogen-studio/docs/ags_screen.png" alt="AutoGen Studio Screenshot" width="500">
@@ -97,17 +98,17 @@ With AutoGen you get to join and contribute to a thriving ecosystem. We host wee
9798

9899
<div align="center">
99100

100-
| | [![Python](https://img.shields.io/badge/AutoGen-Python-blue?logo=python&logoColor=white)](./python) | [![.NET](https://img.shields.io/badge/AutoGen-.NET-green?logo=.net&logoColor=white)](./dotnet) | [![Studio](https://img.shields.io/badge/AutoGen-Studio-purple?logo=visual-studio&logoColor=white)](./python/packages/autogen-studio) |
101-
|----------------------|--------------------------------------------------------------------------------------------|-------------------|-------------------|
102-
| Installation | [![Installation](https://img.shields.io/badge/Install-blue)](https://microsoft.github.io/autogen/dev/user-guide/agentchat-user-guide/installation.html) | * | [![Install](https://img.shields.io/badge/Install-purple)](https://microsoft.github.io/autogen/dev/user-guide/autogenstudio-user-guide/installation.html) |
103-
| Quickstart | [![Quickstart](https://img.shields.io/badge/Quickstart-blue)](https://microsoft.github.io/autogen/dev/user-guide/agentchat-user-guide/quickstart.html#) | * | * |
104-
| Tutorial | [![Tutorial](https://img.shields.io/badge/Tutorial-blue)](https://microsoft.github.io/autogen/dev/user-guide/agentchat-user-guide/tutorial/models.html) | *| * |
105-
| API Reference | [![API](https://img.shields.io/badge/Docs-blue)](https://microsoft.github.io/autogen/dev/reference/index.html#) | * | [![API](https://img.shields.io/badge/Docs-purple)](https://microsoft.github.io/autogen/dev/user-guide/autogenstudio-user-guide/usage.html) |
106-
| Packages | [![PyPi autogen-core](https://img.shields.io/badge/PyPi-autogen--core-blue?logo=pypi)](https://pypi.org/project/autogen-core/) <br> [![PyPi autogen-agentchat](https://img.shields.io/badge/PyPi-autogen--agentchat-blue?logo=pypi)](https://pypi.org/project/autogen-agentchat/) <br> [![PyPi autogen-ext](https://img.shields.io/badge/PyPi-autogen--ext-blue?logo=pypi)](https://pypi.org/project/autogen-ext/) | * | [![PyPi autogenstudio](https://img.shields.io/badge/PyPi-autogenstudio-purple?logo=pypi)](https://pypi.org/project/autogenstudio/) |
101+
| | [![Python](https://img.shields.io/badge/AutoGen-Python-blue?logo=python&logoColor=white)](./python) | [![.NET](https://img.shields.io/badge/AutoGen-.NET-green?logo=.net&logoColor=white)](./dotnet) | [![Studio](https://img.shields.io/badge/AutoGen-Studio-purple?logo=visual-studio&logoColor=white)](./python/packages/autogen-studio) |
102+
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
103+
| Installation | [![Installation](https://img.shields.io/badge/Install-blue)](https://microsoft.github.io/autogen/dev/user-guide/agentchat-user-guide/installation.html) | \* | [![Install](https://img.shields.io/badge/Install-purple)](https://microsoft.github.io/autogen/dev/user-guide/autogenstudio-user-guide/installation.html) |
104+
| Quickstart | [![Quickstart](https://img.shields.io/badge/Quickstart-blue)](https://microsoft.github.io/autogen/dev/user-guide/agentchat-user-guide/quickstart.html#) | \* | [![Usage](https://img.shields.io/badge/Quickstart-blue)](https://microsoft.github.io/autogen/dev/user-guide/autogenstudio-user-guide/usage.html#) |
105+
| Tutorial | [![Tutorial](https://img.shields.io/badge/Tutorial-blue)](https://microsoft.github.io/autogen/dev/user-guide/agentchat-user-guide/tutorial/models.html) | \* | [![Usage](https://img.shields.io/badge/Quickstart-blue)](https://microsoft.github.io/autogen/dev/user-guide/autogenstudio-user-guide/usage.html#) |
106+
| API Reference | [![API](https://img.shields.io/badge/Docs-blue)](https://microsoft.github.io/autogen/dev/reference/index.html#) | \* | [![API](https://img.shields.io/badge/Docs-purple)](https://microsoft.github.io/autogen/dev/user-guide/autogenstudio-user-guide/usage.html) |
107+
| Packages | [![PyPi autogen-core](https://img.shields.io/badge/PyPi-autogen--core-blue?logo=pypi)](https://pypi.org/project/autogen-core/) <br> [![PyPi autogen-agentchat](https://img.shields.io/badge/PyPi-autogen--agentchat-blue?logo=pypi)](https://pypi.org/project/autogen-agentchat/) <br> [![PyPi autogen-ext](https://img.shields.io/badge/PyPi-autogen--ext-blue?logo=pypi)](https://pypi.org/project/autogen-ext/) | \* | [![PyPi autogenstudio](https://img.shields.io/badge/PyPi-autogenstudio-purple?logo=pypi)](https://pypi.org/project/autogenstudio/) |
107108

108109
</div>
109110

110-
**Releasing soon*
111+
\*_Releasing soon_
111112

112113
Interested in contributing? See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines on how to get started. We welcome contributions of all kinds, including bug fixes, new features, and documentation improvements. Join our community and help us make AutoGen better!
113114

python/packages/autogen-core/docs/src/user-guide/autogenstudio-user-guide/index.md

-9
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,6 @@ AutoGen Studio offers four main interfaces to help you build and manage multi-ag
4949
- Setup and test endpoints based on a team configuration
5050
- Run teams in a docker container
5151

52-
This revision improves clarity by:
53-
54-
- Organizing capabilities into clearly numbered sections
55-
- Using more precise language
56-
- Breaking down complex features into digestible points
57-
- Maintaining consistent formatting and structure
58-
- Eliminating awkward phrasing and grammatical issues
59-
- Adding context about how each interface serves users
60-
6152
### Roadmap
6253

6354
Review project roadmap and issues [here](https://github.com/microsoft/autogen/issues/4006) .

python/packages/autogen-core/docs/src/user-guide/autogenstudio-user-guide/installation.md

+71-23
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,83 @@ myst:
99

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

12-
1. **Install from PyPi**
12+
## Create a Virtual Environment (Recommended)
1313

14-
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:
14+
We recommend using a virtual environment as this will ensure that the dependencies for AutoGen Studio are isolated from the rest of your system.
1515

16-
```bash
17-
pip install -U autogenstudio
18-
```
16+
``````{tab-set}
1917
20-
2. **Install from Source**
18+
`````{tab-item} venv
2119
22-
> Note: This approach requires some familiarity with building interfaces in React.
20+
Create and activate:
2321
24-
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:
22+
```bash
23+
python3 -m venv .venv
24+
source .venv/bin/activate
25+
```
26+
27+
To deactivate later, run:
28+
29+
```bash
30+
deactivate
31+
```
32+
33+
`````
34+
35+
`````{tab-item} conda
36+
37+
[Install Conda](https://docs.conda.io/projects/conda/en/stable/user-guide/install/index.html) if you have not already.
38+
39+
40+
Create and activate:
41+
42+
```bash
43+
conda create -n autogen python=3.10
44+
conda activate autogen
45+
```
46+
47+
To deactivate later, run:
48+
49+
```bash
50+
conda deactivate
51+
```
52+
53+
54+
`````
55+
56+
57+
58+
``````
59+
60+
## Install Using pip (Recommended)
61+
62+
You can install AutoGen Studio using pip, the Python package manager.
63+
64+
```bash
65+
pip install -U autogenstudio
66+
```
67+
68+
### Install from Source\*\*
69+
70+
> Note: This approach requires some familiarity with building interfaces in React.
71+
72+
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:
2573

26-
- Clone the AutoGen Studio repository and install its Python dependencies:
74+
- Clone the AutoGen Studio repository and install its Python dependencies:
2775

28-
```bash
29-
pip install -e .
30-
```
76+
```bash
77+
pip install -e .
78+
```
3179

32-
- Navigate to the `samples/apps/autogen-studio/frontend` directory, install dependencies, and build the UI:
80+
- Navigate to the `samples/apps/autogen-studio/frontend` directory, install dependencies, and build the UI:
3381

34-
```bash
35-
npm install -g gatsby-cli
36-
npm install --global yarn
37-
cd frontend
38-
yarn install
39-
yarn build
40-
```
82+
```bash
83+
npm install -g gatsby-cli
84+
npm install --global yarn
85+
cd frontend
86+
yarn install
87+
yarn build
88+
```
4189

4290
For Windows users, to build the frontend, you may need alternative commands to build the frontend.
4391

@@ -47,7 +95,7 @@ For Windows users, to build the frontend, you may need alternative commands to b
4795

4896
```
4997

50-
### Running the Application
98+
## Running the Application
5199

52100
Once installed, run the web UI by entering the following in a terminal:
53101

@@ -62,8 +110,8 @@ AutoGen Studio also takes several parameters to customize the application:
62110
- `--host <host>` argument to specify the host address. By default, it is set to `localhost`.
63111
- `--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.
64112
- `--port <port>` argument to specify the port number. By default, it is set to `8080`.
65-
- `--upgrade-database` argument to upgrade the database schema (assuming there are changes in the version you are installing). By default, it is set to `False`.
113+
- `--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`.
66114
- `--reload` argument to enable auto-reloading of the server when changes are made to the code. By default, it is set to `False`.
67-
- `--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 `database.sqlite` file in the `--appdir` directory.
115+
- `--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.
68116

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

0 commit comments

Comments
 (0)