# Who AI recommends when you ask for an AEO agency: dataset and analysis

StartupCookie, December 2026. Every number on
https://startupcookie.com/guides/who-ai-recommends-aeo-agencies/ comes out of `analyze.py`.

## Reproduce

    python3 -I analyze.py      # Python 3.9+, standard library only, no network

Writes `out/results.json` (every figure), `out/tables.md` (the tables), and three CSVs:
`out/answers.csv` (one row per answer), `out/citations.csv` (one row per cited source) and
`out/fanouts.csv` (one row per background search).

## What is here

- `raw/pull-2026-12-04T2340Z/responses_*.json`: Promptwatch `GET /responses` for the four
  tracked questions, every page, pulled Dec 4, 2026 23:40 UTC (397 answers, Oct 15 to Dec 4).
- `raw/pull-*/fanouts_*.json`: Promptwatch `GET /query-fanouts`, the searches ChatGPT and
  Claude (live search) ran while answering.
- `rules/entities.txt`: every recurring name in the answers, with a kind (agency, tool,
  engine, client, publication). Only `[agency]` names are counted as agencies.
- `rules/domains.txt`: who publishes each cited domain (agency, software vendor, directory,
  media, other), labelled by hand from each site's homepage title and description
  (`rules/domain_homepages_2026-12-05.tsv`).
- `aeo_lib.py`: shared helpers (citation stripping, URL normalisation, name matching).
- `handcheck/`: the hand-check sample and its result.

## Window

Answers whose `createdAt` falls on Nov 4 to Dec 4, 2026 (UTC dates, both inclusive).
Promptwatch has no runs on Nov 10 to 17 and Nov 20 to 21. Claude (live search) starts
Nov 5. The AI-startups and fintech questions start Nov 18.
