Skip to content

Commit f70869f

Browse files
authored
update dev8 (#4417)
1 parent 7c8d25c commit f70869f

File tree

17 files changed

+468
-457
lines changed

17 files changed

+468
-457
lines changed

.github/workflows/docs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
{ ref: "v0.4.0.dev5", dest-dir: "0.4.0.dev5" },
4141
{ ref: "v0.4.0.dev6", dest-dir: "0.4.0.dev6" },
4242
{ ref: "v0.4.0.dev7", dest-dir: "0.4.0.dev7" },
43+
{ ref: "v0.4.0.dev8", dest-dir: "0.4.0.dev8" },
4344
]
4445
steps:
4546
- name: Checkout

CONTRIBUTING.md

+20-20
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ We will update verion numbers according to the following rules:
4949

5050
1. Create a PR that updates the version numbers across the codebase ([example](https://github.com/microsoft/autogen/pull/4359))
5151
2. The docs CI will fail for the PR, but this is expected and will be resolved in the next step
52-
2. After merging the PR, create and push a tag that corresponds to the new verion. For example, for `0.4.0.dev7`:
53-
- `git tag 0.4.0.dev7 && git push origin 0.4.0.dev7`
52+
2. After merging the PR, create and push a tag that corresponds to the new verion. For example, for `0.4.0.dev8`:
53+
- `git tag 0.4.0.dev8 && git push origin 0.4.0.dev8`
5454
3. Restart the docs CI by finding the failed [job corresponding to the `push` event](https://github.com/microsoft/autogen/actions/workflows/docs.yml) and restarting all jobs
5555
4. Run [this](https://github.com/microsoft/autogen/actions/workflows/single-python-package.yml) workflow for each of the packages that need to be released and get an approval for the release for it to run
5656

@@ -59,27 +59,27 @@ We will update verion numbers according to the following rules:
5959
To help ensure the health of the project and community the AutoGen committers have a weekly triage process to ensure that all issues and pull requests are reviewed and addressed in a timely manner. The following documents the responsibilites while on triage duty:
6060

6161
- Issues
62-
- Review all new issues - these will be tagged with [`needs-triage`](https://github.com/microsoft/autogen/issues?q=is%3Aissue%20state%3Aopen%20label%3Aneeds-triage).
63-
- Apply appropriate labels:
64-
- One of `proj-*` labels based on the project the issue is related to
65-
- `documentation`: related to documentation
66-
- `x-lang`: related to cross language functionality
67-
- `dotnet`: related to .NET
68-
- Add the issue to a relevant milestone if necessary
69-
- If you can resolve the issue or reply to the OP please do.
70-
- If you cannot resolve the issue, assign it to the appropriate person.
71-
- If awaiting a reply add the tag `awaiting-op-response` (this will be auto removed when the OP replies).
72-
- Bonus: there is a backlog of old issues that need to be reviewed - if you have time, review these as well and close or refresh as many as you can.
62+
- Review all new issues - these will be tagged with [`needs-triage`](https://github.com/microsoft/autogen/issues?q=is%3Aissue%20state%3Aopen%20label%3Aneeds-triage).
63+
- Apply appropriate labels:
64+
- One of `proj-*` labels based on the project the issue is related to
65+
- `documentation`: related to documentation
66+
- `x-lang`: related to cross language functionality
67+
- `dotnet`: related to .NET
68+
- Add the issue to a relevant milestone if necessary
69+
- If you can resolve the issue or reply to the OP please do.
70+
- If you cannot resolve the issue, assign it to the appropriate person.
71+
- If awaiting a reply add the tag `awaiting-op-response` (this will be auto removed when the OP replies).
72+
- Bonus: there is a backlog of old issues that need to be reviewed - if you have time, review these as well and close or refresh as many as you can.
7373
- PRs
74-
- The UX on GH flags all recently updated PRs. Draft PRs can be ignored, otherwise review all recently updated PRs.
75-
- If a PR is ready for review and you can provide one please go ahead. If you cant, please assign someone. You can quickly spin up a codespace with the PR to test it out.
76-
- If a PR is needing a reply from the op, please tag it `awaiting-op-response`.
77-
- If a PR is approved and passes CI, its ready to merge, please do so.
78-
- If it looks like there is a possibly transient CI failure, re-run failed jobs.
74+
- The UX on GH flags all recently updated PRs. Draft PRs can be ignored, otherwise review all recently updated PRs.
75+
- If a PR is ready for review and you can provide one please go ahead. If you cant, please assign someone. You can quickly spin up a codespace with the PR to test it out.
76+
- If a PR is needing a reply from the op, please tag it `awaiting-op-response`.
77+
- If a PR is approved and passes CI, its ready to merge, please do so.
78+
- If it looks like there is a possibly transient CI failure, re-run failed jobs.
7979
- Discussions
80-
- Look for recently updated discussions and reply as needed or find someone on the team to reply.
80+
- Look for recently updated discussions and reply as needed or find someone on the team to reply.
8181
- Security
82-
- Look through any securty alerts and file issues or dismiss as needed.
82+
- Look through any securty alerts and file issues or dismiss as needed.
8383

8484
## Becoming a Reviewer
8585

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
<img src="https://microsoft.github.io/autogen/0.2/img/ag.svg" alt="AutoGen Logo" width="100">
55

66
[![Twitter](https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social&label=Follow%20%40pyautogen)](https://twitter.com/pyautogen) [![GitHub Discussions](https://img.shields.io/badge/Discussions-Q%26A-green?logo=github)](https://github.com/microsoft/autogen/discussions) [![0.2 Docs](https://img.shields.io/badge/Docs-0.2-blue)](https://microsoft.github.io/autogen/0.2/) [![0.4 Docs](https://img.shields.io/badge/Docs-0.4-blue)](https://microsoft.github.io/autogen/dev/)
7-
[![PyPi autogen-core](https://img.shields.io/badge/PyPi-autogen--core-blue?logo=pypi)](https://pypi.org/project/autogen-core/0.4.0.dev7/) [![PyPi autogen-agentchat](https://img.shields.io/badge/PyPi-autogen--agentchat-blue?logo=pypi)](https://pypi.org/project/autogen-agentchat/0.4.0.dev7/) [![PyPi autogen-ext](https://img.shields.io/badge/PyPi-autogen--ext-blue?logo=pypi)](https://pypi.org/project/autogen-ext/0.4.0.dev7/)
8-
7+
[![PyPi autogen-core](https://img.shields.io/badge/PyPi-autogen--core-blue?logo=pypi)](https://pypi.org/project/autogen-core/0.4.0.dev8/) [![PyPi autogen-agentchat](https://img.shields.io/badge/PyPi-autogen--agentchat-blue?logo=pypi)](https://pypi.org/project/autogen-agentchat/0.4.0.dev8/) [![PyPi autogen-ext](https://img.shields.io/badge/PyPi-autogen--ext-blue?logo=pypi)](https://pypi.org/project/autogen-ext/0.4.0.dev8/)
98

109
</div>
1110

1211
# AutoGen
1312

1413
> [!IMPORTANT]
14+
>
1515
> - (11/14/24) ⚠️ In response to a number of asks to clarify and distinguish between official AutoGen and its forks that created confusion, we issued a [clarification statement](https://github.com/microsoft/autogen/discussions/4217).
1616
> - (10/13/24) Interested in the standard AutoGen as a prior user? Find it at the actively-maintained *AutoGen* [0.2 branch](https://github.com/microsoft/autogen/tree/0.2) and `autogen-agentchat~=0.2` PyPi package.
1717
> - (10/02/24) [AutoGen 0.4](https://microsoft.github.io/autogen/dev) is a from-the-ground-up rewrite of AutoGen. Learn more about the history, goals and future at [this blog post](https://microsoft.github.io/autogen/blog). We’re excited to work with the community to gather feedback, refine, and improve the project before we officially release 0.4. This is a big change, so AutoGen 0.2 is still available, maintained, and developed in the [0.2 branch](https://github.com/microsoft/autogen/tree/0.2).
@@ -104,7 +104,7 @@ We look forward to your contributions!
104104
First install the packages:
105105

106106
```bash
107-
pip install 'autogen-agentchat==0.4.0.dev7' 'autogen-ext[openai]==0.4.0.dev7'
107+
pip install 'autogen-agentchat==0.4.0.dev8' 'autogen-ext[openai]==0.4.0.dev8'
108108
```
109109

110110
The following code uses OpenAI's GPT-4o model and you need to provide your

docs/switcher.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,12 @@
4646
{
4747
"name": "0.4.0.dev7",
4848
"version": "0.4.0.dev7",
49-
"url": "/autogen/0.4.0.dev7/",
49+
"url": "/autogen/0.4.0.dev7/"
50+
},
51+
{
52+
"name": "0.4.0.dev8",
53+
"version": "0.4.0.dev8",
54+
"url": "/autogen/0.4.0.dev8/",
5055
"preferred": true
5156
}
5257
]

python/README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# AutoGen Python packages
22

33
[![0.4 Docs](https://img.shields.io/badge/Docs-0.4-blue)](https://microsoft.github.io/autogen/dev/)
4-
[![PyPi autogen-core](https://img.shields.io/badge/PyPi-autogen--core-blue?logo=pypi)](https://pypi.org/project/autogen-core/0.4.0.dev7/) [![PyPi autogen-agentchat](https://img.shields.io/badge/PyPi-autogen--agentchat-blue?logo=pypi)](https://pypi.org/project/autogen-agentchat/0.4.0.dev7/) [![PyPi autogen-ext](https://img.shields.io/badge/PyPi-autogen--ext-blue?logo=pypi)](https://pypi.org/project/autogen-ext/0.4.0.dev7/)
5-
4+
[![PyPi autogen-core](https://img.shields.io/badge/PyPi-autogen--core-blue?logo=pypi)](https://pypi.org/project/autogen-core/0.4.0.dev8/) [![PyPi autogen-agentchat](https://img.shields.io/badge/PyPi-autogen--agentchat-blue?logo=pypi)](https://pypi.org/project/autogen-agentchat/0.4.0.dev8/) [![PyPi autogen-ext](https://img.shields.io/badge/PyPi-autogen--ext-blue?logo=pypi)](https://pypi.org/project/autogen-ext/0.4.0.dev8/)
65

76
This directory works as a single `uv` workspace containing all project packages. See [`packages`](./packages/) to discover all project packages.
87

@@ -17,10 +16,13 @@ poe check
1716
```
1817

1918
### Setup
19+
2020
`uv` is a package manager that assists in creating the necessary environment and installing packages to run AutoGen.
21+
2122
- [Install `uv`](https://docs.astral.sh/uv/getting-started/installation/).
2223

2324
### Virtual Environment
25+
2426
During development, you may need to test changes made to any of the packages.\
2527
To do so, create a virtual environment where the AutoGen packages are installed based on the current state of the directory.\
2628
Run the following commands at the root level of the Python directory:
@@ -29,11 +31,14 @@ Run the following commands at the root level of the Python directory:
2931
uv sync --all-extras
3032
source .venv/bin/activate
3133
```
34+
3235
- `uv sync --all-extras` will create a `.venv` directory at the current level and install packages from the current directory along with any other dependencies. The `all-extras` flag adds optional dependencies.
3336
- `source .venv/bin/activate` activates the virtual environment.
3437

3538
### Common Tasks
39+
3640
To create a pull request (PR), ensure the following checks are met. You can run each check individually:
41+
3742
- Format: `poe format`
3843
- Lint: `poe lint`
3944
- Test: `poe test`

python/packages/autogen-agentchat/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "autogen-agentchat"
7-
version = "0.4.0.dev7"
7+
version = "0.4.0.dev8"
88
license = {file = "LICENSE-CODE"}
99
description = "AutoGen agents and teams library"
1010
readme = "README.md"
@@ -15,7 +15,7 @@ classifiers = [
1515
"Operating System :: OS Independent",
1616
]
1717
dependencies = [
18-
"autogen-core==0.4.0.dev7",
18+
"autogen-core==0.4.0.dev8",
1919
]
2020

2121
[tool.uv]

python/packages/autogen-core/docs/src/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ AgentChat </div>
6161
High-level API that includes preset agents and teams for building multi-agent systems.
6262

6363
```sh
64-
pip install 'autogen-agentchat==0.4.0.dev7'
64+
pip install 'autogen-agentchat==0.4.0.dev8'
6565
```
6666

6767
💡 *Start here if you are looking for an API similar to AutoGen 0.2*
@@ -82,7 +82,7 @@ Get Started
8282
Provides building blocks for creating asynchronous, event driven multi-agent systems.
8383

8484
```sh
85-
pip install 'autogen-core==0.4.0.dev7'
85+
pip install 'autogen-core==0.4.0.dev8'
8686
```
8787

8888
+++

python/packages/autogen-core/docs/src/packages/index.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ myst:
3131
Library that is at a similar level of abstraction as AutoGen 0.2, including default agents and group chat.
3232

3333
```sh
34-
pip install 'autogen-agentchat==0.4.0.dev7'
34+
pip install 'autogen-agentchat==0.4.0.dev8'
3535
```
3636

37-
[{fas}`circle-info;pst-color-primary` User Guide](/user-guide/agentchat-user-guide/index.md) | [{fas}`file-code;pst-color-primary` API Reference](/reference/python/autogen_agentchat/autogen_agentchat.rst) | [{fab}`python;pst-color-primary` PyPI](https://pypi.org/project/autogen-agentchat/0.4.0.dev7/) | [{fab}`github;pst-color-primary` Source](https://github.com/microsoft/autogen/tree/main/python/packages/autogen-agentchat)
37+
[{fas}`circle-info;pst-color-primary` User Guide](/user-guide/agentchat-user-guide/index.md) | [{fas}`file-code;pst-color-primary` API Reference](/reference/python/autogen_agentchat/autogen_agentchat.rst) | [{fab}`python;pst-color-primary` PyPI](https://pypi.org/project/autogen-agentchat/0.4.0.dev8/) | [{fab}`github;pst-color-primary` Source](https://github.com/microsoft/autogen/tree/main/python/packages/autogen-agentchat)
3838
:::
3939

4040
(pkg-info-autogen-core)=
@@ -46,10 +46,10 @@ pip install 'autogen-agentchat==0.4.0.dev7'
4646
Implements the core functionality of the AutoGen framework, providing basic building blocks for creating multi-agent systems.
4747

4848
```sh
49-
pip install 'autogen-core==0.4.0.dev7'
49+
pip install 'autogen-core==0.4.0.dev8'
5050
```
5151

52-
[{fas}`circle-info;pst-color-primary` User Guide](/user-guide/core-user-guide/index.md) | [{fas}`file-code;pst-color-primary` API Reference](/reference/python/autogen_core/autogen_core.rst) | [{fab}`python;pst-color-primary` PyPI](https://pypi.org/project/autogen-core/0.4.0.dev7/) | [{fab}`github;pst-color-primary` Source](https://github.com/microsoft/autogen/tree/main/python/packages/autogen-core)
52+
[{fas}`circle-info;pst-color-primary` User Guide](/user-guide/core-user-guide/index.md) | [{fas}`file-code;pst-color-primary` API Reference](/reference/python/autogen_core/autogen_core.rst) | [{fab}`python;pst-color-primary` PyPI](https://pypi.org/project/autogen-core/0.4.0.dev8/) | [{fab}`github;pst-color-primary` Source](https://github.com/microsoft/autogen/tree/main/python/packages/autogen-core)
5353
:::
5454

5555
(pkg-info-autogen-ext)=
@@ -61,7 +61,7 @@ pip install 'autogen-core==0.4.0.dev7'
6161
Implementations of core components that interface with external services, or use extra dependencies. For example, Docker based code execution.
6262

6363
```sh
64-
pip install 'autogen-ext==0.4.0.dev7'
64+
pip install 'autogen-ext==0.4.0.dev8'
6565
```
6666

6767
Extras:
@@ -71,7 +71,7 @@ Extras:
7171
- `docker` needed for {py:class}`~autogen_ext.code_executors.DockerCommandLineCodeExecutor`
7272
- `openai` needed for {py:class}`~autogen_ext.models.OpenAIChatCompletionClient`
7373

74-
[{fas}`circle-info;pst-color-primary` User Guide](/user-guide/extensions-user-guide/index.md) | [{fas}`file-code;pst-color-primary` API Reference](/reference/python/autogen_ext/autogen_ext.rst) | [{fab}`python;pst-color-primary` PyPI](https://pypi.org/project/autogen-ext/0.4.0.dev7/) | [{fab}`github;pst-color-primary` Source](https://github.com/microsoft/autogen/tree/main/python/packages/autogen-ext)
74+
[{fas}`circle-info;pst-color-primary` User Guide](/user-guide/extensions-user-guide/index.md) | [{fas}`file-code;pst-color-primary` API Reference](/reference/python/autogen_ext/autogen_ext.rst) | [{fab}`python;pst-color-primary` PyPI](https://pypi.org/project/autogen-ext/0.4.0.dev8/) | [{fab}`github;pst-color-primary` Source](https://github.com/microsoft/autogen/tree/main/python/packages/autogen-ext)
7575
:::
7676

7777
(pkg-info-autogen-magentic-one)=

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Install the `autogen-agentchat` package using pip:
6161

6262
```bash
6363

64-
pip install 'autogen-agentchat==0.4.0.dev7'
64+
pip install 'autogen-agentchat==0.4.0.dev8'
6565
```
6666

6767
```{note}
@@ -74,7 +74,7 @@ To use the OpenAI and Azure OpenAI models, you need to install the following
7474
extensions:
7575

7676
```bash
77-
pip install 'autogen-ext[openai]==0.4.0.dev7'
77+
pip install 'autogen-ext[openai]==0.4.0.dev8'
7878
```
7979

8080
## Install Docker for Code Execution

python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/quickstart.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"outputs": [],
3939
"source": [
40-
"pip install 'autogen-agentchat==0.4.0.dev7' 'autogen-ext[openai]==0.4.0.dev7'"
40+
"pip install 'autogen-agentchat==0.4.0.dev8' 'autogen-ext[openai]==0.4.0.dev8'"
4141
]
4242
},
4343
{

0 commit comments

Comments
 (0)