Eric Zhu 84d4e27776 Add tool agent class for convience of creating AI agents (#271)
* Add tool agent class for convience of creating AI agents

* Merge remote-tracking branch 'origin/main' into ekzhu-tool-agent

* feat: Add return type annotation to test_tool_agent function
2024-07-25 11:20:42 -07:00
..
2024-07-24 14:23:21 +00:00
2024-07-24 17:28:00 -07:00
2024-07-22 11:06:30 -07: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.
  • application are implementations of core components that are used to compose an application.
  • components are the building blocks for creating agents.

Development

TL;DR, run all checks with:

hatch run check

Setup

Virtual environment

To get a shell with the package available (virtual environment), in the current directory, 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.