Model A
Ports
Local preview servers bound to comparison sessions.
Agent A
Agent B
Occupied by an unknown process.
Model B
New Comparison
Compare multiple models on the same session input.
Many models, one input
ActiveReuse one prompt and starter across multiple models.
One model, many inputs
Hold the model fixed; vary prompt/template pairs.
Prompt
Models
Model A
Sample run
Models
AI UI Comparator
Local side-by-side AI UI generation
What
A local tool for side-by-side comparison of how AI models generate UI. A custom pi-agent runs a tight look → read → write/edit loop with four tools, and each worker is isolated by Anthropic's sandbox-runtime.
Technicals
Installable on Linux with a single script. Express API + React UI; Postgres for batches, prompts, and run state. Each session gets an isolated workdir from a starter template with network isolation except OpenRouter for model calls; agent events stream over SSE; completed runs launch managed Vite previews with a port registry that can reap orphans.
Why
Comparing UI-capable models meant juggling prompts, starters, and sandboxes by hand. This is the local answer — reusable prompts, isolated workers, side-by-side results, all on your machine.
Where
Upcoming
- Replace the Postgres container with SQLite to simplify operations