How I Build

The Loop

I ideate with Claude, architect with Compound Engineering, build with Claude Code, deploy through Vercel, and hand off maintenance to PaperclipAI. Five phases. One loop. AI agents at every stage.

01

Ideate

Claude + Compound Engineering

I start every project by thinking with Claude. Not writing code — thinking.

Exploring the problem space, mapping who it’s for, what’s been tried, what’s missing. The Compound Engineering plugin gives this structure: ideation mode to explore wide, brainstorming to go deep on the strongest idea. I stay here until I know exactly what to build.

Claude
You/ce:ideate What if we built an open-source AI proxy that handles multi-tenant distribution?
ClaudeInteresting. The core challenge is isolation — each org needs its own data boundary, auth, and usage controls without cross-contamination...
YouSSO, SCIM, and RBAC are non-negotiable. Enterprise orgs won't touch it otherwise.
ClaudeAgreed. Let me map the tenant lifecycle — provisioning, user sync, model routing, and audit logging...
02

Architect

Claude Code + CE Workflow

Once I land on the idea, I follow the Compound Engineering workflow all the way through.

Brainstorm → plan → spec. Every API surface defined. Every edge case documented. By the end I have a complete technical specification — the artifact Claude Code will execute against.

agentflow-spec.md
AgentFlow — Technical Spec
Problem Statement
Tenant Isolation
Architecture
API Surface
SSO / SCIM
Edge Cases
03

Build

Claude Code

I drop the full spec into Claude Code and let it build. The whole thing. Then I walk away.

Remote control mode lets me pick up my phone and iterate from anywhere. Three-layer instruction architecture — compact prompts, AGENTS.md, in-repo CLAUDE.md — keeps it on track. The code writes itself.

Terminal \u2014 claude-code
$ claude --spec agentflow-spec.md
Reading spec...
Creating app/(auth)/login/page.tsx
Creating app/(dashboard)/page.tsx
Adding SCIM provisioning endpoint
Writing tenant isolation middleware
Generating migration files
47 files created · All tests passing
Remote control active — continue from any device
04

Ship

Vercel + GitHub

Deploy to Vercel. Hook it into GitHub. Push, preview, promote. It’s live.

Branch-based preview deploys, edge functions, push-to-production. The AI SDK powers the frontend — streaming, tool state, universal chat UI across every agent provider. Fluid compute handles the spikes.

Vercel
agentflow.devProduction
Build
34s
Functions
12
Edge
4 regions
05

Sustain

PaperclipAI

GitHub issues come in. PaperclipAI picks them up, implements fixes, and ships PRs.

It spins up Claude Code sessions, works through the issue, and opens a pull request. I review and merge. The project maintains itself.

GitHub Issues
#47 SCIM sync fails for nested org groups
Opened 2h ago
Pull Requests
#48 Fix recursive group resolution in SCIM handler
PaperclipAI · Ready to merge

And when new ideas surface from the issues —

the loop starts over.

The Stack

Every tool earned its spot by making one of these phases faster, tighter, or more autonomous.

Ship

Next.js · TypeScript · Tailwind · shadcn/ui

Think

Claude · OpenAI · LangGraph

Run

MCP Servers · n8n

Store

PostgreSQL · Supabase · Drizzle ORM · S3

Deploy

Hetzner · Docker · GitHub Actions · Tailscale · Caddy

Projects

Proof the loop works. Each of these was ideated, built, and shipped through this process.

AgentFlow

Open-source enterprise AI proxy platform

Multi-tenant AI distribution with SSO, SCIM, RBAC, and complete data isolation — designed for multi-org AI from the ground up.

Next.js · PostgreSQL · TypeScript · Docker

Intelligent Agent Router

One interface, any AI backend

Unifies OpenAI, LangGraph, AI SDK, and n8n agents under one abstraction. Presented to a ~100-person audience.

TypeScript · AI SDK · LangGraph · n8n · Express

RallyDues

Dues collection SaaS for organizations

Production SaaS for Greek orgs, HOAs, and nonprofits. Supabase RLS hardening and comprehensive security audit.

Next.js · Supabase · Better-Auth · Stripe

PlotLease

Community garden plot rental app

Garden plot management and rental platform with streamlined booking and payments.

Next.js · Supabase · Tailwind