How it evolved
From a single prompt to an agent teams run on their own files.
- Specify
Set the output spec
The first prompt returned a wall of text. So I set three requirements: it checks itself, a reader can verify it fast, it stays short.
- Build
Evidence in every insight
A four-part readout where each insight carries two quotes, each with its row and cell. Built to handle any team's export.
- Evaluate
Check the citations
On a 500-comment file, 4 of 4 cited quotes matched their spreadsheet cells.
- Iterate
Cut, keep, add
Copilot proposed and I decided. Five quotes per insight became two; guardrails and file handling went in.
- Ship
Take it to teams
Use was voluntary, so I presented it across Experience Design. One readout backed a fix that shipped.
From a wall of text to a readout
Version one proved a model could read the file. It produced nothing a team would use. So before touching the prompt, I wrote down what the output had to guarantee:
- It checks itself. The agent tests its output against a set of rules before returning it.
- A reader can verify it fast. A mistake is easy to catch without rereading the data.
- It stays short. A team won't read a long report, so length counts as a failure too.
The last two pull against each other: proof adds length. Most of my decisions came down to that trade-off, verifiability against brevity.
- One unbroken block of text
- No rules against inventing quotes or counts
- Too long for a team to finish
- Four sections, each with one job
- Exactly two quotes per insight, each with its row and cell
- Guardrails against inventing data
Schematic, not the agent's actual output. Bank of America prompts and readouts aren't shown.
Every insight shows its evidence
An insight counts only if it has four things: a why, an approximate count, two quotes in customers' own words, and the impact. The confidence rating says how well it meets that standard.
- Insight
- Customers can't tell whether a card payment went through.
- Why
- Comments describe paying, seeing no confirmation, then paying again or calling.
- Evidence
- Approx. 60 of 500 comments (about 12%)
- Quote 1
- "I paid on Friday and my balance still hasn't changed. Did it go through?"Row 212, cell F212
- Quote 2
- "There was no confirmation screen, so I paid twice."Row 388, cell F388
- Impact
- Duplicate payments and avoidable calls.
- Confidence rating
- High: all four elements are present.
Built for real files
Teams drop in an export and explain nothing. No two exports are laid out the same. So the agent checks what a column is called, then what's in it, then rules out lookalikes. It keeps the original row numbers through cleaning, so every citation points to the right cell. Its first line states what the file is about, so a misread shows up at once.
What the instructions cover
Bank of America prompts aren't reproduced here. This is what the instructions cover, in run order.
- Input handling
- Find the comment column by its name, then by its contents, and rule out lookalikes.
- Cleaning
- Keep every original row number. Redact personal information.
- Stop condition
- If the file has nothing usable, stop and say so.
- Output format
- A four-part readout: summary with a caveats note, customer quotes, insights, recommendations. The first line states what the file is about.
- Evidence standard
- Every insight needs a why, an approximate count, two cited quotes and the impact, plus a confidence rating.
- Guardrails
- No invented data, quotes, counts, row references, themes or recommendations.
- Self-check
- Test the output against these rules before returning it.
Checking the citations
The agent's core promise: every quote can be traced. So the first check was whether the citations were real.
- Method
- I opened the source file and compared each cited quote with the row and cell the readout gave for it.
- Sample
- One 500-comment credit card file. Four cited quotes.
- Result
- 4 of 4 matched their cells.
- Limits
- A small spot check of citations. It doesn't score the themes or the counts.
A second check came from use: readouts matched problems teams had already found. See Ship.
What I kept, cut and added
I refined the prompt in conversation with Copilot, then set it up as an agent teams could run themselves. I set the requirements. Copilot proposed. I decided what stayed.
| Decision | What happened | Why |
|---|---|---|
| Cut | Copilot proposed five quotes per insight. I set it at exactly two. | Two quotes are enough to prove an insight. Five are more than a team will read. |
| Kept after testing | Copilot proposed a caveats note in the summary. I kept it once testing showed it helped. | It gives the agent one place to tell the reader what to know about the data and the output. |
| Added | Guardrails against inventing data, quotes, counts, row references, themes or recommendations. | The first prompt had none. |
| Added | Logic for finding the comment column in any file. | Exports weren't laid out the same from team to team. |
The guardrails and the citations work as a pair. Telling a model not to invent quotes is a request, not a guarantee. The citation lets a person catch one anyway.
Result
Use was voluntary, so I presented the agent to teams across Experience Design. Several found it confirmed problems they had already identified and funded. That overlap was a validation against known issues: from the comments alone, the agent reached the teams' own conclusions. It is not a measured accuracy rate. It also surfaced problems they hadn't found.
In credit cards, customers didn't understand why a Bank of America card could no longer be paid through bill pay. The team had heard about the confusion. The readout showed how often it came up, in customers' own words. Customers who try to pay a card in bill pay now go straight into the new payment flow.
- Days → minutesTime to synthesize a feedback file properly
- ShippedThe bill pay fix the readout gave the team evidence for
Next iteration
The agent is weakest when comments are broad. It sometimes struggles to find two quotes that clearly back an insight, which tells me the insight may be thin. Next: sharper guidance and examples for writing insights and UX recommendations in the language design teams use. Then a set of files built with deliberate traps, to find where it breaks.