Building an AI Agent Platform with Next.js 16 and Claude: A Technical Deep-Dive
typescript
dev.to
Last month I shipped AgentDesk — a SaaS platform where consultants and agencies can run pre-built AI agents for client intake, proposal generation, and reporting. The stack is Next.js 16, Claude Sonnet 4 with tool use, Stripe subscriptions, and Vercel. This post walks through the architecture decisions and actual code that powers it. The Problem Every consulting firm does the same repetitive work: qualifying inbound leads, writing proposals from call notes, generating client reports.