Example project using the Langroid Multi-Agent Programming framework to build LLM applications.
On GitHub, click on the green "Use this template" button to create a new repo based on this template.
Typically your .env
file should look something like this:
GEMINI_API_KEY=your_key
OPENAI_API_KEY=your_key
Install uv
, see here
If your specific project name is myproject
, then:
- Change
example
to your specific project name in thepyproject.toml
file. - rename the
example
folder tomyproject
Have any useful scripts in the scripts
folder, and edit the
[project.scipts]
section in the pyproject.toml
file to include paths to these scripts, so they can be run with uv run <script-name>
.
You can declare script dependencies via metadata at the top of the script file , see here
Then create a virtual env, activate it and install the dependencies:
uv venv --python 3.11
. ./.venv/bin/activate
uv sync