Getting Started
Prerequisites
Section titled “Prerequisites”- Docker Desktop — download here. Must be running before you use Verfix.
- Node.js 18+ —
node --versionto check.
Install the CLI
Section titled “Install the CLI”npm install -g verfixOr use it without installing globally:
npx verfix initVerify the installation:
verfix --versionStart the runtime
Section titled “Start the runtime”The Verfix runtime is a Docker container that runs Playwright workers, a Go API, PostgreSQL, and Redis. The CLI manages its lifecycle.
verfix startOn first run, this pulls ghcr.io/verfix-dev/verfix-server:latest (~2 min on a fast connection). Subsequent starts are instant.
When healthy, you’ll see:
✓ Verfix runtime is running API: http://localhost:3611 Dashboard: http://localhost:3610Init your project
Section titled “Init your project”Run this inside your web app’s directory:
cd your-react-appverfix initThe interactive wizard will:
- Confirm Docker is running and pull the image if needed
- Ask for your app’s base URL (e.g.
http://localhost:3000) - Ask which mode to use (
strict,assisted, orexploratory) - Ask which flows to scaffold (login, dashboard-load, signup, checkout)
- Ask for your AI API key (required for Assisted/Exploratory mode)
- Write
verfix.config.jsonin your project root - Generate or update
AGENTS.mdso coding agents know how to use Verfix
Run your first flow
Section titled “Run your first flow”verfix run --flow login --output jsonExample output on pass:
{ "passed": true, "failures": [], "timeline_url": "http://localhost:3610/?executionId=exec_abc123", "exit_code": 0, "execution_id": "exec_abc123"}Example output on failure:
{ "passed": false, "failures": [ { "type": "selector_not_found", "selector": "[data-testid=submit]", "detail": "Selector not found after 15000ms", "fix_hint": "Selector \"[data-testid=submit]\" not found in DOM. Add a stable data-testid or update the selector." } ], "timeline_url": "http://localhost:3610/?executionId=exec_xyz789", "exit_code": 1, "execution_id": "exec_xyz789"}The CLI exits with code 0 on pass and 1 on failure — CI-friendly by default.
Open the execution timeline
Section titled “Open the execution timeline”Copy the timeline_url from the JSON output and open it in your browser:
http://localhost:3610/?executionId=exec_abc123The timeline shows:
- Every browser action (click, type, navigate)
- All assertion results with pass/fail status and duration
- Console logs (errors highlighted)
- Network requests with status codes
- Screenshots on failure
- Playwright trace artifacts
List all flows
Section titled “List all flows”verfix flowsRun all flows at once:
verfix run --output jsonCheck runtime health
Section titled “Check runtime health”verfix doctorRuns seven diagnostic checks:
- Docker installed
- Docker daemon running
- Container running
- API healthy
- Dashboard reachable
verfix.config.jsonfoundAGENTS.mdfound
Next steps
Section titled “Next steps”- CLI Reference — all commands and flags
- Config Reference — every field in
verfix.config.json - Agent Integration — wiring Verfix into agent workflows
- Execution Modes — when to use strict vs. assisted