AI agent template
The Lead Cleanser
You drop in a leads CSV, and it cleans the list the way you'd do it by hand.
$29, one time
We'll help you set it up. Setup and support are included.
What you get
- A runner you start on your own computer.
- The skill files it reads, as plain text you can open.
- A written setup guide.
- You bring your own API key.
What it does
It writes a cleaned CSV, a report of the duplicates it found, a change log that shows every change, and a review file of the rows a person needs to look at.
Our code does the exact work: trimming spaces, fixing case, formatting phone numbers, checking email syntax and finding duplicates. The AI is only asked about the fuzzy parts, like company names written three ways and free text notes, and each answer comes back marked high, medium or low confidence. Anything it isn't sure about goes to your review file.
What you provide
- Python 3.11 or newer on your computer.
- Your own API key for Claude, OpenAI or Gemini.
- Your own file: a leads CSV with a header row.
What it won't do
- It won't make up an email, a phone number or a company.
- It won't delete a row without listing it in the duplicates report.
- It won't score or rank your leads.
- It won't load anything into a CRM or contact anyone.
Your key and your files
Your API key stays in a setting on your computer. The package never saves it, and it goes only to the AI provider you choose, never to us.
That AI company bills you directly for what you use. That bill is separate from what you pay us.
The setup guide shows where to set a spending limit at the provider, where the provider offers one.
A recorded run on made-up data
FICTIONAL SAMPLE DATA. Everything below is made up.
This run used gpt-6-luna from openai.
SAMPLE RUN ON MADE-UP DATA > python run.py --input my_input --output my_output --provider openai Provider and model: openai gpt-6-luna Jobs ok: 1 Jobs failed: 0 Files written: 5 Files refused: 0 Run folder: my_output\20261016T082819Z-5afe7c > first 25 lines of cleaned_001.csv DRAFT run=20261016T082819Z-5afe7c template=lead-cleanser version=1.0.0 provider=openai model=gpt-6-luna input_sha256=daec7c0058faeabdb49a8d6f8b48da7f2af34713c837f5792abffc8796bac2f2 FICTIONAL SAMPLE DATA row_id,Name,Email,Phone,Company,Notes 1,Alex Samplewood,alex.samplewood@example.com,(615) 555-0101,Acme Sample Supply Inc,Wants the spring catalog 2,Jordan Examplefield,jordan.examplefield@example.com,(615) 555-0102,Acme Sample Supply Inc,"Met at trade show, asked for pricing" 3,Casey Testerson,casey.testerson@example.com,(615) 555-0103,Acme Sample Supply Inc, 4,Riley O'Demoton,riley.demoton@example.com,(615) 555-0104,Bluebird Sample Bakery,Do not contact. Left the company. 5,Sam McMockridge,sam.mockridge@example.com,(615) 555-0105,Bluebird Sample Bakery LLC,call back tuesday 6,Taylor van Fauxberg,taylor.fauxberg@example.com,(615) 555-0106,Northwind Sample Traders,Wrong number - tried twice 7,Robin Sampleton III,robin.sampleton@example.com,(615) 555-0107,Fictional Fabrication LLC,Please unsubscribe me from the list 8,Morgan de la Mockridge,morgan.mockridge@example.com,(901) 555-0108,Pretend Plumbing Company, 9,Jamie Smith-Demoton,jamie.demoton@example.com,(901) 555-0109,Pretend Plumbing Company,interested in a quote for 3 units 10,Dana Testwell,dana.testwell@example,(901) 555-0110,Pretend Plumbing Company,"Email bounced, check spelling" 11,Pat Fauxley,pat fauxley@example.com,(901) 555-0111,Demo Dental Group, 12,Casey Mockwood,casey.mockwood@@example.com,(901) 555-0112,Demo Dental Group, 13,Lee Sampleford,"lee.sampleford@example.com, lee2@example.com",(901) 555-0113,Mockingbird Mock Motors,two emails in one cell 14,Kai Demoworth,kai.demoworth@example.com,555-0114,Mockingbird Mock Motors,short phone number 15,Quinn Examplesmith,quinn.examplesmith@example.com,+44 20 5550 1158,Sample Sprocket Works,UK contact 16,Avery Testerton,avery.testerton@example.com,615-555-0115 ext 12,Sample Sprocket Works, 17,Reese Samplefield,reese.samplefield@example.com,12345,Example Orchard Farms, 18,Skyler Mocktown,,,Example Orchard Farms,no contact details yet 23,Dana Testwell,dana.testwell2@example.com,(901) 555-0123,Pretend Plumbing Company,second contact at the same shop 25,Harper Demoton,harper.demoton@example.com,(731) 555-0125,"Lakeside Sample Lumber, Inc.",spoke with front desk 26,Harper Demoton,harper.d@example.com,(731) 555-0126,"Lakeside Sample Lumber, Inc.", 27,Emerson Fauxfield,emerson.fauxfield@example.com,(731) 555-0127,"Lakeside Sample Lumber, Inc.",wants a call after 5
One honest caveat
One honest caveat
Phone cleanup is built for US numbers. Any other number is left as you typed it and goes to your review file.
$29, one time
- We'll help you set it up. Setup and support are included.
- You pay once.
- After you pay, we email your template package to the address you used at checkout. It comes as a zip file. Open the email, save the zip file, and follow the setup guide inside.
- You can use the package, and change it, for your own business. You can't resell it. You can't give it, or a changed copy of it, to anyone else, free or paid.
- If the package doesn't run as its setup guide says and we can't fix it, we refund you in full.
- Within 30 days of delivery, if your package needs a fix, including after a documented change at the provider, our team fixes it at no charge.