2024-06-20 15:19:56 -04:00
..
2024-06-20 15:19:56 -04:00
2024-06-20 15:19:56 -04:00
2024-06-20 15:19:56 -04:00
2024-06-20 15:19:56 -04:00
2024-06-20 15:19:56 -04:00

AGNext

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.