v1.0 · free forever · MIT license

An AI operator that runs affiliate marketing for you.

Picks the offer. Spies the competition. Builds the lander. Installs the pixel. Fires the test campaigns. Reads the numbers at dawn. Scales the winner. You watch. You approve the spend. You keep the money.

Python · runs on your laptop · drives a real Chrome with human-feel mouse moves · MIT-licensed

One model, one loop, all 13 playbook modules wired in.

Each module of the affiliate-marketing playbook becomes a tool the AI can pick up when it needs to. You give it the goal — it figures out the order.

01 · 02

Account warmup

Spins up Business Manager, ages a backup admin profile, schedules organic Facebook activity so a fresh account doesn't trip the new-advertiser filter.

03

Picks the offer

Pulls live Clickbank gravity + Digistore24 marketplace data, scores by EPC × momentum, gives you 3 shortlisted offers in the niche.

04

Spies competitors

Scrapes Facebook Ad Library + paid spy tools, ranks ads by how long they've been live (proxy for profitability), saves creatives.

05

Builds the lander

Renders a quiz-style pre-lander from the winning competitor's angle, hosts it, gives you a live URL ready for pixel install.

06

Wires tracking

Injects the FB pixel base + ViewContent + Lead events, configures Digistore24/Clickbank postbacks to forward conversions back to the pixel.

07

Launches the test

Builds a Traffic-objective matrix: 3 angles × 3 audiences × $5/day, uploads hashed Custom Audiences for Lookalikes, watches CTR.

08

Converts to sales

Pivots winning combos into a Conversions campaign with the 4-level structure. Sets up the metric columns from Module 8 so you read it like the pros.

09

Scales winners

Horizontal duplicate to fresh audiences, vertical +20% / 48h while CPA stays good, auto-kills bleeders.

10

Ban recovery

When Facebook nukes the account (it will), the operator stands up a backup profile, onboards an agency ad account, swaps in virtual cards.

11 · 12 · 13

Organic stack on autopilot

WordPress site, daily SEO blog draft, daily YouTube script + thumbnail prompt. Compounds for free in the background.

Boring, honest, modifiable.

No magic. Open Python. You can read every line.

Brain: Claude tool-use loop

One model, one loop. The system prompt + the retrieved playbook chunks are prompt-cached so each step costs cents.

Browser: human-feel by default

Bezier mouse paths. Log-normal step delays. Gaussian typing with realistic typos. 1-in-6 overshoot clicks. Wheel-event scrolling. Persistent user profile.

Stealth: the boring stuff that works

Strips navigator.webdriver. Restores plugin list. Fakes WebGL vendor. Canvas + audio noise. Realistic UA + timezone + locale.

RAG: loyal to this playbook

Every tool call retrieves the relevant course chunks first. The agent doesn't just "know affiliate marketing" — it executes the exact moves you'd execute.

Safety: dry-run by default

Every irreversible call (spend, ban-able actions, public posts) pauses for human y/n. Override with --auto-approve only when you've smoke-tested.

Two browser adapters, one interface

Playwright for the 95% case. The Claude-in-Chrome MCP for the 5% (captchas, account-recovery, weird UIs) where the AI literally looks at the page.

Download. Then read the quickstart.

MIT license. No email gate. No upsell.

Then:
cd affiliate-begins-operator
uv sync
playwright install chromium
cp secrets.env.example secrets.env  &&  $EDITOR secrets.env
python -m orchestrator.rag build
python -m runners.full_pipeline --niche "blood sugar" --network clickbank --budget 30 --dry-run

Always start with --dry-run. The operator will tell you exactly what it would do without spending a cent.

13 modules. Plain English. Skim in an hour.

Reading the code is one way to learn. Reading the playbook the code implements is faster. Each module covers the why behind the moves so you can override the agent when you have to.

Open the full course →

What this is and isn't.

This isThis is not
A real Python agent that drives a real browser and calls real APIs. A "money button." Test spend is still your money.
A 24/7 worker that compresses 6 weeks of testing into ~1 week. A FB ban dodger — the warmup helps; nothing prevents 100%.
An open codebase. Fork it. Replace tools. Rewire the loop. A managed service with someone on call.
Dry-run by default. You approve every spend. Auto-yes on irreversible actions unless you explicitly turn it on.
Free. MIT-licensed. Forever. Free of consequences if you ignore the playbook.

Common questions.

How much do I need to spend to test a niche?

$300–$1,000 in ad spend over ~1 week is the honest range. The operator doesn't reduce your test spend; it reduces your test time and the number of bad tests you fire before catching a winner.

Will I get banned by Facebook?

Eventually, yes. Almost everyone in this space does. That's why Module 10 exists. The operator's warmup buys you time; the recovery automation makes the next account cheap to spin up.

What does it cost to run the AI itself?

Pennies. Each agent step costs ~$0.005–0.02 in Claude API. A full week of testing is typically <$5 in model spend on top of your ad budget.

Can I use it for non-affiliate stuff?

Yes — the browser + agent layer is general. The tools are affiliate-specific but easy to swap. Treat the code as a template.

Why is it free?

Because the model + browser stack is generic; the moat for affiliate marketing is your taste in offers and angles, not the automation. I'd rather everyone have the tool and improve the open codebase. Full FAQ →