A Qloo-powered agentic print-on-demand app for independent designers. Qloo finds who would buy and what else they love, Tavily finds why now and checks the evidence, NVIDIA Nemotron on Nebius Token Factory writes and judges the drop, and you approve the Fourthwall products and a paused Meta campaign.
- Demo: https://next.wovain.com (the hackathon build; see Demo login)
- Production: https://wovain.com runs the 2026-10-27 build, frozen for another hackathon's judging until 2026-11-16. The features this README marks "on next" are not on it.
- Docs: https://docs.wovain.com, or
apps/fumadocslocally - License: MIT
The seller flow runs on the website and in ChatGPT, both backed by one Next.js 16 app:
Qloo taste graph → Tavily evidence → you pick ideas → Nemotron brief → fal draws the art → the Nemotron judge looks at it → you approve → Fourthwall products → Nemotron ad copy → a paused Meta campaign targeted from Qloo demographics.
Demo login
Judges share one ready account on next.wovain.com:
- Open https://next.wovain.com/login.
- Sign in with
judges@wovain.comand the password in the Devpost testing instructions. - You land on the overview. Its Start here checklist shows what's left: the brand is set, and the agent drafts only (hidden products, paused campaigns) within a $5 daily spend cap.
- On Billing, redeem the judges' code from the Devpost testing instructions if the credits aren't there yet. It works only on this account and covers about 17 full drops.
The password and the code are never in this repository. The owner seeds the account with pnpm --filter @wovain/auth seed:judges --env next (infra/README.md).
A 3-minute path:
- New drop. Type a brief that names something Qloo knows, for example "Studio Ghibli", and start the run.
- Ideas. Each idea card has a "Why this idea" panel with the Qloo entities, tag, affinities and style cues behind it, plus the Tavily sources, competitor prices and an on-demand research dossier. Tick two ideas and press See designs.
- Designs. Each design shows the judge's verdict, the checks the vision model ran on the drawn art, and any trademark findings with links. Approve one.
- Products and ads. wovain lists the approved design on Fourthwall, writes the ad variants and stages a paused Meta campaign.
- Which model did what. In Runs, open the run's Models link (
/dashboard/models?run=<id>, "Which model did what") to see every agent call with its Nemotron model, time and result. - No Qloo match. Start a brief Qloo can't place, like "asdf qwerty". The run stops with "Qloo found no audience for this brief; try naming a band, film, brand or place", shows suggestions with examples, and offers Write a new brief.
Nemotron on Nebius Token Factory
wovain calls NVIDIA Nemotron on Nebius Token Factory through its OpenAI-compatible endpoint (NEBIUS_BASE_URL, https://api.tokenfactory.nebius.com/v1/) with one key, NEBIUS_API_KEY. The app code holds no model ID. Each one is an env var that Pulumi sets per environment: infra/next/Pulumi.next.yaml for next.wovain.com, infra/Pulumi.prod.yaml for production and dev.
Which model does what
With the model-routing flag on (dev and next.wovain.com; off in production), each agent asks for a job, and the job's env var names the model (packages/core/src/model-router.ts, AGENT_ROLES in packages/core/src/agents.ts):
| Job | Env var | Model on next.wovain.com | What runs on it |
|---|---|---|---|
| Default | NEMOTRON_MODEL_DEFAULT |
Nemotron 3.5 Super VL (nvidia/Nemotron-3.5-Super-VL) |
Design brief and listing (draftBrief), ad copy (writeAdCopy), and the LLM-only arm of the offline Qloo ablation eval (llm-themes.ts) |
| Reasoning | NEMOTRON_MODEL_REASONING |
Nemotron 3 Ultra (nvidia/Nemotron-3-Ultra-550b-a55b) |
The design judge's verdict (judgeDesign), autopilot's idea pick and go/no-go (pickIdea, reviewDesign) |
| Vision | NEMOTRON_MODEL_VISION |
Nemotron 3.5 Super VL | The judge's eyes. It reads the drawn PNG for a garment or mockup as the subject, a background, cropping, printed words that differ from the brief, and art that disappears on a shirt color |
| Fast | NEMOTRON_MODEL_FAST |
Nemotron 3.5 Lightning (nvidia/Nemotron-3_5-Lightning) |
Ad judges (copy quality, Meta policy), Mastra scorers, prompt-injection and PII guardrails |
| Safety | NEMOTRON_MODEL_SAFETY |
Nemotron 3.5 Lightning | Mastra moderation on what the merchant publishes |
With the flag off, as in production, every agent uses NEMOTRON_MODEL (Nemotron 3.5 Super VL) and the judge's vision check uses NEMOTRON_VISION_MODEL. The docs chat runs on DOCS_CHAT_MODEL (Nemotron 3.5 Lightning, reasoning_effort: none, at most 400 output tokens, rate limited per visitor).
What the agents do
- Brief, judge and ad copy. The brief writer turns an approved idea into a design brief and a listing. The judge returns a Zod-validated
readyorreviseverdict, a 0 to 100 score and up to five fixes. Arevisedesign is redrawn once from the fixes at no extra credit; if it fails again, the card lists the failed checks. Code decides the print size and overrides the model. - Grounding guard. Ad copy and listing text may only state numbers and claims (prices, percentages, "best-selling", "#1") that appear in what the tools returned. An answer that breaks the rule goes back once with the problem named, and a second miss fails the step with
UNGROUNDED_CLAIM(grounding.ts). - Guardrails. Web text from Tavily is untrusted. Before the brief writer reads it, a prompt-injection detector blocks injected instructions and a PII detector blocks personal data. Ad copy is moderated and checked for PII on the way out (
agents.ts). - Ad scores. The fast model runs the binary ad judges on every variant. The share of passes is the ad score on the Insights page.
- Autopilot. With autopilot on, Nemotron picks the idea and approves or rejects the design, each with a stored reason. Code still gates the run: a design the judge sent back is never approved, the price keeps at least $10 profit and a 30% margin, the daily budget stays between $1 and $500, and every Meta object is created paused.
- Trace. Every agent call and guard check of a run goes into its decision trace with the agent, model, duration and result. Only the input's field names are stored, never their values.
/dashboard/models?run=<id>shows the trace, linked from Runs. - Evals.
pnpm --filter @wovain/core run evalschecks the six judges against a labeled set (judges.v1.json). On 2026-10-28,nemotron-3-super-120b-a12band Nemotron 3.5 Super VL both agreed with all 20 scored labels. With a set this small, that is a smoke test.
Where Token Factory helped
- One endpoint and one key serve Super VL, Ultra and Lightning, so routing by job is a config change per environment.
- The vision model takes an https image URL, so the judge reads the fal-hosted PNG without a re-upload.
- Strict
response_format: json_schemaworks on Super VL, so the judge, the brief and the ad copy come back as validated JSON. /v1/modelslists each model'ssupported_features(tools, reasoning). That made it quick to confirm replacements for the two models Nebius removes on 2026-11-09,nemotron-3-super-120b-a12bandNVIDIA-Nemotron-3-Nano-30B-A3B, both of which wovain used.- Token Factory serves no Nemotron content-safety model yet (checked 2026-10-28), so moderation runs on Lightning through Mastra's moderation processor.
Details: Nebius and Nemotron.
Qloo-powered
Qloo's taste graph decides what a drop is about and who its ads reach. Every idea is a Qloo taste tag, so without Qloo there are no ideas: no Qloo, no run. On next.wovain.com every run calls Qloo, whatever the plan. The trends-qloo flag is only an ops kill switch: when it is off, runs.start and ideas.research refuse with QLOO_OFF (503), and no run starts. The cross-domain taste map and the "Why this idea" panel are behind qloo-taste-map; Qloo-driven Meta targeting is behind qloo-audiences. Both are on in development and next and off in production.
Endpoints
Every call goes to QLOO_API_URL (https://hackathon.api.qloo.com) from packages/core/src/qloo.ts.
| Call | Parameters | What wovain does with the result |
|---|---|---|
GET /search |
the brief, top 3, all entity types | Resolves the brief to seed entities (artists, films, books, brands, TV, podcasts, games) |
GET /v2/insights |
filter.type=urn:tag, genre and keyword tag types, signal.interests.entities, bias.trends=low |
The tags those fans share become the themes Tavily researches. Each idea keeps its tag and affinity, and the affinity is 30% of the idea's score (score.ts) |
GET /v2/insights |
filter.type=urn:entity:brand, movie or tv_show, feature.explainability=true, bias.trends=low |
Cross-domain affinities, with the share each seed entity contributed. Their style and mood tags go into the design brief, and their names never do (design.ts) |
GET /v2/insights |
filter.type=urn:demographics |
Age and gender affinity of the brand's Qloo entities, mapped to the Meta ad set's age_min, age_max and genders (targeting.ts) |
GET /v2/insights |
filter.results.entities with signal.demographics.audiences |
Scores 27 apparel-relevant urn:audience IDs against the brand's Qloo brands and keeps up to 3 that beat the average (qloo-audiences.ts). Their names go to Meta's interest search and into the ad writer's persona |
GET /search |
one taste reference, top 1 | Brand onboarding resolves each reference the designer names to a Qloo entity (brand-identity.ts). These are the brand's Qloo entities |
GET /v2/insights |
filter.type=urn:entity:brand, signal.interests.entities, bias.trends=high |
Autopilot's scan: brands rising with the brand's audience (autopilot-signals.ts) |
A failed theme call (/search or the tag insights) fails the research step with QLOO_FAILED. The step retries, then the run fails and is logged at error level to PostHog Error Tracking. Nothing stands in for Qloo. A failed cross-domain, demographics or audience call is logged at error level, marked failed on the idea or in the run's decision trace, and left out. The "Why this idea" panel (taste-map.tsx) names any domain whose call failed.
Why wovain needs Qloo
Each Qloo call decides one part of a drop, and nothing else in wovain stands in for it:
/search: who the brief is about. Qloo resolves the brief to up to 3 seed entities. When it matches nothing, the run stops withQLOO_NO_MATCH(422): "Qloo found no audience for this brief; try naming a band, film, brand or place". The wizard shows suggestions with examples and a Write a new brief button. wovain never makes up ideas instead.- Tag insights: what the drop is about. Each idea is one of Qloo's taste tags for the seed's fans, up to 3 per run (
RUN_THEMES,qlooThemes). Fewer than 3 tags means fewer ideas, never made-up ones. The tag's name is the idea's title. - Tag affinity: which idea ranks first. Each tag's affinity is the demand term, 30% of the idea's score (
score.ts). The feedback loop re-weights these terms from sales, but it doesn't choose the themes. - Seed names: what never goes on a product. The names Qloo matched are saved on each idea as names never to print, and they lower its IP-safety score.
- Cross-domain affinities: how the art looks. With
qloo-taste-mapon, Qloo names the brands, films and TV the seed's fans also like, with each seed entity's share. Their style and mood tags go into the design brief as cues, never their names (design.ts). The "Why this idea" panel shows them, and the Tavily research dossier gets them asqloo-taste.json. - Tags: the drop's style family. The Qloo tags of the run's ideas, then the brand's niches, pick a drop's style family and its product mix (
drops.ts). - Onboarding
/search: the brand's taste. The references a designer names become the brand's Qloo entities (onboarding.ts). Ads and autopilot start from them. - Demographics and audiences: who the ads reach. Qloo's age and gender affinity sets the Meta ad set's ages and gender, and its audiences become Meta interests and the ad writer's persona (
targeting.ts,qloo-audiences.ts). - Rising brands: when autopilot suggests a drop. Qloo names the brands rising with the brand's audience. When this week's news talks about one, autopilot suggests a drop (
autopilot-signals.ts).
Tavily only adds evidence to Qloo's themes: news, marketplace listings, prices and research dossiers (trends.ts). It never names a theme. With trends-tavily off, research returns no ideas.
The comparison with an LLM-only run is an offline eval only. The product has no run without Qloo. qloo-ablation.eval.ts runs 8 seeds through the app's Qloo theme step and through an eval-only LLM arm (llm-themes.ts). It reports each arm's grounding, explanation, cue count and distance from the seed, plus the themes the two arms share. Run it with pnpm --filter @wovain/core run evals. It needs QLOO_API_KEY, NEBIUS_API_KEY and NEMOTRON_MODEL, and writes packages/core/src/evals/qloo-ablation.report.v1.json.
A live trace
The first calls for the brief "Studio Ghibli", run on 2026-10-28. The key is redacted, entity IDs are shortened, and the timings are as measured:
GET /search?query=Studio Ghibli&take=3&types=urn:entity:artist,…,urn:entity:videogame 200 1536 ms
→ Studio Ghibli (artist), Studio Ghibli: The Films of Hayao Miyazaki and Isao Takahata (book),
Sharing a House with the Never-Ending Man: 15 Years at Studio Ghibli (book)
GET /v2/insights?filter.type=urn:tag&filter.tag.types=urn:tag:genre:media,urn:tag:genre:music,urn:tag:keyword:media
&signal.interests.entities=D1222FA1…,6E9076C7…,832C1302…&take=10&bias.trends=low 200 252 ms
→ J-pop 1.00 · anime 1.00 · J-rock 1.00 · Video-Game Music 0.99 · soundtrack 0.99 · Visual-kei 0.98
GET /v2/insights?filter.type=urn:entity:movie&feature.explainability=true&bias.trends=low&take=3 … 200 1624 ms
→ Wolfwalkers 0.81, because: Studio Ghibli 35% · the Ghibli films book 33% · the Ghibli memoir 32%
cues sent to the brief: Atmospheric, Adventure, Two tone visual dichotomy
GET /v2/insights?filter.type=urn:entity:tv_show&feature.explainability=true&bias.trends=low&take=3 … 200 711 ms
→ The Underground Railroad 0.85, Old Enough! 0.85, 63 Up 0.85
cues: Magical realism, Close up intimacy, Childs eye perspective, Minimalist interview framing
GET /v2/insights?filter.type=urn:entity:brand&feature.explainability=true&bias.trends=low&take=3 … 200 383 ms
→ Vulture 0.83, MacRumors 0.83, Wired 0.83 · cues: Witty, Insightful, Bold, Analytical
What we found working with the hackathon API:
- It refuses artist insights from an artist seed, and trend bias for books and games, so the cross-domain affinities are brands, films and TV (no music).
bias.trends=mediumreplaced the Ghibli fans' brands with unrelated trending ones (a medical association, a bank), so wovain useslow./searchtakes the top 3 matches. For "Studio Ghibli", two are books about the studio, which pulls the affinities toward documentaries.- Tags carry no explainability, so a theme's "why" is its tag's affinity with the seed entities' fans. The per-entity shares come from the cross-domain affinities.
- Audience scores separate brands well (Supreme, Patagonia) but come back flat (0.765) for artists and films, so audiences are scored on brands only.
- Qloo's hackathon terms limit it to free and demo plans until 2026-11-05. Only Free is sold (
billing-paid-plansis off everywhere), and paid plans open only with a commercial Qloo licence.
Details: Qloo.
Tavily
Tavily is wovain's live web evidence, called on every run from packages/core/src/trends.ts and packages/core/src/evidence.ts.
- Search. Each Qloo theme gets two searches. A news search (
topic: news,time_range: month,search_depth: advanced) finds why the theme matters now. A marketplace search on Etsy, Redbubble, TeePublic and Fourthwall shows how crowded it already is. Code drops results under 0.4 relevance, news older than 31 days and archive or tag pages, then keeps the top 3 sources with their links. - Extract. Behind
tavily-evidence(on in development and next), Tavily Extract reads up to 5 competitor listings per theme. Their median price feeds the margin score. When a page fails, the margin falls back to the prices in the search snippets. - Research. Research this idea on an idea card starts a Tavily Research task (
TAVILY_RESEARCH_MODEL,mini) with anoutput_schemaof why now, saturation, price band, risks a
