Customer development is research, but most founders do it manually. This tutorial builds an agent that surfaces real founder pain in real time using Reddit threads and SERP.
Prerequisites
- Python 3.10+
- Scavio API key
- An LLM API key
Walkthrough
Step 1: Define your customer persona
Persona phrase + 5-10 problem framings.
PERSONA = 'indie SaaS founder building agent products'
PROBLEMS = ['agent context gets stale', 'choosing between mcp servers', 'mcp routing decisions']Step 2: Daily Reddit pull
r/SaaS, r/Entrepreneur, r/ClaudeAI, r/AI_Agents.
import os, requests
H = {'x-api-key': os.environ['SCAVIO_API_KEY']}
def pulls():
return [requests.post('https://api.scavio.dev/api/v1/reddit/search', headers=H, json={'query': p}).json() for p in PROBLEMS]Step 3: SERP cross-check
What's already shipped in this space?
def serp_cross():
return [requests.post('https://api.scavio.dev/api/v1/search', headers=H, json={'query': p}).json() for p in PROBLEMS]Step 4: LLM tagging
Pain rated by intensity, recency, frequency.
# Prompt: 'Rate pain intensity (1-10), recency (days), frequency.
# Output: {pain, intensity, recency_days, frequency, top_3_threads_with_urls}.'Step 5: Weekly digest
Friday 5 PM, top 5 pains with thread links.
# Founder reads 5 threads, books 5 customer-dev calls.
# Loop tightens from 'feel out the market' to 'specific pain confirmed by 5 prospects.'Python Example
# Per week: ~50 calls = ~$0.22 of Scavio + LLM tokens.JavaScript Example
// Same in TS.Expected Output
Friday digest with 5 founder pains backed by Reddit threads and SERP cross-check. Customer dev loop compresses from weeks to days.