mirror of
https://github.com/microsoft/autogen.git
synced 2025-08-18 21:52:01 +00:00

* Migrate to uv and poe for workspace management and task running * install python * try fix * ensure workspace venv in used * package dir * move nbqa to mypy task * separate sync, clarify docs
AutoGen Python packages
See autogen-core
package for main functionality.
Development
TL;DR, run all checks with:
uv sync
source .venv/bin/activate
poe all
Setup
Virtual environment
To get a shell with the package available (virtual environment), in the current directory, run:
uv sync
source .venv/bin/activate
Common tasks
- Format:
poe format
- Lint:
poe lint
- Test:
poe test
- Mypy:
poe mypy
- Pyright:
poe pyright
- Build docs:
poe --directory ./packages/autogen-core/ docs-build
- Auto rebuild+serve docs:
poe --directory ./packages/autogen-core/ docs-serve
Note
These need to be run in the virtual environment.