Skip to content

Scaffolding an Elixir

Bell Eapen edited this page Nov 10, 2025 · 1 revision

Scaffolding an Elixir

Use the cookiecutter to quickly scaffold a new LangServe elixir with uv and best practices.

Template generator: https://github.com/dermatologist/cookiecutter-uv

Steps

  1. Ensure Python 3.9+ and uv are installed.
  2. Run cookiecutter and answer prompts.
  3. Implement your chain/agent logic in the generated app.
  4. Test locally and then install into DHTI.
# generate project
cookiecutter https://github.com/dermatologist/cookiecutter-uv

# install into DHTI
npx dhti-cli elixir install -g <your_repo_url> -n <your_name>

# start services
npx dhti-cli docker -u

See Elixirs for packaging and configuration.

Clone this wiki locally