Reuben Bond c9e09e2d27 Merge pull request #79 from microsoft/rebond/merge-repos
Initial OAgents + AGNext merge
2024-06-20 07:19:44 -07:00
2024-06-19 19:25:07 -07:00
2024-05-07 15:12:54 -07:00
2024-06-19 13:49:13 -04:00
2024-05-07 15:12:56 -07:00
2024-05-07 15:12:55 -07: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

TL;DR, run all checks with:

hatch run check

Setup

Virtual environment

To get a shell with the package available (virtual environment) run:

hatch shell

Common tasks

  • Format: hatch run check
  • Lint: hatch run lint
  • Test: hatch run pytest -n auto
  • Mypy: hatch run mypy
  • Pyright: hatch run pyright
  • Build docs: hatch run docs:build
  • Auto rebuild+serve docs: hatch run docs:serve

Note

These don't need to be run in a virtual environment, hatch will automatically manage it for you.

Languages
Python 61.5%
C# 25.1%
TypeScript 12.6%
HTML 0.3%
JavaScript 0.2%
Other 0.2%