prototype multiple approaches in parallel

Stop debating. Start building. Spawn AI agents with different constraints and compare real working code.

Install
curl -fsSL https://raw.githubusercontent.com/aaronbatchelder/protoflow/main/install.sh | bash

Demo

ProtoFlow demo showing parallel prototyping

How it works

1

Define your task

Describe what you want to build in plain language

2

Add approach constraints

Specify 2-4 different strategies or technologies to try

3

Watch agents build

Each approach runs in its own terminal with isolated git branches

4

Merge the winner

Compare working prototypes, merge your favorite

Quick start

cd ~/your-project
protoflow

Interactive prompts will guide you through task and approach setup.

Example: Non-interactive mode

protoflow "Add user authentication" \
  --repo ~/projects/myapp \
  --approach "Use Passport.js with sessions" \
  --approach "Use JWT tokens"

Use cases

Onboarding flows

Compare UX patterns side-by-side

protoflow "Build user onboarding flow" \
  --approach "Multi-step wizard with progress bar" \
  --approach "Single-page form with sections" \
  --approach "Conversational chat-style onboarding"

Dashboard layouts

Test information hierarchy options

protoflow "Create analytics dashboard" \
  --approach "Card-based grid layout" \
  --approach "Data-dense table view" \
  --approach "Interactive charts focus"

Navigation patterns

Validate mobile-first designs

protoflow "Implement main navigation" \
  --approach "Bottom tab bar (mobile-first)" \
  --approach "Hamburger menu with slide-out" \
  --approach "Persistent sidebar"

Prerequisites