How I design an AI agent

From a validated problem to a working prototype. The tech team then builds it for production.

Agent architecture

One orchestrator routes each request to the right worker. Each worker gets only the tools it needs.

User request
Guardrails: scope, honesty, cost and token limits, no customer data out
OrchestratorTry itFast, cheaper model

Talks to the user, routes the request, sums up. Never writes the strategy itself.

  • OnboardingTry it

    Collects the must-have facts, then hands over.

    Fast model
    Profile memoryBrand reader
  • Researcher

    Outside-in: brand, competitors, trends.

    Strong model
    Web browseSocial scraperKnowledge base
  • Strategist

    The thinker: growth plan, offers, segments.

    Strong model
    Sales dataGrowth plan skillEmail, ads, retention
  • Creative Director

    Makes the posts, ads and videos.

    Fast model
    Image and videoBrand voice
  • Performance AnalystTry it

    Results and the morning brief.

    Fast model
    Campaign dataDaily brief skill
  • Execution ManagerLater

    Sends on email, ads and WhatsApp.

    Fast model
    Channel sends
Person approves Sent to customers

Fast model where it talks the most, strong model where it thinks. Kit 3 below is a 3-worker version you can try.

Problem first, then solution

I use the Double Diamond: each side opens to explore, then narrows to prioritise and validate.

DiscoverRead chats and data. Find where users drop.Evidence
DefinePrioritise one problem. Validate it with numbers.BRD
DevelopDesign the flow, prompts, roles and guardrails.PRD
DeliverPrototype it, A/B test it, then decide.Prototype
My scope ends at the prototype. The tech team builds production from the PRD and the prototype.

Case study: a pain-catching agent

A WhatsApp onboarding agent that finds a new user's real problem, then offers one matching plan.

The full documents are confidential. This is a condensed version, with the company removed and illustrative numbers.

How might we

How might we catch each user's real problem during onboarding, so we offer the one service that solves it?

Bagaimana agent bisa menangkap masalah nyata setiap user saat onboarding, supaya kita menawarkan satu layanan yang menyelesaikannya?

Validation: what users told us

Said their problem Left a clue in what they asked for Gave no signal at all

From hundreds of chats read one by one. Illustrative numbers, not the real data.

Root cause

The agent made things but never asked why the user came. Without the pain, the offer stayed generic and few users bought.

Agent membuat konten tapi tidak pernah bertanya kenapa user datang. Tanpa tahu masalahnya, tawaran tetap umum dan sedikit user yang membeli.

Objectives

15%50%Users who show their problem
5%20%Users who reach the paid offer

Keep or kill rule

After 4 weeks: keep if 15% or more reach the offer. Rework the questions if under 40% share their problem.

Setelah 4 minggu: lanjut jika 15% atau lebih sampai ke tawaran. Ubah pertanyaannya jika kurang dari 40% menyebut masalahnya.

Scope

In
  • One problem question, one choice
  • Infer from behaviour when silent
  • One plan matched to the problem
  • From plan to sign-up, inside the chat
Out
  • Price changes
  • Ad lead quality
  • New creative features
  • Self-learning matcher

Risks and mitigations

Users feel interrogatedOne question per message, always after a result
Wrong guess, wrong planEvery guess confirmed with one tap
Data not trustedOne source of truth before measuring

Try my agents on your platform

Copy a system prompt into Hermes Agent, Claude, ChatGPT or any AI agent platform. Simple versions, no tools needed.

Each kit is one piece of the architecture above, simplified to run in a single chat.

© 2026 Garda Bramantyo Dwi SeputroBack to the portfolio