Ai Agent Pipeline banner
Teina-max Teina-max

Ai Agent Pipeline

Data community

Description

Autonomous B2B prospection pipeline — 3 AI agents (Scout → Intel → Writer) with Paperclip orchestration, Python enrichment scripts, and human-in-the-loop approval

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

AI Agent Pipeline — Autonomous B2B Prospection

![Status](https://img.shields.io/badge/status-In%20Production-red?style=flat-square) ![Python](https://img.shields.io/badge/python-3.10%2B-blue?style=flat-square) ![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)

An autonomous three-agent sales pipeline that detects, analyzes, and outreaches to qualified B2B prospects. Built for freelance automation services targeting SMEs across France.

**Status**: Actively prospecting agencies in Toulouse region (30km radius). Real-time heartbeat orchestration with human-in-the-loop approval gates.


Overview

This is a fully automated sales pipeline that runs 24/7, converting lead detection into qualified prospect emails with minimal human oversight:

  1. Scout — Weekly scan via Google Places API; detects 20+ agency targets
  2. Intel — Enriches with company data, contact discovery, and compatibility scoring
  3. Discord Gate — Human approves/rejects before copy writing
  4. Writer — Generates personalized cold emails with research-backed insights
  5. Gmail Gate — Final approval before send
  6. Send — Resend API delivery to prospect

**Cost**: ~€75/month (Resend + Supabase + APIs). **ROI**: One closed deal (25k€ contract) breaks even in 3 hours of Teina's time.


Architecture & Workflow

┌─────────────────────────────────────────────────────────────┐
│  HEARTBEAT TRIGGER (Monday 8am CET, orchestrated by Paperclip)
└──────────────────────┬──────────────────────────────────────┘
                       │
      ┌────────────────▼────────────────┐
      │  SCOUT (Detection Phase)        │
      │  scrape-maps.py                 │
      │  Google Places API              │
      │  Query: "agences immobilière"  │
      │  Radius: 30km from Toulouse     │
      │  Output: 15-25 candidates/week  │
      └────────────────┬────────────────┘
                       │
        Creates Paperclip Tickets (type: agency)
        with raw J