← Blog

Building Eve — A Brand Onboarding Agent for My Wife's Studio

How I built an Eve-powered agent that runs Paula Branding's client discovery interview — adaptive questions, rich UI inputs, and a PDF brief emailed to the studio when the client is done.

My wife Paula runs a brand identity studio. When a new client reaches out, she needs a clear brief before any design work starts — business context, audience, visual direction, budget, timeline. Getting that information used to mean long email threads, missed details, and a intake call before she could even quote the project.

I built an onboarding agent on Eve — the agent framework — so new clients can go through a warm, guided discovery interview on their own. When they're done, Paula gets a structured brand brief as a PDF in her inbox.

The Paula Branding onboarding agent — conversational discovery with dynamic inputs. Watch on X

What the agent does

The agent introduces itself as Paula — a thoughtful creative consultant, not a chatbot. It asks one question at a time, adapts to the client's industry, and renders the right input for each answer: single-select buttons, multi-select chips, sliders, image picks, or free text.

By the end of the interview, the client has covered everything Paula needs: business type, project scope, brand feeling, target audience, admired and disliked brands, visual style, budget, timeline, and anything else they want her to know.

Architecture: one agent, three subagents

The main agent orchestrates the conversation and delegates structured work to three subagents — question-planner builds the interview plan, answer-analyzer probes vague answers once, and brief-compiler turns the transcript into a designer-ready brief. Everything agent-side lives under agent/:

agent/
tree
agent/
├── agent.ts
├── instructions.md
├── subagents/
│   ├── question-planner/
│   ├── answer-analyzer/
│   └── brief-compiler/
└── tools/
    ├── generate_brief_pdf.ts
    └── deliver_brief.ts

Hint blocks: chat that drives real UI

Every question ends with a hidden hint block the frontend parses. That tells the UI which component to render — no generic text box for everything.

agent-chat.tsx
typescript
<!-- hint: { "type": "single-select", "options": ["Logo only", "Full brand identity", "Brand + website"] } -->

// Frontend parses the hint and swaps the composer:
const activeHint = parseHint(lastAssistantText);
// renders HintInput: buttons, sliders, image pick, etc.

From interview to PDF in one flow

When the interview is complete, the agent calls brief-compiler, then generate_brief_pdf. Puppeteer renders a branded HTML template to A4 PDF, and Resend emails it straight to the studio team. The client gets a confirmation; Paula gets a designer-ready document without touching a form builder.

brief-schema.ts
typescript
// Brief fields compiled from the transcript
{
  client_name, business_type, industry, project_scope,
  brand_feeling, target_audience, admired_brands,
  disliked_brands, visual_style, budget, timeline,
  executive_summary
}

Stack

  • Eve — defineAgent, useEveAgent, subagents, tools, withEve
  • Next.js 16 + React 19 chat UI with streaming messages
  • Claude Sonnet 4.6 as the main model
  • Zod schemas for hints, question plans, answer analysis, and brand briefs
  • Puppeteer + Chromium for PDF generation
  • Resend for studio email delivery
next.config.ts
typescript
import type { NextConfig } from "next";
import { withEve } from "eve/next";

const nextConfig: NextConfig = {};

export default withEve(nextConfig);
package.json
json
{
  "dependencies": {
    "eve": "^0.16.2",
    "next": "16.2.6",
    "react": "19.2.6",
    "ai": "^7.0.0",
    "zod": "4.4.3",
    "puppeteer-core": "^25.2.1",
    "@sparticuz/chromium": "^149.0.0",
    "resend": "^6.16.0"
  }
}