Case study · AI outreach SaaS

Colderly: an AI agent that runs B2B outreach end to end

I designed, built and launched Colderly on my own. It takes a sales team from deciding who to sell to, through finding and qualifying those people, to a personalized video and email in each prospect's inbox. An AI agent can run every step, and a person approves anything that costs money or sends mail.

Role
Founder & CEO · sole engineer
When
Where
Remote
Links
colderly.io
Lead search, 200M+ records
25 s+→< 100 ms
Great Britain filter: 93 ms
Video render per lead
126 s→34 s3.7× faster
System prompt served from cache
~15.9k tokens
Every call after the first
MCP tools for outside agents
54
Paid steps wait for a person
On this page
  1. Architecture
  2. Context
  3. What I owned
  4. The pipeline
  5. The agent layer
  6. How a paid step runs over MCP
  7. Guardrails
  8. Hard problems
  9. Stack
  10. Outcomes
  11. What this shows

Architecture

How Colderly fits togetherWeb app to Main API: REST · SSE. Outside agents to Main API: MCP · API key. Main API to Sending platforms: launch. Main API to OpenAI API: tool calls. Main API to PostgreSQL: read-only SQL. Main API to MongoDB: state. Main API to Companion workers: HMAC jobs. Eval harness to OpenAI API: offline evals. Companion workers to Zoom Clips: upload clipsREST · SSEMCP · API keylaunchtool callsread-only SQLstateHMAC jobsoffline evalsupload clipsWeb app (client)Web appReact · Vitelive run streamOutside agents (agent)Outside agentsClaude, Codex over MCPSending platforms (external)Sending platformsPlusVibe · SmartleadInstantly · EmailBisonMain API (service)Main APIExpress · agent runnerMCP server (54 tools)OpenAI API (model)OpenAI APItool callscached promptPostgreSQL (data)PostgreSQL200M+ lead recordsMongoDB (data)MongoDBlists · runs · memoryCompanion workers (worker)Companion workersBullMQ · PuppeteerFFmpegEval harness (tool)Eval harnessrule compliancescore agreementZoom Clips (external)Zoom Clipsper-account daily caps
How Colderly fits together. The main API runs the agent and the MCP server; per-user companion workers scrape and render video, and report back by webhook.
Diagram as text
  • Web app → Main API: REST · SSE
  • Outside agents → Main API: MCP · API key
  • Main API → Sending platforms: launch
  • Main API → OpenAI API: tool calls
  • Main API → PostgreSQL: read-only SQL
  • Main API → MongoDB: state
  • Main API → Companion workers: HMAC jobs
  • Eval harness → OpenAI API: offline evals
  • Companion workers → Zoom Clips: upload clips
The agent loopUser to Agent runner: message. Agent runner to Approval gate: proposal. Approval gate to User: approve?. Agent runner to Event log: events. Agent runner to LLM: prompt. Agent runner to Colderly tools: tool calls. Agent runner to memory.md: context. Eval harness to LLM: before/aftermessageproposalapprove?eventsprompttool callscontextbefore/afterUser (person)Userchat · answersapprovalsApproval gate (tool)Approval gatespend credits or sendmailEvent log (data)Event logappend-onlySSE replayAgent runner (agent)Agent runnertool-calling loopresumable runsLLM (model)LLMplaybook + memory,cached prefixColderly tools (tool)Colderly toolslead text is read asdatamemory.md (data)memory.mdapproved profile + ICPEval harness (tool)Eval harnessmeasures prompt changes
The agent loop. Every message starts a run. Paid or sending steps stop at an approval gate, and the run resumes from its saved transcript.
Diagram as text
  • User → Agent runner: message
  • Agent runner → Approval gate: proposal
  • Approval gate → User: approve?
  • Agent runner → Event log: events
  • Agent runner → LLM: prompt
  • Agent runner → Colderly tools: tool calls
  • Agent runner → memory.md: context
  • Eval harness → LLM: before/after

Context

Cold outreach usually runs on a separate tool for each step: a lead database, a scraper, an enrichment service, an email verifier, a copywriter, a video tool and a sender. Data drifts between them, and real personalization takes hours per lead.

Colderly puts the whole pipeline in one product and hands the repetitive work to AI. I started it in September 2025, built every part myself, and launched it in October 2026.

What I owned

  • Product
  • AI agents
  • Backend
  • Data
  • Video pipeline
  • Frontend
  • DevOps
  • Founded the company and run it as CEO.
  • Built every part as the sole engineer: the data layer, sourcing and enrichment, video rendering, sending integrations, the in-app agent, the MCP server and the web app.
  • Wrote the 15-stage outreach playbook the agent follows, from discovery and ICP to launch and replies.

The pipeline

Each stage is a product feature and an agent tool. The diamonds mark approval gates: the agent proposes the plan and its credit cost, and nothing runs until the user agrees.

  1. Define the ICP

    The agent reads the client's website, works out who their best buyers are, and saves the approved business profile and ICP to memory so it never asks again.

  2. Source leads

    The ICP decides the source. Counting is free, so the agent sizes the audience before anyone spends a credit.

    Contact database200M+ records by role, industry, company size and location. The default for SaaS, agencies and professional firms.
    Google MapsLocal businesses found over a map grid through rotating proxies, then enriched to find the decision maker.

    Plan and approval before any scrape or import

  3. Qualify

    An LLM scores every lead against the campaign's ICP and copies the fits into a shortlist, best first, one per company.

  4. Verify emails

    The user picks valid-only or catch-all too, and each survivor gets a verification status.

    Approval before verification spends credits

  5. Personalize

    One webcam recording becomes a video per lead: the bubble over a scroll of the lead's own website, with a voice-cloned greeting that says their name. Personalized first lines and one email template per list complete the message.

  6. Launch

    Leads, lines and video links go to the user's sender (PlusVibe, Smartlead, Instantly or EmailBison), or the clip goes out as a Zoom share.

    Approval before any real mail goes out

  7. Handle replies

    Replies come back to the user, and the playbook's last stages cover reply handling and what to test next.

The agent layer

The same pipeline is exposed to two kinds of agent, and both follow the same rules.

In-app strategist

Works through the staged playbook, asks each stage's questions in one batch, shows plans as cards for approval, and hands all writing to dedicated copywriting tools. It replies in English, Bangla or Banglish.

  • discovery
  • icp
  • positioning
  • targeting
  • database
  • qualify
  • verification
  • video
  • personalization
  • copy
  • outreach
  • launch
  • replies
  • testing

MCP server

54 tools let an outside agent such as Claude run a campaign end to end. The outside agent writes the copy itself, and the server checks it against the same writing rules.

  1. get_memory
  2. read_website
  3. save_business_profile
  4. count_contacts
  5. import_contacts
  6. start_enrichment
  7. verify_emails
  8. set_fit_scores
  9. create_shortlist
  10. set_personalized_lines
  11. save_email_template
  12. create_campaign
  13. send_to_platform
  14. launch_platform_campaign

Guardrails

  • Spending and sending only propose

    Tools that cost credits, send real mail or delete data return a plan. They run only through confirm_action, after the user agrees.

  • Free estimates come first

    Counts and campaign and verification estimates cost nothing, so the agent prices a plan before asking for approval.

  • Long jobs are asynchronous

    Scrapes, imports, enrichment and verification return an id the agent checks later, so no call blocks on a slow job.

  • Writing rules are checked on the server

    The agent reads the rules before writing, and the save tools apply the same rules and say exactly what to fix.

  • Outside text stays data

    Website and lead text in tool results is marked as data, never instructions, which blocks prompt injection from scraped pages.

  • No secrets in chat

    Users connect Zoom accounts, proxies and sending platforms in the dashboard. Keys never pass through the agent.

  • Approved context persists

    The business profile and ICP live in a memory file the user approved, so every session starts from what's already decided.

  • Facts are never invented

    The agent may not make up results, pains or triggers, and it labels any guess as a hypothesis.

Hard problems

02

Thousands of personalized videos on a small server

Video render per lead
126 s→34 s3.7× faster
Videos per worker, 4 vCPU VPS
~19 / hour
Two workers double throughput

Problem

Every lead gets a video: the sender's webcam bubble over a scroll of the lead's own website, with a voice-cloned greeting that uses their name.

The first renderer piped every frame as a PNG into a single-threaded VP9 encoder, which fell about a minute behind per minute of video.

Approach

  • Chrome's screencast now writes JPEG frames to disk with their timestamps while the page scrolls. Nothing is encoded live.
  • Capture stops at the bottom of the page and the last frame is held, so a short site doesn't cost a full minute of capture.
  • One FFmpeg pass builds the video: frames, fps, the masked webcam overlay, x264. A sales video is appended by stream copy in about 0.03 s.
  • A planner spreads each batch across the user's Zoom accounts and days, within each account's daily cap.

Result

Render time per lead dropped from 126 s to 34 s on the same machine, 3.7× faster.

On a 4 vCPU, 8 GB VPS one worker makes about 19 videos an hour, and two workers double that.

03

An agent that is reliable and affordable

System prompt served from cache
~15.9k tokens
Every call after the first

Problem

The agent carries an 8.5k-token playbook and the user's memory into every call, and it can start paid jobs and send real mail.

Approach

  • The system prompt is ordered for the provider's prefix cache: fixed instructions, then the playbook, then the user's memory.md last.
  • An offline eval harness runs the real line writer, copywriter and scorer on real lists and reports rule compliance and agreement with hand-labeled fit scores, so prompt changes ship on numbers.
  • Lead scoring sends 25 leads per call in JSON mode with 3 calls in flight, and reads back only a score and a short reason, so lead text can't steer the agent.
  • Runs are resumable: approvals and questions pause the loop, and the model transcript and the UI event log are kept as separate logs.

Result

After the first call, the whole ~15.9k-token prompt, tools included, is served from cache.

Stack

AI
  • OpenAI API
  • MCP SDK
  • Tool calling
  • JSON mode
  • Prompt caching
  • Evals
Backend
  • TypeScript
  • Node.js
  • Express
  • Zod
Data
  • PostgreSQL
  • MongoDB
  • Redis
  • BullMQ
  • AWS S3
Media
  • Puppeteer
  • Chrome DevTools Protocol
  • FFmpeg
  • Voice cloning
Frontend
  • React
  • Vite
  • Redux Toolkit
  • React Query
  • Mapbox GL

Outcomes

  • Launched in October 2026. New accounts join from a waitlist and are approved by hand.
  • One product covers ICP research, sourcing, qualification, verification, video, copy and launch.
  • Any MCP-capable agent can run a campaign end to end, with a person approving every paid step.

What this shows

For teams hiring an AI Engineer or Forward Deployed Engineer:

  • Agent design that holds up in production: tool-calling loops, approval gates, resumable runs, memory and prompt-injection defenses.
  • Evals before prompt changes, and prompt caching to keep cost down.
  • Data and media engineering at scale: 200M+ records and thousands of rendered videos on modest hardware.
  • Full ownership from a customer's problem to a launched product, as a founder.