Eric Zhu b4ade8b735 Add examples to showcase patterns (#55)
* add chess example

* wip

* wip

* fix tool schema generation

* fixes

* Agent handle exception

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>

* format

* mypy

* fix test for annotated

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-06-07 13:33:51 -07:00
2024-06-04 12:09:34 -04:00
2024-05-07 15:12:54 -07:00
2024-06-05 18:44:23 +00:00
2024-05-07 15:12:56 -07:00
2024-05-07 15:12:55 -07:00
2024-05-29 17:12:02 -04:00

AutoGenNext

Package layering

  • core are the the foundational generic interfaces upon which all else is built. This module must not depend on any other module.
  • components are the building blocks for creating single agents
  • application are implementations of core components that are used to compose an application
  • chat is the concrete implementation of multi-agent interactions. Most users will deal with this module.

Development

Setup

python -m venv .venv
source .venv/bin/activate

pip install -e ".[dev]"

Running tests

pytest

Type checking

mypy
pyright

Linting

ruff check

Formatting

ruff format

Build docs

pip install -e ".[docs]"

sphinx-build docs/src docs/build

# To view the docs:
python -m http.server -d docs/build
Languages
Python 61.5%
C# 25.1%
TypeScript 12.6%
HTML 0.3%
JavaScript 0.2%
Other 0.2%