mirror of
https://github.com/microsoft/autogen.git
synced 2025-07-07 00:51:38 +00:00

* update docs on agent chat. * add langchain support * fix formatting issues * Update python/packages/autogen-core/docs/src/agentchat-user-guide/index.md Co-authored-by: gagb <gagb@users.noreply.github.com> * Update python/packages/autogen-core/docs/src/agentchat-user-guide/index.md Co-authored-by: gagb <gagb@users.noreply.github.com> * add company reseach and literature review examples with tools * format fixes * format and type fixes * add selector groupchat to agentchat index page * rename quick start as code exec * type fixes * format fix * Remove blank cell from notebooks --------- Co-authored-by: gagb <gagb@users.noreply.github.com> Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
AutoGen Python packages
See autogen-core
package for main functionality.
Development
TL;DR, run all checks with:
uv sync
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
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/