Skip to content
zutruePublic

About

An AI focus group for your ads: a swarm of AI people from your audience scrolls past your ads, taps, comments and says yes or no. Ranks your ads and estimates cost per lead before you spend. Built for Claude Code, runs on Zurelay.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Zuswarm

An AI focus group for your ads. Find out which ad wins, and why, before you spend a dollar on it.

Give Zuswarm your ads (images or videos) and tell it what you sell. It builds a panel of AI people from your real audience (the ones who need you this week, the ones who don't yet, the bargain hunters, the skeptics, the people who just scroll) and drops your ads into their feed. Every person scrolls past, stops or doesn't, taps, comments, reads what everyone else commented, and decides: yes or no.

You get a ranking, an estimated cost per lead for each ad, the exact words people used, what made them doubt it, and what to change.

It's the AI Focus Group from Zuops, open-sourced as a tool you hand to Claude Code. Claude sets it up, asks what you sell, tells you the price, runs it, and walks you through the results.

Give it to your Claude

Open Claude Code in a folder with your ads and paste:

Set up Zuswarm from https://github.com/zutrue/zuswarm and run a focus group on the ads in this folder. We sell <what you sell> in <your city>.

That's it. Claude clones the repo, installs it, asks which way you want to run it (a Zurelay API key, or your Claude subscription), and runs the panel.

Or install it as a Claude Code plugin (works in every project)
/plugin marketplace add zutrue/zuswarm
/plugin install zuswarm@zuswarm

Then ask Claude to "run a focus group on these ads". For video ads in plugin mode, install ffmpeg yourself if zuswarm doctor says it's missing (winget install Gyan.FFmpeg, brew install ffmpeg or sudo apt install ffmpeg).

What you get

A real run on the five sample ads in examples/roofing (a made-up Denver roofer: a storm-damage ad, a $500-off ad, a "3 signs your roof needs replacing" ad, a plain "Roofing services, call now" ad, and a 10-second text video). 30 AI people, 4 minutes, $0.22 on Zurelay:

The report's ranking

Run A3 first. It is the only ad that moved people: 93% stopped, 23% tapped, 10% said yes, score 84/100, $40-$84 per result. It works because the three signs let people find their own problem in the ad.

What the panel said about the winner:

Hector M. (44, logistics operations lead): Water stains on ceiling hits right on my problem with our hallway spot.

Colin D. (31): my place is a modern build so 20 years doesnt apply

Fix suggested in the debrief: add a line for newer roofs: "Storm damage shows up on new roofs too."

And the storm-damage ad shows what the comments round is for. One person commented "Storm chasers looking to milk insurance adjusters." After reading the comments, 16 of the 17 people who had stopped on it cooled off, and its "yes" count halved, from 2 to 1. The debrief's headline for it: "Insurance angle splits the room." The full report is in examples/roofing-report.

Plus report.html, with each ad next to its numbers, and a panel you can keep asking questions:

$ zuswarm ask summit "What would make you trust a roofer you found on Facebook enough to book?"

Ray K. (64, apartment maintenance supervisor): Show me real pictures of your crew actually working on local jobs, not some computer graphic of a little house. Give me a local phone number, an actual address in the Denver area, and a straight ballpark cost so I know you're not some out-of-state storm chaser.

Evelyn O. (63, retired postal clerk): Well, I would truly need to know that an inspection is 100% free with no hidden fees or pushy sales talk... I got talked into an awful, expensive furnace contract a few years back and I just can't afford another monthly payment on my little pension.

In short (the panel's own summary): Everyone agreed they immediately distrust generic ads, high-pressure sales calls, and out-of-state storm chasers, wanting to see real photos of local jobs and genuine neighbor reviews instead. Where they differed was what details mattered most next: older homeowners on fixed incomes prioritized honest, zero-pressure advice with no hidden fees, while professionals focused on technical craftsmanship, licensing, and straightforward pricing.

How it works

Six steps. The first five are AI calls; the numbers are plain math.

  1. Read the ads. A fast vision model looks at every ad once (videos are watched with their sound) and writes down exactly what it shows and says: the hook, the words, the offer, the call to action, and for a video, what happens second by second.
  2. Map the audience. Who really sees these ads when you target your customers: 3 to 5 groups with honest shares, including the people who will never buy (wrong timing, renters, people who already have someone, skeptics). A real feed is mostly those people, so the panel is too.
  3. Build the panel. Before the AI writes anyone, every person gets fixed traits spread in real-feed proportions: how badly they need this right now (most don't), how skeptical they are, how much price matters, how fast they scroll, and whether they're on Facebook or Instagram. Then the AI writes each one as a real person: a name, a job, a household, a past experience with businesses like yours, what makes them stop scrolling, what makes them distrust an ad, and how they type.
  4. The feed. Each person scrolls past your ads in their own order, in character, one scroll session at a time, with the rules of a real feed: most ads get a second, videos lose most people in the first three seconds, few people tap and fewer act. For every ad they say what they did (stopped? for how long? reacted, commented, shared, tapped, would they book or buy?) and what went through their head, what confused them and what felt off.
  5. The comments. This is the swarm part. People who stopped on an ad open its comments and read what the others wrote. Comments sway people the way they do in real life: a sharp "scam?" or a complaint cools people down, a happy customer or a straight answer warms them up. Some reply; some change their mind. An ad's weak spot spreads the way it would under a real post.
  6. The numbers and the debrief. Per ad and per audience group: stop rate, tap rate, "yes" rate before and after the comments, video hook rate and retention, reactions, comments, shares, with confidence intervals. A score out of 100, a cost-per-lead estimate, and a debrief written from those numbers and quotes by a senior-media-buyer prompt on Claude Opus 5.5: which ad to run first, what worked, what hurt, and 1 to 3 specific fixes per ad.

How it predicts cost per lead

An AI panel's "yes" isn't a real conversion: AI people stop and say yes far more often than real people scrolling a real feed. So Zuswarm never divides your budget by AI yeses. Instead:

  • It starts from a real cost-per-lead band for your niche: yours if you pass --cpl 25,45,90 (strongly recommended if you've run ads before), otherwise the AI's estimate for your industry and city, otherwise a general small-business default.
  • It measures each ad's intent: every "yes" counts 1, a tap without a yes 0.3, a stop without a tap 0.05.
  • It moves the ad inside the band by how its intent compares with an average ad's: cost goes with (average intent / this ad's intent)0.6, clamped to the band's neighborhood. The range comes from a 90% confidence interval on the panel, so a small panel gives a wide range.
  • Click rate and engagement per 1,000 views are mapped the same way onto real-feed medians.

The panel is seeded: the same run always gets the same people in the same order, so every ad is judged by exactly the same crowd. A new run is a fresh crowd.

What it can't do

  • It's not real people. Use it to pick and fix ads before you spend; a real ad test still decides. Read the numbers relatively (which ad beats which, and why), not as a promise.
  • With 30 people, one or two "yes" answers of difference is noise. For close calls use --panel 60 or --panel 100.
  • The cost calibration is a starting point. Your own --cpl numbers make it much better.

What it costs

Measured on the sample run above (30 people, 4 image ads and a 10-second video, 81 AI calls, 388,000 tokens in and 40,000 out):

How you run it Cost for that run
Zurelay (the default models) $0.22 measured; about 4 minutes
The same models bought direct, at Google's, OpenAI's and Anthropic's list prices $0.54 measured
Claude API direct: Claude Sonnet 5.5 plays the panel, Claude Opus 5.5 writes the debrief about $1.20 the same tokens at Anthropic's prices
Claude API direct: Claude Opus 5.5 for everything about $2.33
Those Claude line-ups through Zurelay (ZUSWARM_PANEL_MODEL=claude-sonnet-5-5) about $0.53
Your Claude subscription (--engine claude) $0 extra uses your plan's usage instead: see below

The Claude rows are worked out from the run's real token counts, and Claude counts image tokens a little higher than Gemini does, so treat them as a floor. Claude Haiku 5.5 is the cheapest Claude model (about $0.13 for that run direct, $0.05 through Zurelay); we haven't yet compared how well it plays a panel against the default.

Bigger runs on Zurelay (estimates: zuswarm cost <run> shows yours before anything is spent):

Panel Ads Zurelay List prices
30 people 10 images about $0.45 about $1.12
60 people 10 images, 2 videos about $1.00 about $2.50
100 people 30 images about $3.60 about $9.00

On your Claude subscription

With --engine claude there's no API key and no bill per run: Claude Code plays the panel itself, each person in a separate subagent so nobody sees anyone else's answers. You pay in plan usage instead, and it's more than you might expect. Every subagent re-reads Claude Code's own instructions on each step, and that overhead outweighs the actual work.

We measured it: a 6-person panel on the same 5 ads took 12 subagents (Claude Haiku 5.5) and about 940,000 Claude Code tokens, roughly 170,000 per person. A 30-person run is about 65 subagent tasks and around 5 million tokens, against about 430,000 for the same run on Zurelay.

Anthropic doesn't publish plan limits in tokens: Pro ($20/month) and Max ($100 or $200/month, 5x or 20x Pro's usage) are metered in 5-hour windows plus a weekly cap (current plans). Max gives you far more room than Pro; on Pro, start with --panel 10 or --panel 12 and see how much of your window it takes. If you run focus groups often, Zurelay is faster (4 minutes against 10 or more) and costs cents.

Use it without Claude

git clone https://github.com/zutrue/zuswarm && cd zuswarm
npm install                     # also fetches ffmpeg (only video ads need it)
cp .env.example .env            # paste your Zurelay key in .env
node bin/zuswarm.mjs doctor
# Start a run: files, a folder, or https links. ad1.txt next to ad1.jpg is its post text.
node bin/zuswarm.mjs new summit ./my-ads --offer "Roof replacement, $500 off" --where "Denver, CO" --cpl 40,80,160

node bin/zuswarm.mjs describe summit      # optional: fill in what you sell / who buys / where from the ads
node bin/zuswarm.mjs cost summit          # what it will cost
node bin/zuswarm.mjs run summit --yes     # about 5 minutes for 30 people
node bin/zuswarm.mjs report summit        # report.md + report.html
node bin/zuswarm.mjs ask summit "Would you book this? Why or why not?"
Command What it does
new <name> <ads...> --offer "..." Starts a run. --customer, --where, --panel 5-200 (default 30), --budget ($/day, default 50), --days (default 7), --cpl low,mid,high, --engine zurelay|claude
describe <run> [--replace] Reads the ads and fills in what you sell, who buys it and where
set <run> key=value ... offer, customer, where, panel, budget, days, cpl, engine, caption.A1
cost <run> The estimate before a run; the real cost after
run <run> --yes The whole focus group on Zurelay; run it again to pick up where it stopped
next <run> [--skip] [--json] Claude engine: hands out the next step's task files
status, report, people, list Where a run is, the report, the panel, your runs
ask <run> "..." [--person N] Ask the panel (ten people across the groups, or one)

Runs live in ./zuswarm-runs/<name>/: the ads, every person, every reaction (state.json), and the reports.

Settings

Variable Default
ZURELAY_API_KEY Your key from zurelay.com
ZUSWARM_CONCURRENCY 10 AI calls at once (1-32)
ZUSWARM_PANEL_MODEL gemini-3.8-flash The model that plays the panel (any Zurelay chat model that sees images)
ZUSWARM_READ_MODEL, ZUSWARM_PEOPLE_MODEL gemini-3.8-flash Reads the ads; writes the people
ZUSWARM_AUDIENCE_MODEL gpt-6-astra Maps the audience
ZUSWARM_REPORT_MODEL claude-opus-5-5 Writes the debrief
ZUSWARM_RUNS ./zuswarm-runs Where runs are kept

Why Zurelay

Zurelay is the API this runs on, made by the same team as Zuops (so yes, we're recommending our own thing). One key reaches every model a run uses: Gemini to read the ads and play the panel, GPT-6 to map the audience, Claude Opus to write the debrief. It costs well under buying each one direct, it's prepaid from $10 with no subscription, and when a model is down it moves to the next one on its own. A focus group is hundreds of small AI calls at once, which is exactly what it's built for.

You don't need it: --engine claude runs the whole thing inside Claude Code on your Claude plan.

Credits

Made by Zuops and Zurelay. The panel idea (many agents with their own traits and memory, a simulated feed, then a round where they influence each other) was inspired by MiroFish, a swarm-intelligence prediction engine. Zuswarm is its own implementation, built for ads.

License

MIT © 2026 Zuops and Zurelay. See LICENSE.

About

An AI focus group for your ads: a swarm of AI people from your audience scrolls past your ads, taps, comments and says yes or no. Ranks your ads and estimates cost per lead before you spend. Built for Claude Code, runs on Zurelay.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages