Problem
A user research platform collects hundreds or thousands of interviews and surveys per study. Users ask "how many people liked this idea" or want a full report. An agent that reads transcripts one by one cannot give exact counts, and rate limits block live coverage of thousands of interviews. A full report run takes about 30 minutes, so it cannot be rerun on every new response, yet users want early results.
Example from the article: after 500 interviews a user wants charts, a summary and a PowerPoint deck.
Solution in brief
Show the agent the transcripts as a virtual table (rows are responses, columns are extracted features) that it can extend. Fill a column with one hard-coded tool call that fans out cheap classification calls and aggregates them. The LLM writes report text with placeholders instead of numbers, and a clean-context reviewer subagent checks the report.
Questions this case answers
- How to count how many documents in a large unstructured collection mention a topic when a single LLM context cannot hold them all and the counts must be exact
- How to keep quantitative statements in generated text correct when the underlying data keeps changing and a full regeneration is too slow
- How to let an LLM agent analyze hundreds of interview transcripts without reading all of them in its own context?
- How to keep numbers in an LLM-written report verifiable and up to date as new responses arrive?
Tools and methods
- Virtual table — responses as rows, extracted features as columns, given to Python as a pandas DataFrame
- Map-reduce classification tool — one call spawns a small-model call per interview and returns counts
- Number placeholders in reports — the LLM writes placeholders, code fills in the values
- Feedback subagent — a clean-context reviewer with a few criteria, used as a loop and as an eval
- Sandboxed Python — E2B sandbox for the long tail of analyses
- Chunk retrieval — semantic search for large corpora
Google or a one-time email code. No password.