Somewhere in the last two years, "should we add AI?" became "why don't we have AI yet?", usually delivered by a board member. The good news: adding an assistant to an existing product is a solved engineering path. The bad news: most teams walk it in the wrong order, ship a demo that embarrasses them, and conclude AI was the problem.
I build these systems for a living, including an LLM assistant inside a production healthcare platform. This is the roadmap I actually follow, in the order that avoids the embarrassing middle.
Phase 0: Pick the job, not the technology
"An AI assistant" is not a scope. "Answer customer questions from our help docs and order history, and escalate to a human when unsure" is a scope. The strongest candidates share three traits: the knowledge already exists somewhere in your systems, the task is repetitive enough that people resent doing it, and a wrong answer is recoverable rather than catastrophic.
Support deflection, internal knowledge search, onboarding guidance and report drafting are strong first jobs. Anything that touches money movement or medical or legal advice without a human in the loop is a last job, not a first one.
Phase 1: Data readiness, the unglamorous gate
The assistant will be exactly as good as what it can retrieve. Before any model choice matters, someone has to answer: where does the truth live, how stale is it, who owns updating it, and what must never be exposed?
In practice this phase is a cleanup: deduplicating docs, killing outdated pages, adding titles and dates, and deciding access boundaries. Teams want to skip it. The ones that do meet their old, wrong documentation again in the assistant's confident voice, in front of customers.
Phase 2: Choose the architecture honestly
Three options cover almost every case:
- API only. No retrieval, just a well prompted model for drafting and rewriting tasks. Cheapest, fastest to ship, right for generation without company knowledge.
- RAG. Retrieval over your own content grounds every answer in your truth. This is the default for assistants that answer questions about your product, your data or your documents, and it is what most products actually need.
- Fine tuning. Teaches style and format, not facts. Useful late, for tone consistency at scale. Almost never the place to start, despite being the option executives have most often heard of.
The decision is not really technical. It is about where your truth lives and how often it changes. Truth that changes daily belongs in retrieval, not in model weights.
Phase 3: The pilot, scoped to be survivable
Ship to a slice: one team, one customer segment, one document set. Internal users first if the answers touch anything sensitive. The pilot exists to answer four questions with numbers: do people use it twice, what share of answers get a thumbs down, what does a conversation cost, and where does it hallucinate.
Two weeks of a real pilot beats two months of stakeholder meetings, and it produces the artifact the next phase depends on: a list of real questions people actually asked.
Phase 4: Evals and guardrails, or it will decay
Those real questions become your evaluation set: a hundred question and answer pairs, scored automatically against every change. This is the single practice that separates assistants that improve from assistants that quietly rot as prompts get "improved" and models get swapped.
Guardrails belong here too: answer only from retrieved context, refuse gracefully and route to a human when confidence is low, cite sources, log every answer with the exact context that produced it. Refusal done well builds more trust than a wrong answer ever loses you.
Phase 5: Rollout, cost and the boring plumbing
Full rollout is mostly engineering you already know: streaming responses so answers feel instant, caching for repeated questions, rate limits, monitoring on token spend per conversation. Cost engineering is real but manageable: smaller models for routing and rewriting, the big model only for final answers, deduplicated context. I have cut per conversation costs in half with a day of this kind of work, no quality loss.
Build versus buy, answered plainly
Buy an off the shelf assistant when your need is generic support deflection over public docs and your data can live in a vendor's cloud. Build when the assistant must reach into your product's private data, respect your permission model, or become part of the product you sell. Building on managed APIs is not the same as building from scratch; the heavy lifting is pipeline and product work, exactly the kind described above.
Timelines and money, in honest ranges
An API only drafting feature: one to three weeks. A grounded RAG assistant piloted on one knowledge set: four to eight weeks. Hardened, evaluated, rolled out: two to four months from first commit. As a freelance senior engineer I price these from roughly $10,000 for a scoped pilot to $40,000+ for a full production assistant; agencies multiply that severalfold.
The red flags that predict failure
A demo built on cherry picked questions. No named owner for the source content. "We'll add evals later." Skipping the pilot to launch to everyone at once. And the biggest one: nobody able to state, in one sentence, the job the assistant was hired to do.
Avoid those five, follow the phases in order, and adding AI stops being a leap of faith and becomes what it should have been all along: a well understood engineering project with a measurable payoff.
Want an assistant inside your product without the embarrassing middle phase? Let's scope it.
Need this built?
I offer these as services. Happy to help with yours.