BA Copilot: An AI Assistant That Helps Business Analysts Ask the Next Question
A Windows app that reads the project documents, listens to a requirements interview, flags conflicts and gaps as they come up, suggests the next question, and drafts the requirements, user stories and BRD afterwards.
A requirements interview asks a Business Analyst to do five things at once: listen, take notes, notice when something is vague or contradicts what was said ten minutes ago, think of the next question, and keep track of the topics nobody has covered yet. Then the call ends and the BA spends the afternoon turning a page of notes into minutes, requirements and user stories.
I had already built a real-time meeting assistant for sales calls. That one answers questions. A BA needs the opposite: help asking them. So I reused the audio and streaming parts and built a new layer for BA work. This post covers what BA Copilot does, how it is put together, and where the MVP still falls short.
The problem
Most elicitation problems are not caused by missing tools. They are caused by attention running out:
- Conflicts slip by. The finance manager says the CFO approves anything over 10,000 USD. Two minutes later the AP lead says the limit moved to 25,000 last quarter. If the BA misses that, the wrong number ends up in the spec.
- Vague words stay vague. “Fast approval”, “small invoices”, “usually we chase the deputy”. Each one should become a number or a rule. In a live conversation, many don’t.
- Topics get skipped. Exceptions, audit, reporting, integrations. Fifty minutes later the meeting is over and nobody has asked about them.
- Documentation eats the next day. Minutes, requirements, stories with acceptance criteria, a follow-up email. All of it is written from memory and notes.
Generic AI note-takers summarise the meeting after it ends. That does not help in the moment, and a summary is not a requirements spec.
What I built
BA Copilot is a Windows desktop app (.NET 9, WPF) that sits next to Teams, Zoom or Meet. It works in three stages, and each stage feeds the next.
| Stage | What the BA gets |
|---|---|
| ① Prepare | Load the project documents (PDF, Word, Excel, PowerPoint, text, pasted email threads). Get a project brief: goals, scope, stakeholder map, As-Is, requirements already in the documents, gaps and contradictions between documents, and the top 10 points to clarify. Then an interview guide: agenda, opening script, questions grouped by topic with a why for each, and a coverage checklist. |
| ② Interview | A live transcript with speakers. About every 45 seconds the AI updates five panels: requirements (typed, MoSCoW priority, cited), issues (ambiguity, conflict, assumption, risk, gap), coverage by topic, summary with decisions and actions, and 3–5 suggested questions. One hotkey gives an instant “what to ask next”. |
| ③ Deliverables | Meeting minutes, requirements specification, user stories with Gherkin acceptance criteria, As-Is/To-Be process in Mermaid, open questions plus a follow-up email, gap/conflict/risk analysis, glossary and data dictionary. Across all sessions: a BRD draft and a merged backlog with a traceability matrix. Edit, then export to .md or .docx. |
Unanswered questions and open actions from one session carry over into the next session’s guide automatically, so a series of interviews builds on itself instead of starting from zero each time.

The screenshots use a made-up project, “Invoice Approval Automation” at a fictional retailer. Look at the suggestions: each card names the technique (probe, confirm, quantify, example), the topic, and why it matters. “Mark, can you confirm which CFO limit applies today: ten or twenty-five thousand?” points straight at the conflict from the problem section above.
How it works
There is no backend. The app calls the cloud APIs directly with the user’s own keys and keeps everything in JSON files under %APPDATA%.
flowchart TD
D[Project documents] --> X[Text extraction<br/>PDF, DOCX, XLSX, PPTX]
X --> CTX[Project context<br/>cached once]
S[Meeting audio] --> A[WASAPI loopback]
M[BA microphone] --> B[WASAPI capture]
A --> STT[Deepgram nova-3<br/>with diarization]
B --> STT
STT --> T[Live transcript<br/>Speaker 1, 2 / BA]
CTX --> L[Claude Sonnet<br/>live analysis, delta JSON]
T --> L
L --> UI[Requirements · Issues<br/>Coverage · Ask next]
CTX --> O[Claude Opus<br/>brief, guide, deliverables]
T --> O
O --> W([.md / .docx])
| Layer | Choice |
|---|---|
| App | .NET 9, WPF, Markdig.Wpf for Markdown rendering |
| LLM | Anthropic C# SDK with streaming and prompt caching. claude-opus-5-5 for preparation and documents, claude-sonnet-5-5 for live work |
| Audio | NAudio WASAPI: system audio (stakeholders) and microphone (BA), mixed to 16 kHz mono PCM |
| Speech-to-text | Deepgram streaming (nova-3, diarization); Azure AI Speech or offline Windows Speech as alternatives |
| Documents | PdfPig for PDF, DocumentFormat.OpenXml for Word, Excel, PowerPoint and the .docx export |
| Storage and keys | Local JSON files with atomic writes; API keys encrypted with Windows DPAPI |
Design decisions that mattered
Cache the documents once, reuse them everywhere
Every call to Claude has the same shape: the project context (description, stakeholders, brief, guide, open items from earlier sessions, and the full text of the documents) is the first system block, marked for caching. The task prompt comes second.
system[0] = CONTEXT (cache_control: ephemeral) same for every task in this project
system[1] = PERSONA+TASK brief, guide, live, next question, deliverable…
messages = [user: transcript, current state, question…]
The documents can be up to about 100k tokens. After the first call they are read from cache at roughly a tenth of the input price. A cache only hits when the bytes match exactly, so the app builds the context string once per project and session and reuses that same string. Rebuilding it per call, even with identical content, risks a small difference (a timestamp, the order of a dictionary) and a silent cache miss on every request.
Live analysis returns changes, not the whole state
In a long interview, asking the model to rewrite every requirement every 45 seconds gets slower and more expensive with each cycle, and gives the model a chance to reword items that did not change. So the live prompt sends the current state plus the transcript split into “earlier” and === NEW SINCE LAST ANALYSIS ===, and asks for a delta only:
{
"requirements_upsert": [{ "id": "FR-004", "status": "needs_clarification" }],
"requirements_remove": ["FR-007"],
"issues_upsert": [{ "id": "I-001", "kind": "conflict", "resolved": false }],
"suggested_questions": [{ "question": "…", "why": "…", "technique": "quantify" }],
"coverage": [{ "topic": "Approval rules & limits", "status": "partial" }]
}
The app merges it. Upserts match by ID and only overwrite the fields present in the reply, so the model can change one status without repeating the statement:
var x = i.Requirements.FirstOrDefault(q => q.Id == id);
if (x == null) { x = new RequirementItem { Id = id }; i.Requirements.Add(x); }
x.Statement = Str(e, "statement") ?? x.Statement;
x.Priority = Str(e, "priority") ?? x.Priority;
x.Status = Str(e, "status") ?? x.Status;
Suggestions are always replaced (old suggestions are stale by definition), and decisions are only added if they are not already there. If the model ever returns broken JSON, that cycle is skipped and the state stays as it was. The next cycle tries again.
Evidence first, then inference
The persona prompt casts Claude as a senior BA working from BABOK, with a few hard rules: write in English whatever language people speak, cite every point as [hh:mm:ss Speaker] or [doc: file name], never invent numbers or names, and keep what was stated, inferred and assumed apart. Each requirement carries one of those statuses, plus needs clarification or confirmed.

The conflict card above cites both speakers and the Excel approval matrix that was loaded in the Prepare stage. When the BA reviews the spec with stakeholders, every line can be traced back to who said it and when.
BA technique lives in the prompt, not the code
The interview techniques a good BA uses are written into the prompts:
- turn vague words (fast, easy, usually, real-time, secure) into a quantify question;
- move from the happy path to exceptions: what happens when it fails, is late, or is wrong;
- when someone says “we always…”, ask them to walk through the last time it happened;
- when a stakeholder proposes a solution, ask why to find the need behind it;
- one neutral question at a time, short enough to say out loud.
The instant “what to ask next” prompt is deliberately small. It is built to be read in ten seconds:
**Ask now:** "<one question, natural to say aloud>"
*Why:* <≤ 15 words>
**Then:** two follow-up questions, each with a reason
**Listen for:** what a complete answer must contain: numbers, rules, exceptions, owners
It runs on the live model with low effort and a 1,500-token cap, on top of the cached context, so it streams back within a few seconds.
All prompts sit in one prompts.json file. A new deliverable type (UAT test cases, for example) is one new JSON entry and a rebuild, with no C# changes. Placeholders are filled in a single pass, and the context block tells the model that everything inside it is data, not instructions. That way a {{placeholder}} or an instruction hidden in an uploaded document does nothing.
Who is speaking comes from the audio path
The BA’s microphone and the meeting’s audio are captured as two separate channels, each with its own recognizer. “BA” versus “stakeholder” is decided by where the sound came from, not guessed. Diarization runs only on the system-audio channel, which splits stakeholders into Speaker 1, 2 and so on. The BA types 1=Jane Doe once and the whole transcript is relabelled. Each utterance is stamped with the time speaking started, so lines from the two channels fall into the right order even when one recognizer finishes later.
Two audio details carried over from the meeting assistant. WASAPI loopback sends nothing when the PC is silent, so the recognizer never learns a sentence has ended; the app injects 100 ms of silence whenever no data has arrived for 150 ms. And audio goes to Deepgram through a bounded queue that drops the oldest chunk when full, so a slow network can never block the capture thread.

From interview to documents
After the call, the BA picks a deliverable and presses Generate. Session documents use that session’s transcript, notes and analysis. The BRD and the backlog pull from every session in the project, newest first, capped at about 150,000 characters of transcript.

The story above traces to FR-001 and NFR-001 and to the transcript line it came from, and its acceptance criteria cover the reject-without-a-reason case as well as the happy path. The .docx export turns Markdown into a proper Word document: real heading styles (so the navigation pane and table of contents work), tables with a repeating header row, and code blocks for the Mermaid and Gherkin parts.
The AI writes the first draft. The BA still owns what gets sent.
Limits, and what I’d change
This is an MVP, and the design document lists its gaps plainly:
- Scanned PDFs have no text. The app tells you (“no text found”), but it cannot read them yet. The fix is to send those files to Claude as document or image blocks and let the model do the OCR.
- Context is cut by character count, not relevance. The default limit is 400,000 characters of documents. For a large project, the right answer is retrieval: chunk the documents and send only the relevant parts.
- In-room interviews are weaker. Diarization only runs on the system-audio channel. With one laptop in a meeting room, every voice arrives on the microphone and becomes “BA”. Turning on diarization for the mic channel is a small change I have not made yet.
- Deliverables are free Markdown. Good for people, awkward for tools. Pushing stories into Jira or Azure DevOps should use a JSON schema for stories and requirements, not parse Markdown.
- Cost scales with meeting length. A 60-minute interview at a 45-second interval means 60–80 live analyses. Context caching keeps that reasonable; the setting to stretch the interval is there for long workshops.
- Testing is thin. A smoke test (prompt filling, injection-safe placeholders, DOCX round trip, PDF line order, VTT import, insight merging) passes 20 of 20 checks. There is no proper unit test project yet, and nothing that tests the live JSON contract against sample transcripts. That comes before wider use.
- Headphones are not optional. Without them the microphone picks up the speakers and stakeholder lines appear twice.
Privacy
An app that listens to meetings has to be upfront about it. The Interview tab always shows a reminder to tell participants they are being recorded, and the generated interview guide opens with that request. Audio goes only to the chosen speech provider, or nowhere with offline Windows Speech. Text goes only to the Anthropic API. There is no server in between. Each document has a checkbox, so anything sensitive can be kept out of every prompt.
What’s next
- Push user stories to Jira, Azure DevOps or Linear, and minutes to Confluence or Notion.
- Track how requirements change between sessions, with a diff.
- Talk-time and participation stats per stakeholder.
- A proper test suite for the prompts and the live JSON contract.
The bigger takeaway for me: the audio pipeline from the meeting assistant moved over almost unchanged. What made this a BA tool was everything above it: a persona with real elicitation technique, citations on every claim, a delta contract that keeps the live view stable over an hour-long interview, and outputs shaped like the documents a BA actually hands over. It is also a plain .NET desktop app with no backend, the kind of thing a team running on .NET and Windows can adopt without a new platform to approve.