Skip to main content

Development Setup

Run ChatWalaʻau from source for development.

Prerequisites

ToolVersionInstall
Node.js20.19+ / 22.12+nodejs.org
pnpm10+npm install -g pnpm
Python3.12+python.org
uv0.9+docs.astral.sh/uv
Azure CLI2.xInstall Azure CLI

1. Backend

Windows (PowerShell):

cd backend
copy .env.sample .env
notepad .env # set your Azure OpenAI endpoint
uv sync --prerelease=allow

macOS / Linux:

cd backend
cp .env.sample .env
nano .env # set your Azure OpenAI endpoint
uv sync --prerelease=allow

Required .env:

AZURE_OPENAI_ENDPOINT=https://<your-resource>.openai.azure.com/
AZURE_OPENAI_MODELS=gpt-4o

See Configuration -> Azure authentication for credential lanes.

2. Frontend

cd frontend
pnpm install

3. Start the dev servers

Open two terminals:

# Terminal 1 -- backend at http://localhost:8000
cd backend
uv run uvicorn app.main:app --reload --app-dir src

# Terminal 2 -- frontend at http://localhost:5173 (API proxied to the backend)
cd frontend
pnpm dev

4. Production build

cd frontend
pnpm build

cd ../backend
uv run uvicorn app.main:app --app-dir src

The backend serves both the frontend build and the API at http://localhost:8000.

Tech stack

LayerTechnologyPurpose
FrontendReact 19 + TypeScript + ViteUI framework
FrontendTailwind CSS + shadcn/uiStyling + components
FrontendBiomeFormat + lint
BackendFastAPI + Python 3.12+API server
BackendMicrosoft Agent FrameworkAgent execution + tool control
BackendRuffFormat + lint
PackageuvPython dependencies
PackagepnpmNode.js dependencies