Problem
Teams that ship AI agents track session length, tool calls and completion rate. These numbers miss how the session felt: a task can finish in twelve minutes even though the user rephrased the same request five times. Reading thousands of daily conversations by hand is not feasible, and it also exposes private user content.
Example from the article: a refactoring session shows 45 tool calls, 12 minutes and a completed task, but contains a three-minute loop where the user rephrased the request five times before the agent understood.
Solution in brief
Factory runs an LLM judge over each day's long sessions. The judge outputs structured facets, friction and delight moments with severity, and abstracted citations instead of quotes. Embedding clusters propose new categories, results are joined with error logs and releases, and a threshold on pattern frequency files tickets that the coding agent fixes.
Questions this case answers
- How to detect user struggle in long free-text interaction sessions at scale when outcome metrics such as completion rate and duration hide it
- How to analyze sensitive user conversations with an LLM so that analysts only see abstracted, aggregated findings
- How to find user friction in AI agent sessions when completion metrics all look fine?
- How to analyze thousands of conversations daily without humans reading user content?
Tools and methods
- LLM-as-a-judge (GPT-5.2 via OpenAI batch API) — extracts facets, friction and delight from each session.
- Embedding clustering — finds new facet and friction categories that the fixed schema misses.
- BigQuery — source of sessions and store of results for trend queries.
- Slack — daily friction report, with release-note correlation.
- Ticket automation (Linear and Droid agent) — files tickets and drafts fixes above a threshold.
Google or a one-time email code. No password.