Back to Projects
ai
2026

AI Workflow Builder

A real working multi-step LLM workflow tool. v0.1 shipped three curated presets (Research → Summarise → Tweet · Code → Review → Refactor · Email → Classify → Reply); v0.2 added `fetch` and `assert` step types plus an export-to-ai-eval-YAML button; v0.3 added `runIf` conditional execution so any step can declare a condition on a prior output — two mutually-exclusive conditions in sequence form an if/else branch; v0.4 adds `parallel: true` so consecutive parallel-flagged steps fan out via Promise.allSettled — the multi-agent reviewer preset runs three reviewers concurrently then synthesises. Every prompt and input is editable in place. Each step streams independently; outputs flow into the next via {{stepId.output}} templating. Sits alongside the existing AI ops toolkit: ai-eval evaluates single calls, PR Reviewer is a fixed 4+1 workflow, this is the user-defined version. Lives at /workflow.

ai-workflow-builder

AI Workflow Builder

Technologies

Frontend

Next.js 15
React 19
TypeScript
Tailwind CSS
lucide-react

Backend

Next.js API Routes
OpenRouter (BYOK)

Database

Tools

Streaming SSE
Per-IP rate limiting
Template-string substitution
Challenges
  • Most prompt-chain tools require visual flow editors that get unwieldy fast; raw YAML editors lose the wow factor
  • Showing real-time step execution requires per-step streaming, error isolation, and visible state
  • Outputs flowing into prompts is fiddly — needs template substitution that's obvious in the UI
Solutions
  • Preset-first UX: pick a workflow, see all steps + inputs immediately, run with one click; advanced users edit any prompt inline
  • Per-step state machine (idle → running → done/error) with per-step latency surfaced; final-output card highlights the deliverable
  • Simple {{stepId.output}} and {{input.key}} substitution shown plainly in the prompt-template view — no hidden magic
Key Outcomes & Impact

Working tool with three useful real-world chains out of the box

Built on the existing /api/demo/generate route — no new server plumbing required

Natural sibling of ai-eval (evaluate single steps) and PR Reviewer (fixed workflow)

Other Projects

JobJam.io — AI Job Search & Application Platform
JobJam.io — AI Job Search & Application Platform

AI-powered job search platform: discover roles, evaluate fit, tailor applications, and close skill gaps. One-time pricing, no subscriptions.

View Project
Fathohm — Comprehension-Debt System of Record
Fathohm — Comprehension-Debt System of Record

See how much of your codebase no human understands. A treemap of your repo colored by human comprehension score, with a tracked, assignable metric for 'who understands what' in an AI-native codebase.

View Project