Client Brain

Upload
Ingest
Store
Deploy
Build
Connect
audio
pdf
text
video
form
url
Step 1

Upload artifacts

Operators and clients upload raw materials — stage recordings, discovery calls, PDFs, brand bibles, intake forms, competitor lists. Each artifact is stored in R2 and registered for processing.

13 artifacts in the Maya Chen demo
Validate
Route
Transcribe
Chunk
Embed
Tag
Step 2

Ingest and process

Each artifact goes through a 10-step ingestion pipeline. Audio is transcribed with speaker diarization. Text is chunked into ~500-token segments with overlap. Each chunk is embedded into a vector and auto-tagged by topic.

Deepgram Nova-3 bge-large embeddings Claude Haiku tagging
D1 chunks, profiles, artifacts
Vectorize semantic search (1024-dim)
R2 raw files, transcripts, outputs
Step 3

Knowledge base

Processed chunks live in a structured knowledge base — searchable by meaning, not just keywords. Client profiles aggregate identity, offer, audience, voice, positioning, and proof into a single queryable record.

199 chunks indexed for Maya Chen
get_profile() search_chunks() fetch_context_bundle() update_profile() list_artifacts() save_generation()
Step 4

MCP server

A dedicated MCP server exposes the knowledge base to Claude Code. Ten tools let an operator's AI assistant read profiles, search chunks by meaning, pull context bundles for generation, and write results back.

10 MCP tools available
$ /client-brain build-funnel maya-chen Fetching context bundle... Generating VSL landing page... Generating opt-in page... Build complete: 4 pages in dist/
Step 5

Claude Code skill

A local Claude Code skill pulls the full client context via MCP, then generates marketing output — funnels, email sequences, creative briefs. The output uses the client's actual voice, positioning, and proof. Not generic templates.

Claude Sonnet / Opus Client voice rules
maya-chen-funnel.pages.dev
Step 6

Deploy

Generated funnels are built as static HTML with client data interpolated from the API. Deployed to Cloudflare Pages — each client gets their own subdomain. Fast, global, zero infrastructure to manage.

Cloudflare Pages Static HTML
Built on
Cloudflare · Deepgram · Anthropic · Astro