Skip to main content
Developers / getting-started · v3.1.3

Getting Started

Install DevWorkflow, verify diagnostics, register an AI coding client, and start your first task.

1. What DevWorkflow Does

DevWorkflow is local-first engineering workflow infrastructure for AI coding agents. It persists task contracts, ordered execution plans, Definition of Done evidence, and session checkpoints in local SQLite WAL storage.

For a hands-on walkthrough, follow the interactive 10-Step How to Use Guide (/how-to-use/) or explore 13 Real-World Use Cases (/use-cases/).

2. Runtime Requirements & Installation Modes

Requires Node.js >= 20.0.0. Install directly from npm (`@programinglive/dev-workflow`) for standalone local-first use, or clone from source for development:

npm install -g @programinglive/dev-workflow
devwf setup
devwf doctor
ModeCommandWhen to Use
Public npm registry (Recommended)npm install -g @programinglive/dev-workflowInstall the published package globally with zero private GitHub access required
Local-first initdevwf setupInitialize LOCAL_FIRST_STANDALONE profile (preserves existing Zettly)
Skip Zettlydevwf setup --skip-zettlyExplicitly skip Zettly on fresh install (never resets connected accounts)
Environment diagnosticsdevwf doctorVerify Node.js, Git, SQLite storage, and optional integrations
Source checkoutgit clone https://github.com/programinglive/dev-workflow.git && cd dev-workflow && npm ciReproducible install from package-lock.json for contributors

2b. Optional Per-User Zettly Integration & Isolation

DevWorkflow requires no Zettly account, PocketBase, Tailscale, or external monitor. If you choose to connect your own Zettly account, credentials are stored per-user in ~/.devworkflow/ (or DEVWF_PROFILE_DIR) with zero shared owner defaults. Supply tokens securely via interactive hidden prompt, --token-stdin, or ZETTLY_API_TOKEN (raw --token CLI arguments are disabled).

npx devwf zettly status --json
printf '%s' "$ZETTLY_API_TOKEN" | npx devwf zettly connect --url https://your-zettly.example --token-stdin
printf '%s' "$ZETTLY_NEW_TOKEN" | npx devwf zettly switch --url https://other-zettly.example --token-stdin --confirm
npx devwf zettly disconnect --confirm

3. Register an AI Coding Client & Verify MCP Tools

Point your coding client's MCP stdio configuration to node /path/to/dev-workflow/index.js, then run devwf fleet doctor --json (with DEVWF_PUBLIC_LOCAL_FIRST=1 for local-first standalone checks) to verify client registration and stdio initialize/tools/list resolution.

DEVWF_PUBLIC_LOCAL_FIRST=1 npx devwf fleet doctor --json

4. Create and Inspect a Workflow Task

From your coding agent, invoke start_task with description, type, projectDir, plan, and definitionOfDone. Inspect progress at any time with get_workflow_status or check_ready_to_commit.