LangFold is a production grade scaffolding framework for building LLM powered agents with Langraph.
-
Install uv: https://docs.astral.sh/uv/getting-started/installation/
-
Sync the project dependencies or whenever you pull new changes
uv sync
-
For first time:
-
setup pre-commit hooks
pre-commit install -
run pre-commit hooks
pre-commit run --all-files
-
-
The project is divided into templates, situated in the templates directory. Each template has its own README.md file.
-
Entire project is dockerized. You can use the Makefile to build, start, and stop the project. If
makeis not installed, you can copy the commands from the Makefile and run them manually. -
To restart an existing template, run:
make up t=<template-folder-name> -
Example:
make up t=custom-react-agentOR
template=custom-react-agent docker-compose --env-file .env up -d -
To build a new template, run:
make down t=<old-template-folder-name> make build t=<new-template-folder-name>