The Agentic Lead Gen System

Replace the $96k SDR.

A five-agent architecture that scouts leads, researches contacts, writes personalized outreach, tracks responses, and manages follow-up - for $200 a month.

$200/mo
Total Stack Cost
Replaces a $96,000/year SDR.
Or skip the build

Hiring an SDR is expensive, slow to ramp, and fragile - one bad quarter and you are back to zero. The agentic stack does not quit, does not have bad months, and scales linearly with your contact volume. This playbook is the complete architecture.

Book a Free Strategy Call →
Daniel Matias, Founder of Deep Loom
Daniel Matias
Founder, Deep Loom
100+ AI Systems Built
Chapter 01

The Architecture

The agentic lead gen system is not a single tool - it is a coordinated workflow of five specialized AI agents, each responsible for one discrete function in the prospecting pipeline. Think of it as a fully staffed SDR team, except each "team member" is an automated workflow that runs 24/7 without oversight.

The design principle is single responsibility per agent. Each agent does one thing exceptionally well and hands off a clean output to the next. This modularity means you can upgrade or replace any single agent without rebuilding the entire system - and it makes debugging simple, because failures are isolated to one component.

System Overview

AgentFunctionInputOutputTools
ScoutFind and filter leadsICP criteriaVerified lead listApollo, Clay, LinkedIn
ResearcherDeep research each contactLead listEnriched contact profilesClay, LinkedIn, Clearbit
WriterGenerate personalized outreachEnriched profilesPersonalized email draftsClaude, Clay
TrackerMonitor sends, opens, repliesCampaign sendsEngagement data + alertsInstantly, HubSpot
CloserRoute hot leads, manage follow-upEngagement signalsMeeting bookings + CRM updatesCalendly, HubSpot, Claude

The five agents communicate through a shared data layer - typically a combination of a CRM, a Clay table, and a webhook-driven automation platform like Make or n8n. Each agent reads from and writes to this shared layer, which means the entire pipeline is visible, auditable, and adjustable from a single dashboard.

“Every agent should be replaceable. The system should outlast any single tool in it.”
Deep Loom Architecture Principle
Chapter 02

The Scout Agent

The Scout Agent is the top of the funnel. Its job is to continuously find and qualify new contacts that match your ICP criteria - without you touching a spreadsheet. It runs on a defined schedule (typically daily or weekly) and deposits verified, filtered leads directly into your shared data layer.

A well-built Scout Agent does not just pull contact names and emails. It applies a three-stage filter that eliminates bad-fit leads before they ever reach the Researcher Agent - saving research compute on contacts that will never convert.

Scout Agent Build Specification

  • Stage 1 - Firmographic Filter: Apollo query scoped to company size, industry, geography, revenue band, and tech stack. Target 500–1,000 raw contacts per run.
  • Stage 2 - Signal Filter: Clay waterfall checks each contact for recent LinkedIn activity (posted in last 30 days), job title seniority match, and company growth signals (hiring, funding). Drops contacts with no recent activity.
  • Stage 3 - Email Verification: NeverBounce or ZeroBounce validates every email before output. Any contact with a catch-all or invalid email is flagged rather than dropped - some will have valid alternate emails found in Clay enrichment.
  • Output: Clean CSV deposited into the shared Clay table with all filter metadata attached, ready for the Researcher Agent.
  • Schedule: Runs every Monday at 6am to ensure a fresh lead batch is ready before the work week begins.
Tools: Apollo, Clay, LinkedIn Sales Navigator, NeverBounceBuild: 3–5 daysSaves: 8–12 hrs/week of manual prospecting
Chapter 03

The Researcher Agent

The Researcher Agent transforms a raw contact record into a rich prospect profile. It pulls data from multiple sources, synthesizes it into structured fields, and produces the personalization inputs that the Writer Agent needs to generate genuinely relevant outreach.

The difference between a 2% reply rate and a 12% reply rate is almost entirely traceable to the quality of research behind each email. The Researcher Agent makes deep research economically feasible - what would take a human SDR 20 minutes per contact takes the agent under 60 seconds.

Data PointSourceUsed For
Recent LinkedIn post topic + toneClay LinkedIn scraperPersonalized opener in email
Company website headline / value propClearbit / Clay web scraperMirror their language in outreach
Recent funding or hiring newsCrunchbase, LinkedIn JobsTrigger-based opener
Tech stackBuiltWith via ClayRelevant tool integrations to mention
Mutual connectionsLinkedInSocial proof opener if connection exists
Recent content published (blog/podcast)Clay web scraperShow you did your homework

The Researcher Agent outputs a structured enrichment object per contact - not free-form text, but JSON with labeled fields. This structured format is critical because the Writer Agent downstream will use these fields as variables in its prompt template, ensuring reliable, consistent personalization output.

Chapter 04

The Writer Agent

The Writer Agent takes the enriched contact profile from the Researcher Agent and generates the complete outreach sequence for that contact - a five-email sequence, each email personalized to that individual, each with a distinct angle. This is where the AI capability is most visible: what would take a skilled copywriter 45 minutes per contact now takes seconds.

The Writer Agent is powered by a carefully engineered prompt template - not a generic "write a cold email" instruction, but a structured prompt that specifies tone, format, angle, length, and which personalization variables to use from the Researcher Agent output.

Writer Agent Prompt Template Structure

  • System context: Define the persona - who is writing this email, what company they represent, what the core offer is, and the brand tone (direct, confident, no fluff).
  • Personalization injections: Insert the enrichment variables from the Researcher Agent - recent post topic, company pain point, trigger event, tech stack reference.
  • Email structure rules: Opener must reference the personalization data. Value prop in one sentence. Pain point in one sentence. CTA is one low-friction question. Signature is plain text, no graphics.
  • Output format: Return all five emails as a JSON array with fields: subject_line, body, angle_label, day_to_send. This structured output loads directly into Instantly via API.
  • Quality guardrails: If personalization data is missing or insufficient, return a flag rather than generating generic copy - human review is required before that contact is sent.
Tools: Claude API, Clay, Instantly API, MakeBuild: 2–3 daysSaves: 45+ minutes per contact sequence
Chapter 05

The Tracker Agent

Once sequences are live, the Tracker Agent monitors engagement signals and surfaces them to the right place at the right time. It is the awareness layer of the system - without it, you are flying blind on campaign performance and missing real-time signals that indicate buying intent.

The Tracker Agent watches three signal types: opens, replies, and link clicks. Each signal type triggers a different downstream action - not all opens are equal, and the system needs to distinguish between a contact who opened once and one who opened five times on the same email.

SignalThresholdAction Triggered
Open - single1 openNo action. Normal behavior.
Open - repeat3+ opens same emailFlag as high-intent → alert sent to Closer Agent
Link clickAny clickRoute to Closer Agent immediately
Positive replyAny positive replyPause sequence → Closer Agent takes over
Negative replyAny opt-out / negativeSuppress contact → add to do-not-contact list
No engagement0 opens after 5 emailsRoute to 90-day follow-up sequence

The Tracker Agent runs as a webhook listener connected to your sending platform (Instantly or Smartlead). Every send event, open event, click event, and reply is pushed in real time to a central data store, which the Tracker Agent processes and routes according to the logic above.

This real-time routing is critical. A contact who opens your email five times in one morning is thinking about you right now - the Closer Agent should reach out within hours, not days. Timing is a massive leverage point in outbound, and the Tracker Agent makes precise timing possible without manual monitoring.

Chapter 06

The Closer Agent

The Closer Agent is where the automated pipeline hands off to human-ready action. It does not close deals - that is still a human's job. What it does is prepare the conditions for a human to close efficiently: routing hot leads, sending the right follow-up at the right time, booking calls automatically, and updating the CRM so nothing falls through the cracks.

The Closer Agent receives inputs from the Tracker Agent - primarily high-intent signals - and executes one of four playbooks depending on the signal type and the contact's stage in the sequence.

TriggerCloser Agent PlaybookOutput
Positive reply receivedClassify reply sentiment → draft human-approved response → book call if appropriateCRM updated, call booked, reply staged for review
High-intent open signalSend a value-add touchpoint email automatically within 4 hoursTimed email sent, CRM updated with intent score
Link click to pricing/case studiesImmediate LinkedIn connection request from founder + personalized messageLinkedIn action queued, CRM flagged as hot
Call bookedSend pre-call research brief to founder + pre-call prep email to prospectFounder briefed, prospect primed, CRM updated
Chapter 07

Deploying the Stack

The deployment sequence matters. Building all five agents simultaneously creates a complex debugging environment - when something breaks, you do not know which agent is responsible. The correct approach is to build and test each agent in isolation before connecting them into the full pipeline.

Expect four weeks from start to full deployment if you are building this yourself. The timeline below assumes you have basic familiarity with Clay, Make/n8n, and the Claude API. If you are starting from scratch on all three, add two weeks for tooling orientation.

WeekBuild FocusKey Milestone
Week 1Scout Agent + list infrastructureFirst clean lead batch produced
Week 2Researcher Agent + enrichment logicEnriched profiles generating correctly
Week 3Writer Agent + Tracker AgentFirst AI-generated sequences reviewed and approved
Week 4Closer Agent + full pipeline connectionEnd-to-end test run with 20 contacts
Week 5+Optimization + scaleVolume increase + monitoring loop established

Ongoing Maintenance

Once deployed, the stack requires approximately 2–3 hours of maintenance per week - reviewing the Writer Agent output sample, monitoring Tracker Agent alerts, responding to Closer Agent flagged contacts, and reviewing weekly performance metrics. This is the total operational cost to run what would otherwise require a full-time SDR.

The system degrades if left unattended for too long. Apollo data goes stale, prompt templates become outdated as your market evolves, and sending domain reputation requires monitoring. Schedule a monthly system review - 90 minutes once a month - to catch and correct drift before it compounds into a performance problem.

$200/mo
Total Stack Cost Breakdown
Clay $149 · Instantly $30 · Claude API ~$20 · Make $10
  • Build and test each agent in isolation - connect them only after each passes a standalone test with 20 contacts.
  • Document every prompt template, Clay workflow, and webhook configuration on day one - not after the fact.
  • Monitor domain reputation weekly using Google Postmaster Tools - catch deliverability issues before they cascade.
  • Review Writer Agent output sample daily for the first two weeks, then weekly once quality is consistent.
  • Scale contact volume by 25% per week, not overnight - protect domain reputation during ramp.
DL

Replace the SDR. Keep the pipeline.

Deep Loom has deployed this exact agent stack for founders across SaaS, consulting, and professional services - and the results are consistent. You get more qualified outreach, faster, at a fraction of the cost of a human SDR team.

Book a strategy call with Daniel. We will audit your current prospecting workflow, identify where agents can replace manual effort immediately, and build a deployment plan with realistic timelines and cost projections.

  • Full 5-agent stack designed for your ICP and tech stack
  • Clay workflow built and tested before handoff
  • All sending infrastructure configured and warmed
  • 30-day post-launch monitoring and optimization included
Book a Free Strategy Call →
Daniel Matias, Founder of Deep Loom
Daniel Matias
Founder, Deep Loom
100+ AI Systems Built