Skip to content
Bil Arikan
Search posts and notes
Posts

Case study : from scattered documents to a pilot

Buy me a coffee

It started as a folder of mixed documents (PDF, Word, Excel), a sales team that needed answers in the middle of a call, and a request : what if an agent could help us during a call, not before a call doing simulated calls.

In this post I want to give the whole arc of that project, be honest about what did not work, and leave a starter kit and the public code for an applied-AI team that wants to repeat it.

One framing note before we start. The result is a prototype that shows sales leaders what is possible. It is not a pilot with data. The pilot is what the prototype is meant to earn.

Goal

Show the whole arc of researching and building this prototype.

Working assumption at the start

That converting the business process documents well would be enough. It was not.

The situation

A sales organization I was working with had a process that had grown in layers around a complex application. The milestone was a prototype that would let their sales leaders see what is possible, and open a conversation about sponsoring more work. No production system.

The arc in five moves

The experiment : could an adviser help a sales rep in the middle of a live call, with only a folder of scattered documents behind it? I started with a text-first, advice-only prototype, turned the documents into knowledge, and ran a mock call. About 15% of the answers were helpful. Then I asked the person who does the task best to narrate two demos on screen, read them frame by frame, settled disagreements with one round of written questions, and ran the same mock call on the same flows. About 65% were helpful. The outcome was a demonstration for sales leaders and a path to a bounded trial, not a pilot with data. Here are the five moves, in order.

  1. Decide how the knowledge is delivered. Curated pages in an open Markdown format, with keyword lookup and no vectors. (Markdown files an agent can trust and Vector, graph, or a curated wiki)
  2. Understand the gap. Tips, documents, onboarding and coaching each cover part of a task. (The knowledge nobody has at the moment they need it)
  3. Build the harness. An adviser that listens, sees the screen, and never clicks. (Putting an agent next to a sales rep)
  4. Turn the documents into knowledge, and test it. About 15% helpful.
  5. Capture from narrated demos, and test again. About 65% helpful, on the same flows. (Turning narrated demos into scalable agentic knowledge)

In this case the framework was Google’s Agent Development Kit and the model was a Gemini Live model.

Correction to the initial approach

Documents alone were not enough grounding. I gave a coding agent the source documents and asked it to write the knowledge. The first mock call showed the result : the assistant could answer a policy question, and still could not say where to click. The documents held rules without sequences, and no screen locations. What changed : I stopped treating documents as the source of truth for procedure, and asked the person who does the task best to demonstrate it.

What made the difference, when we converted real expert guidance

  • A small advice-only boundary. It kept the scope tractable.
  • Knowledge shaped like tasks, in the rep’s words.
  • A sales leader who narrated on screen.
  • One round of written questions to settle disagreements.
  • Testing with the person who knew the process.

All of this is one prototype and one process. I would hold it loosely.

A starter kit for others

  1. Pick one narrow flow that people struggle with mid-task.
  2. Find the person who does it best. Ask for two narrated demos in a test environment.
  3. Convert with a coding agent. Tell it to read the screen, not only the transcript.
  4. Ask it for a list of discrepancies and open questions. Get written answers.
  5. Keep everything draft until a person verifies it.
  6. Test with a mock call and a simple rubric. Run the same test after every change.
  7. Keep the agent advice-only until the numbers justify more.
  8. Write down what you would not want a sponsor to find out later : where the data goes, who owns the knowledge, and what happens when the model retires.

The code

The harness is public, under an MIT license : bilarikan/real-time-agent-process-assistant.

What is in the repository :

  • The local server and the live bridge to the model.
  • The agent, with its knowledge tools and its tested calculation tools.
  • A validator for the knowledge format.
  • A placeholder knowledge bundle for a fictional vendor.

What is not in it : the sales team’s knowledge or source material. You bring your own.

It is the same prototype described in this series, with the same limits. Treat it as a starting point, not as something ready for real customer calls.

Where the prototype stands

Status

  • A working advice-only prototype
  • Mock-call helpfulness moved from ~15% to ~65%, on the same flows that were recorded, scored by hand
  • Verified knowledge
  • Measured cost per call
  • Evidence of time saved or faster onboarding

That says the capture method works on what it captured. It does not show generalization. The cost model is a set of hypotheses to test.

What a sponsor will ask

What I would want ready before the conversation :

  • Data residency and a privacy review.
  • Who owns and verifies the knowledge.
  • Where recordings and knowledge live.
  • The model lifecycle.
  • Measured cost per call.
  • How the benefit would be measured.
  • The staged path from adviser to an agent that helps with entries.

Risk or limitation (for now)

  • One team, one process, one prototype.
  • One expert as narrator, reviewer and authority.
  • A test on the same flows as the recordings.
  • My own background, which another builder may not share.