← Back
#2

Resale Agency

An AI agent that sells your stuff for you — resaleagency.com ↗ · GitHub ↗

Selling stuff secondhand is painful. Flaky buyers, lowballers, ghosting, and endless back-and-forth scheduling. Half the time you end up giving things away for free just to be done with it.

Resale Agency handles it all — posting listings, negotiating with buyers, scheduling pickups. You set your prices and rules. The agent does the rest.

The Build

Day 1

Simple Craigslist tool

First commit. Scoped to Craigslist only. Photo upload with AI vision analysis to auto-generate listing titles and descriptions.

Day 2–3

Multi-tenant and AI negotiation

Magic link auth, seller isolation, automated buyer email handling, seller notifications. Soft-delete archival for sold items.

Day 4

The Supabase migration

SQLite → Supabase PostgreSQL. Auth → Supabase built-in. Fought CORS, cookie domains, JWT verification across subdomains.

Day 5–6

Architecture pivots

Python/FastAPI → TypeScript/Express → Cloudflare Workers. Browser automation: Playwright → Stagehand+Browserbase. Storage: local → Supabase → R2. Managed email provisioning eliminated Gmail OAuth entirely.

Day 7

Landing page and polish

Compelling storytelling landing page. Forest green theme. Top nav. Name-only onboarding. 198 commits total.

Stack: Cloudflare Workers · Supabase · R2 · Browserbase · Stagehand · Claude API