← Back to work

AGENTIC AI

DeepAgent for funnels: Autonomous agents for funnel launch, with server-enforced approval

DeepAgent for funnels built solo

6 min read

↗ Visit live product

2

autonomous agents (Clone, Edit)

5

stages: research to QA

2

server-side approval layers

My role

DeepAgent is the autonomous layer on top of the Unify V6 platform. I built it solo, on my own initiative.

Team: the platform is a team product; DeepAgent was just me.

How I measure it

North star: One request to a QA-verified live funnel (previously days of manual research, design, and coding).

Guardrails

  • Nothing mutates without explicit human approval in the current turn
  • QA agent verifies the deployed funnel end to end
  • 99.95% checkout uptime SLA underneath

When the next model ships

A stronger model plans and builds better, but the safety guarantee doesn’t depend on it. Approval is enforced on the server, so nothing changes without a human yes, whichever model runs. Every run is traced and scored into the eval set, so an upgrade can be compared against past runs.

Demo walkthrough

A real DeepAgent for funnels session: request → research ∥ design → human approval gates → coding sub-agents · Full interactive showcase ↗

DeepAgent web UI — live agent plan, parallel research and design subagent dispatch, and human approval gate cards

TL;DR

DeepAgent for funnels is a pair of self-planning agents, built on LangChain DeepAgents, that take a direct response funnel from one request to a QA-verified live deploy. I built it solo, on my own initiative, on top of Unify CMS. Approval is enforced on the server in two layers, so an agent can propose anything but change nothing without a human yes.

The Problem

Launching a funnel meant stitching together a builder, a CRM, SSL, email, captcha, BIN routing and ad pixels, then re-typing the same products, prices and shipping rules across every tool. The platform removed the need for a developer. It still left hours of manual research, design and setup per funnel.

The question I set out to answer: can an agent do that setup the way an experienced operator would, and what has to be true before it is allowed to touch a live funnel that runs on a $6M/day checkout?

How it works

It is two self-planning agents, built on LangChain DeepAgents, that operate the platform the way an experienced operator would.

DeepAgent for funnels web UI — live agent plan, parallel subagent dispatch, approval gate cards, token streaming

The agent console: a self-written live plan, parallel research and design subagents, approval gate cards with exact tool arguments, and token-level streaming.

Clone agent — the end-to-end chain. Give it a request ("I want a funnel for unisex t-shirts, USA, 18–35") and it runs the full lifecycle a human team used to do manually:

  1. Research agent — market research with cited sources: what funnel type is working in this niche (one-page, two-page, e-commerce), how many upsells and downsells the offer should carry, which templates fit.
  2. Design agent — runs in parallel: best-fit palette, typography, and hero copy for the niche.
  3. Approval gate — everything is gated. The merged research + design + build plan waits for the user, who can approve, edit, or answer with their own direction. Nothing mutates without it.
  4. Supervising coding agent — once approved, an orchestrated coding lead dispatches N parallel sub-agents, each owning a different file so there's no conflict.
  5. QA agent — checks the deployed funnel end to end before the run is called done.

What used to take days of manual research, design, and coding is now one request to a QA-verified live funnel.

Edit agent — opens a funnel by id, shows current state, presents a before → after diff for requested changes, and offers flowboard-version rollback if a deploy goes wrong.

Decisions at a glance

Product decisionReasoning
Agent vs deterministic pipelineBoth exist. The deterministic LangGraph onboarding pipeline handles the known path; DeepAgents handle the open-ended one. Separate workspaces so neither can break the other.
Acceptable failure modeAn agent proposing a bad funnel is fine; an agent mutating anything unapproved is not. Approval is server-enforced in two layers — LangGraph interrupts on every mutating tool, plus a deterministic gate that refuses execution without an explicit approval in the current turn. The prompt is defence-in-depth, not the barrier.
Why parallel subagentsResearch and design are independent; running them concurrently roughly halves time-to-plan and keeps each context small.
How it's evaluatedOffline evals plus online scoring: every 👍/👎 in the UI is recorded into the eval set, Langfuse traces every run, and an opt-in loop mode does graded auto-retry with critique and human-approved prompt self-tuning.
MemoryThree-layer durable memory with time-travel rewind — threads survive restarts through durable checkpoints; conversations over 60k tokens are summarized, keeping the last 20 messages verbatim.
Key handlingBYOK — the user's OpenAI/Anthropic key lives in the browser tab's sessionStorage only, never on the server.

Agent stack

See it yourself: the full interactive showcase covers architecture, the clone flow, evals, security, and a recorded end-to-end session — clone → research ∥ design → approval gates → deploy → live verification.

What broke building this, and what I changed

Agents that deploy live funnels on a $6M/day checkout can't be trusted on good behaviour, so these failure modes were designed out before production: