Quickstart
Prerequisites
- Node.js 24+
- pnpm 10+
- Optional: Ollama for local model execution
Install
pnpm installpnpm may warn that it ignored build scripts (for example onnxruntime-node, esbuild, keytar, @vscode/vsce-sign): that is safe to ignore. They belong to optional parts (the names service, the VS Code extension's packaging) and are not needed to run L2M.
Configure env
cp .env.example .envGenerate a 32-byte base64 key for secret encryption:
node -e "console.log(require('crypto').randomBytes(32).toString('base64'))"Set SECRET_MASTER_KEY_BASE64 in .env.
Run API + Web
pnpm dev- API:
http://localhost:4000 - Web UI:
http://localhost:5173
Sign in and run your first workflow
- Open
http://localhost:5173. Sign in with the admin account.envsets up on first start: Email isBOOTSTRAP_ADMIN_EMAILand Password isBOOTSTRAP_ADMIN_PASSWORD(admin@example.comandChangeThisPassword123!in.env.example; change them before anyone else can reach the studio). Click Sign in. - The Welcome to L2M window opens. Click Run a starter.
- Templates opens on the Starters: small workflows that run on built-in sample data, with no model, key or server. On CSV to JSON: parse, sort and total, click Use Template. The new workflow opens in the editor.
- Click Run workflow (the play button at the top right). The run takes a moment; the status next to the workflow name then reads last run with the number of nodes that ran, all ok.
- Double-click a node, such as Units per region, to see what went in and what came out.
Closed the welcome window? Home shows three New cards (Chat agent, Automation, Ask your documents) and then the same Starters: click Use on one. To build your own, click Describe it… on Home (it needs a model key, added under Secrets) or New workflow. See Starter templates.
Run the released images
Each v* release also ships signed, multi-arch API and web images on GHCR with SBOMs and build provenance, also on Docker Hub as lsquarem/l2m and lsquarem/l2m-web. Check them and pin their digests before deploying: Verify a release.
Run docs site
pnpm docs:dev- Docs UI:
http://localhost:4173
Build/test quality gates
pnpm -r --if-present build
pnpm -r --if-present test