autogen/python
Rohan Thacker 3c63f6f3ef
Corrected typo in get_capabilities in _model_info.py (#4002)
2024-10-30 13:39:45 -07:00
..
packages Corrected typo in get_capabilities in _model_info.py (#4002) 2024-10-30 13:39:45 -07:00
templates/new-package Include license file in package (#3703) 2024-10-09 15:01:09 -04:00
.gitignore
README.md Lspinheiro/chore/migrate azure executor autogen ext (#3652) 2024-10-08 15:05:44 -07:00
pyproject.toml migrate models (#3848) 2024-10-22 11:40:41 -04:00
run_task_in_pkgs_if_exist.py Move from tomllib to tomli (#3714) 2024-10-09 16:42:30 -04:00
shared_tasks.toml
uv.lock Add AssistantAgent, deprecate CodingAssistantAgent and ToolUseAssistantAgent (#3960) 2024-10-25 23:17:06 -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/