Skip to content

Local setup and deployment modes

Prerequisites, deployment modes, local Worker startup, and seeding the Northstar Goods workspace.

Adaptive Factory runs in three modes depending on how your team hosts the harness.

Deployment modes

  • Self-install: Deploy the Adaptive Factory Worker and Git-backed ledger into your own Cloudflare account. All captures, ledgers, and artifacts stay inside your account.
  • Operated: Adaptive Factory runs the harness for your team in a dedicated tenant environment.
  • Browser demo: Public demo environments run strictly in the browser against the Northstar Goods reference tenant (northstar) without exposing live shell execution.

Local quick start

Prerequisites

  • Node.js 22 or newer
  • npm 10 or newer
  • Wrangler CLI (installed via workspace devDependencies)

Install, verify, and build

npm install
npm run lint
npm run typecheck
npm test
npm run build

Start the local Worker and Web UI

npx wrangler dev -c packages/worker/wrangler.jsonc --port 8789

Open http://127.0.0.1:8789 in a browser to inspect the Swiss Blueprint UI backed by the local Cloudflare ARTIFACTS Git simulator.

Seed and inspect with the af CLI

In a second terminal:

node packages/cli/bin/af.js init --demo --url http://127.0.0.1:8789
node packages/cli/bin/af.js status --url http://127.0.0.1:8789
node packages/cli/bin/af.js ledger lint --url http://127.0.0.1:8789
node packages/cli/bin/af.js plan board --url http://127.0.0.1:8789
node packages/cli/bin/af.js gate --url http://127.0.0.1:8789

Every af command supports --json for scripts, --ascii for plain terminals, and respects NO_COLOR.

Type to search…

↑↓ navigate↵ selectEsc close