Skip to content

Latest commit

Β 

History

100 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎯 LeadHunterOS

Open-source AI lead intelligence and orchestration system focused on quality, transparency, and local control.

LeadHunterOS is a production-ready, modular AI agent pipeline that monitors Reddit, Twitter/X, LinkedIn, news, and Google Maps for buyer intent signals, enriches leads from multiple sources, scores them with Claude Haiku, and generates hyper-personalized outreach with Claude Sonnet β€” all orchestrated by n8n.

βœ… Core Product Principles

  • Signal-first lead discovery across multiple public channels.
  • Deterministic qualification gates and explainable ICP scoring.
  • Provider-safe enrichment waterfall with provenance and confidence.
  • CRM handoff readiness with auditability and suppression controls.
  • Local-first operation with optional cloud fallback.

πŸ—οΈ Architecture

Signal Monitors (Reddit/X/LinkedIn/Web/Maps)
          ↓
    Redis Signal Queue (dedup)
          ↓
   Enrichment Agent (public-source waterfall + optional adapters)
          ↓
   ICP Scorer (Claude Haiku 3.5) β†’ Score 0-100
          ↓
  Score 70-100: Outreach Writer (Claude Sonnet)
  Score 41-69:  Nurture Queue
  Score 0-40:   Discard
          ↓
   Outreach Sender (Gmail SMTP + LinkedIn OutX)
          ↓
      PostgreSQL (leads, signals, campaigns)
          ↓
      n8n Dashboard (orchestration + analytics)

πŸš€ Quick Start

Prerequisites

  • Docker & Docker Compose
  • Python 3.11+
  • Anthropic API key (Claude)
  • Reddit API credentials (free)

Setup

git clone https://github.com/MediaJohnD/LeadHunterOS.git
cd LeadHunterOS
cp .env.example .env
# Edit .env with your API keys
docker-compose up -d

Then visit http://localhost:5678 for the n8n dashboard.

πŸ“ Project Structure

LeadHunterOS/
β”œβ”€β”€ README.md
β”œβ”€β”€ docker-compose.yml      # n8n + FastAPI + PostgreSQL + Redis
β”œβ”€β”€ Dockerfile              # FastAPI microservice
β”œβ”€β”€ .env.example            # All 30+ environment variables
β”œβ”€β”€ main.py                 # FastAPI app (12 endpoints)
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ agents/
β”‚   β”œβ”€β”€ __init__.py
β”‚   β”œβ”€β”€ reddit_monitor.py   # PRAW async Reddit scanner
β”‚   β”œβ”€β”€ twitter_monitor.py  # Apify X/Twitter collector
β”‚   β”œβ”€β”€ web_monitor.py      # RSS + Bing News + Google Maps
β”‚   β”œβ”€β”€ enrichment.py       # Public-first enrichment waterfall
β”‚   β”œβ”€β”€ icp_scorer.py       # Claude Haiku ICP scoring
β”‚   β”œβ”€β”€ outreach_writer.py  # Claude Sonnet message writer
β”‚   └── outreach_sender.py  # Gmail SMTP + LinkedIn OutX
β”œβ”€β”€ db/
β”‚   └── schema.sql          # PostgreSQL schema
└── n8n/
    └── workflows/
        └── main_workflow.json

πŸ”§ ICP Scoring

The Claude Haiku scorer returns:

{
  "score": 85,
  "fit_reason": "VP of Sales at 50-person SaaS, mentioned switching CRM",
  "urgency": "high",
  "recommended_channel": "linkedin"
}

Thresholds:

  • 70-100 β†’ Immediate outreach
  • 41-69 β†’ Nurture queue (weekly touchpoint)
  • 0-40 β†’ Discard

πŸ“„ License

MIT License β€” free to use, modify, and deploy commercially.


Built for reliable, explainable lead intelligence workflows with continuous improvement loops.

About

🎯 Open-source AI lead hunter agent. Beats Gojiberry, Intently & Unify GTM at <$50/mo. Multi-platform intent signals (Reddit, X, LinkedIn, Web) + Claude AI scoring + automated outreach. Self-hosted with n8n + FastAPI + Docker.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages