autogen/python
Eric Zhu 8c5150b1d4
Refactor logging in agentchat (#3709)
* Refactor logging in agentchat

* fix notebook

---------

Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-10-09 15:15:09 -04:00
..
benchmarks Moved the benchmarks to another repo. (#349) 2024-08-08 11:43:55 -07:00
packages Refactor logging in agentchat (#3709) 2024-10-09 15:15:09 -04:00
templates/new-package Include license file in package (#3703) 2024-10-09 15:01:09 -04:00
.gitignore Add proto files (#378) 2024-08-19 20:32:34 +00:00
README.md Lspinheiro/chore/migrate azure executor autogen ext (#3652) 2024-10-08 15:05:44 -07:00
pyproject.toml Add poethepoet to dev deps (#3675) 2024-10-07 16:00:41 -07:00
run_task_in_pkgs_if_exist.py Migrate to uv and poe for workspace management and task running (#424) 2024-08-29 09:46:06 -04:00
shared_tasks.toml Remove static subscription restriction (#439) 2024-08-30 14:00:11 -04:00
uv.lock Documentation tweaks (#3705) 2024-10-09 11:46:43 -07:00

README.md

AutoGen Python packages

See autogen-core package for main functionality.

Development

TL;DR, run all checks with:

uv sync  --all-extras
source .venv/bin/activate
poe check

Setup

Virtual environment

To get a shell with the package available (virtual environment), in the current directory, run:

uv sync  --all-extras
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.

Create new package

To create a new package, run:

uv sync
source .venv/bin/activate
cookiecutter ./templates/new-package/