Templates Walkthrough

This page shows a clean template workflow from scaffold to first run.

1) Pick a template

  • Library: hexi-python-lib
  • API service: hexi-fastapi-service
  • CLI tool: hexi-typer-cli
  • Data automation: hexi-data-job
  • Embedded runtime: hexi-agent-worker

2) Scaffold project

hexi new --template hexi-typer-cli --name my-cli --git-init
cd my-cli

3) Install dependencies

python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"

4) Verify setup

hexi doctor

5) Run first agent step

hexi run "Add one tiny improvement and matching tests"