01 · researchNo API key — and a four-second answer when it can't.
Brand research shells out to the local Claude Code CLI in headless mode with web search. It authenticates with a developer's own login, so there is no key to leak and nothing to host. A real NBA run streams each search into the panel and returns in 17 s.
Two measured failures shaped it. A spawned claude -p reads stdin until EOF
and the child never closed it, so every run hung to the 240 s timeout —
3.7 s once stdin was ignored. And an expired login made the CLI retry for
over three minutes; a one-turn preflight with retries off now answers in 4.0 s
with a plain “login expired” and the fix. Profiles are cached per brand on disk.