Pain Points with Agents
Long-lived chains were hard to debug, costly, and introduced multiple failure points.
Server Actions
Moving orchestration into typed server actions reduced bundle size and let us share validation with Zod.
Edge Functions
Latency-sensitive steps like embeddings are now colocated with data using Vercel Edge functions, keeping p95 below 400ms.
Observability
With Next.js instrumentation hooks we attach span metadata for every AI call, giving SREs clarity during incidents.