Files
autogen/examples
Jack Gerrits 432b1c1213 Migrate build tools to hatch (#93)
* Migrate build tools to hatch

* fmt

* fix workflows

* add tldr

* simplify hatch usage and environments

* add hatch to devcontainer
2024-06-19 13:49:13 -04:00
..
2024-06-19 13:49:13 -04:00

Examples

This directory contains examples of how to use AGNext.

First, you need a shell with AGNext and the examples dependencies installed. To do this, run:

hatch shell

To run an example, just run the corresponding Python script. For example, to run the coder_reviewer.py example, run:

hatch shell
python coder_reviewer.py

Or simply:

hatch run python coder_reviewer.py

To enable logging, turn on verbose mode by setting --verbose flag:

hatch run python coder_reviewer.py --verbose

By default the log file is saved in the same directory with the same filename as the script, e.g., "coder_reviewer.log".