Selected work

Primus Lead Engine

Role
Internal app
Client
Primus Media Online
Status
In development
01The brief

Find the businesses worth contacting, build the picture around each one, and always know the next step.

Primus Lead Engine is a private app for Primus Media’s own outreach. It turns “niche + city” into a list of businesses, crawls and audits the ones with websites, writes down what it found, and tells you what to do next. Businesses without a website go to a call list instead.

It runs on one PC, for one user. It creates email drafts in the Hostinger mailbox and never sends anything itself. It is still being built and is for personal internal use, so there is no public link. The screenshots below are redacted: business names and contact details are blurred.

02How it works

From a search to a clear next step.

Find

Search niche and city through the official Google Places API, or import a list of URLs. The quota and cost are shown before a search runs.

Audit

A 12-point check of each site: mobile speed, layout stability, image size, third-party tools, five-second clarity, enquiry form, stranded pages, search titles and more. The result is a band: doing its job, repairable, or worth rebuilding.

Score with reasons

Each lead gets a tier (A from 75, B from 50). Every point has its reason and a source link, and anything not found stays “unknown” instead of a guess.

An opening line you approve

AI writes one line from the crawled text and must quote evidence from the site. The app checks the quote exists, then waits for approval.

Always a next step

Today shows what needs you first: new replies, follow-ups due, opening lines to approve, leads who said yes. Each lead page opens with a Next step panel.

Drafts, follow-ups, report

Drafts land in the mailbox for a human to send. Follow-ups come due after 4 and 7 days, up to 3 emails per lead. When a lead says yes, it builds a one-page PDF health report.

Safety rails

A do-not-contact list, blocked countries, MX-record checks, a daily warm-up cap and a bounce-rate brake that pauses cold drafts.

Costs capped

Daily and monthly AI budgets pause AI work when reached. Most of the pipeline, including the quick audit, costs nothing to run.

Works from Claude Desktop

A local MCP server exposes the same functions under the same rules. Spend actions preview their cost before they run.

03Tools used
Language
Python 3.12
Web app
FastAPI, Jinja2 and htmx, no JavaScript framework
Data
SQLite with Alembic migrations
Crawling
Crawl4AI (headless Chromium), robots.txt respected
AI
Gemini (default) or DeepSeek
Sources
Google Places, PageSpeed Insights, IMAP
Agent access
MCP server over stdio
04What's next
  1. 01

    Finish v1

    The audit engine, cost controls, outreach drafts and the health report are being completed, then hardened for a first release.

  2. 02

    A public health report

    The same engine behind a small API and an email-gated form on primusmedia.online, with rate limits and a one-audit-per-domain-per-day cache.

  3. 03

    Client workspaces

    Logins and per-client budgets, so lead research can become part of a lead-generation retainer.

  4. 04

    More sources and monitoring

    Further discovery providers, such as OpenStreetMap and the Bulgarian Commercial Register, and monthly competitor re-crawls.

05Status

Not released yet.

In development and used internally. There are no public results yet, and no numbers to report.

06The work
Today — the work queue, plus the day’s limits and costs
Today — the work queue, plus the day’s limits and costs
Find — niche and city search, with the quota shown first
Find — niche and city search, with the quota shown first
Leads — scored and staged (business names redacted)
Leads — scored and staged (business names redacted)
Call list — businesses that have no website
Call list — businesses that have no website
Follow-ups — due dates, with a human marking each outcome (name redacted)
Follow-ups — due dates, with a human marking each outcome (name redacted)
01 / 05