· 14 min read

RAG Development: Process, Team and Timeline

RAG development means building software that answers questions from your own data: it retrieves the relevant passages from your documents or records and has a language model write an answer based on them. A working demo takes a few days. A system that answers correctly for real users, respects who may see what and stays current as your data changes is a software project of several months. This guide walks through that project: the phases, what each one produces, who you need and how long to plan for.
A stack of documents, a staggered project timeline with a search lens and a checkmark, illustrating the phases of RAG development
Planning a RAG project?Tell us the use case, the data sources and who will use it. We’ll help you scope the phases, the team and a first version you can measure.
Plan my RAG project

What is RAG development?

RAG stands for retrieval-augmented generation. In software development it is an architecture pattern: when a user asks something, the application first searches a knowledge source for relevant content, then gives that content to a language model together with the question. The model answers from what it was handed, not from memory. That is how an assistant can answer from last week's policy update or a customer's contract without anyone retraining a model. If the concept is new to you, start with what RAG is in AI.

RAG development is everything needed to make that pattern work on your data for your users. It splits into six workstreams, and only one of them is about the model:

  • Ingestion. Pulling content out of source systems, parsing it, splitting it into passages and keeping the index in sync when documents change or are deleted.
  • Retrieval. Finding the right passages for a question. This is where most of the quality is won or lost.
  • Generation. The prompt and the model that turn passages into an answer with citations, and that decline when the passages do not contain one.
  • Access control. Making sure a user only gets answers built from content that user may open.
  • Application. The interface, sign-in, integrations, feedback and admin tools.
  • Evaluation and operations. A test set, quality metrics, monitoring and a routine for keeping the system correct over time.

This article is about the project. For the components and how they connect, see our RAG architecture guide. For budgets, see RAG development cost.

The RAG development process in nine phases

The order matters. Teams that start with the chat interface and a vector database usually come back to phases one and two later, after they have spent the budget meant for tuning. Each phase below ends with a deliverable you can review without reading code.

  1. Data audit and scopeList the sources, formats, volumes, owners and update frequency. Open a sample of real documents and look for scans, tables, duplicates and outdated versions. Pick one use case and one user group. Output: a source inventory, a list of data problems and a written scope with the errors you cannot accept.
  2. Test setCollect 50 to 200 real questions with the expected answer and the document that contains it. Include questions the system should refuse because the answer is not in the data. Domain experts write these, not engineers. Output: a versioned test set and the metrics you will track: whether the right passage was retrieved, whether the answer is correct, whether it is supported by the cited source.
  3. Baseline pipelineBuild the simplest version end to end on a sample: basic parsing, fixed-size chunks, one embedding model, plain vector search, one prompt. Run the test set. Output: a first score and a breakdown of failures by cause, which tells you where to spend the next weeks.
  4. Retrieval tuningFix the failures the baseline exposed. Typical moves: split documents by their structure instead of by length, attach metadata such as date and document type, combine keyword and vector search, add a reranking step, rewrite vague questions before searching, handle tables and scanned pages properly. Change one thing at a time and rerun the test set. Output: a retrieval configuration that meets the target, with the measurements behind each choice.
  5. Answer step and citationsWrite the prompt so the model answers only from the retrieved passages, cites them and says so when they are not enough. Compare two or three models on quality, cost per answer and response time. Output: a prompt and model choice, a refusal behavior and an answer format with clickable sources.
  6. PermissionsCarry access rights from each source system into the index and filter by them at query time, before anything reaches the prompt. Make deletions and permission changes propagate. For a multi-tenant product, isolate tenants at the index level. Output: an access model and tests that prove a user cannot get an answer from a document they cannot open.
  7. Application and integrationsBuild what users touch: the chat or search interface, single sign-on, connectors with scheduled or event-driven sync, feedback buttons, an admin view of sources and failed documents, an API if other systems call it. This runs in parallel with phases four to six. Output: a usable application on the full data set.
  8. LaunchStart with a pilot group. Test load, test prompt injection through documents and questions, set usage limits, add the test set to the release pipeline so a lower score blocks a release. Output: a production system with monitoring, a runbook and a known cost per answer.
  9. OperationsReview a sample of real conversations every week, turn failures into new test cases, watch index freshness and cost, and rerun the test set before any change of model, prompt or parser. Output: a quality report on a fixed schedule and a named owner. This phase does not end.

Phases two and three are the cheapest insurance in the project. Our RAG evaluation guide covers how to build the test set and which metrics to use, and RAG hallucinations explains the failure types you will be sorting in the baseline phase.

A realistic RAG development timeline

The figures here are planning estimates, not measured results from specific projects. They assume one use case, two to four source systems, tens of thousands of documents at most, hosted models, a core team of three to five people (some of them part-time) and a business side that answers questions within a day or two. Change any of these and the ranges move.

2–4 wkProof of concept: phases 1–3 on a data sample
6–10 wkPilot with real users and one or two sources
3–5 moFirst production version for one use case
5–9 moMany sources, strict permissions or self-hosting
Sample plan: first production version in 16 weeks 048121620 wk 1. Data audit and scope 2. Test set 3. Baseline pipeline 4. Retrieval tuning 5. Answer step, citations 6. Permissions 7. Application, integrations 8. Launch 9. Operations Know the data Reach the quality bar Build the product Pilot and harden Run it One mid-range plan under the assumptions in the text. Your bars will differ; the overlaps should not.
The application is built in parallel with quality work, not after it. The first four weeks produce no interface at all, and that is the point: they tell you whether the rest of the plan is realistic.

Phase by phase, with the factor that most often stretches each one:

PhasePlanning rangeWhat stretches it
Data audit and scope1–2 weeksNo clear owner for a source, slow access approvals
Test set1–2 weeksDomain experts have no time to write questions
Baseline pipeline1–2 weeksScanned or heavily formatted documents
Retrieval tuning2–5 weeksTables, mixed languages, many near-duplicate versions
Answer step and citations1–3 weeksStrict tone or format rules, tight latency target
Permissions1–4 weeksDocument-level rights that differ in every source
Application and integrations4–10 weeksNumber of connectors, embedding into an existing product
Launch2–4 weeksSecurity review, procurement, a pilot that surfaces new data problems
OperationsOngoing, a few hours to a few days a weekFast-changing content, frequent model updates

The ranges overlap in the calendar, so do not add them up. Two things are worth knowing before you commit to a date. First, the schedule is set by the data, and you learn the state of the data in phase one, so treat any date given before the audit as a guess. Second, retrieval tuning has diminishing returns. Agree on the target score before it starts, or it will absorb every spare week.

RAG development team: who you need

A first version does not need a research team. It needs engineers who are careful about measurement and people from the business who know what a correct answer looks like.

RoleOwnsTypical load
Product ownerScope, the quality bar, priorities, the decision to launchPart-time throughout
Domain expertsTest questions and expected answers, review of wrong answersA few hours a week, more in phase two
AI engineerChunking, retrieval, prompts, model choice, evaluationFull-time
Backend or data engineerConnectors, parsing, sync, the index, permissions, APIFull-time
Frontend engineerChat or search interface, citations, feedback, admin viewsFull-time from phase four, or part-time
QA engineerPermission tests, regression runs, edge cases in the interfacePart-time, heavier before launch
DevOps and securityEnvironments, secrets, monitoring, the security reviewPart-time

The role teams most often leave out is the domain expert. Engineers can tell whether an answer is fluent. Only someone who does the job can tell whether it is right, and whether the cited document is the current one. If the business cannot commit those hours, the project will ship something nobody trusts.

The second gap is ownership after launch. Decide in the first month who reads the weekly quality sample and who can approve a change to the index or the prompt. In small teams this is the AI engineer plus the product owner.

Build, buy or outsource

There are three ways to get a RAG system, and many companies combine them: a bought platform for general internal search, a custom build for the use case that is part of the product.

Build in-houseBuy a platformOutsource a custom build
Fits whenRAG is core to your product and you have engineers to own it for yearsStandard search or chat over common sources, speed matters more than controlYou need a custom system and do not have the team, or cannot hire fast enough
Time to first usersSlowest if you hire firstFastest, often weeksClose to the timeline above, without the hiring delay
Control over retrievalFullLimited to what the vendor exposesFull, if the contract gives you the code
Fit with your productAny interface, any workflowThe vendor's interface or its APIAny interface, any workflow
Where data is processedYour choice, including your own infrastructureDepends on the vendor's deployment optionsYour choice, in your accounts
Cost shapeSalaries plus infrastructureSubscription or usage fees that grow with seats or volumeProject fee, then support or handover
Main riskKey people leave, learning on your own budgetLock-in, a quality ceiling you cannot tune pastDependence on the vendor if knowledge is not transferred

Three rules decide most cases:

  • Try buying first for internal, generic use. If employees need to search wikis, tickets and shared drives, test a platform on your own test set before you plan a build. Our lists of enterprise RAG platforms and RAG as a service providers are a starting point.
  • Build custom when the answers are the product. If customers pay for the quality of those answers, or the data has structure a generic platform handles badly, you need control over every step of retrieval.
  • Whatever you choose, own the test set. It is the only asset that lets you compare a platform against a custom build, check a vendor's work or switch models later. Keep it in your repository.

If you outsource, ask for the code and infrastructure in your accounts from day one, a failure analysis after the baseline phase and documentation of every tuning decision. Our list of RAG development companies covers vendors that do this work.

Built by Gilzor

Results we’ve shipped

70+products launched
98%delivered on time
85%clients come back
5.0on Clutch
Art Scherbakov, Co-FounderAndrew Laminsky, CTOYuri Rudenya, Head of Mobile Development at GilzorAlena Timofeeva, Product Marketing Lead

Talk to the people who build it. Tell us about your project and get a free estimate of scope, timeline and cost.

See how we’d approach yours

Why RAG projects stall between demo and production

A demo proves the pattern works on questions the team picked. Production is a different test. These are the common reasons the gap does not close:

  • No test set, so no definition of done. Quality is judged by whoever tried it last. Every stakeholder finds a different bad answer, and the team tunes in circles. A fixed test set with a target score ends the argument.
  • The demo ran on clean documents. The full corpus has scans, spreadsheets, three versions of the same policy and pages where the key fact sits in a table. Retrieval that scored well on fifty tidy PDFs drops on the real set. The data audit exists to find this before the plan is fixed.
  • Permissions were left for later. Adding access control after the index is designed often means re-indexing and reworking the retrieval queries. Security review then blocks the launch, correctly.
  • Ingestion is a one-time script. The demo loaded documents once. Production needs updates and deletions to reach the index within an agreed time, and a report of documents that failed to parse. Stale answers destroy trust faster than missing ones.
  • The system answers when it should decline. Without a tested refusal path, questions outside the data get confident answers. Users notice once and stop relying on it.
  • Latency and cost were never budgeted. Reranking, query rewriting and a large model each add time and spend. A pipeline tuned only for quality can take too long per answer for a chat interface. Set both budgets in phase one and measure them with every test run.
  • Nobody owns it after launch. Content changes, the model provider retires a version, a new document type appears. Without a weekly review and a named owner, quality decays quietly.
  • The scope grew before the first use case worked. Adding sources and user groups multiplies the data problems and the permission rules. Get one use case to the target, then expand.
A quick test of any plan

Ask what will exist at the end of week four. If the answer is a chat interface, the plan is demo-first. If it is a data inventory, a test set and a baseline score with failures sorted by cause, the plan is built to reach production.

RAG project readiness checklist

Tick what is already true. It shows whether you are ready to start the build or still have groundwork to do.

RAG development readiness

FAQ

What is RAG development?
RAG development is building a retrieval-augmented generation system: software that searches your documents or records for the passages relevant to a question, passes them to a language model and returns an answer grounded in those passages, usually with citations. As a project it covers data ingestion, indexing, retrieval tuning, the answer prompt, access control, the user-facing application, evaluation and ongoing operations.
What is RAG in software development?
In software development, RAG is an architecture pattern for giving a language model access to knowledge it was not trained on. Instead of retraining the model, the application retrieves relevant content at request time and puts it in the prompt. The term is also used for RAG over a codebase, where a coding assistant retrieves relevant files and documentation before answering. The engineering pattern is the same in both cases.
How long does it take to build a RAG system?
As a planning estimate, a proof of concept on a sample of your data takes 2–4 weeks, a pilot with real users 6–10 weeks, and a first production version for one use case 3–5 months. Several source systems, document-level permissions, self-hosted models or a customer-facing product built around the assistant push the total to 5–9 months. The state of your data moves the date more than any technology choice.
Who do you need on a RAG development team?
A typical core team is a product owner, an AI engineer who owns retrieval and evaluation, a backend engineer for ingestion and integrations, and a frontend engineer for the interface, with part-time QA and DevOps or security. You also need one or two domain experts from the business for a few hours a week. They write and review the test questions, and no engineer can replace them.
Should we build a RAG system in-house, buy a platform or outsource?
Buy a platform when the use case is standard search or chat over common sources and you can accept the vendor's retrieval behavior. Build in-house when RAG is core to your product and you have engineers who can own it for years. Outsource when you need a custom system but lack the team, and make sure the test set, the code and the documentation stay with you so you are not locked in.
Why do RAG projects fail after a good demo?
A demo shows ten questions the team already knows work. Production brings thousands of questions nobody planned for, over documents that are duplicated, outdated or badly formatted, from users with different access rights. Projects stall when there is no test set to measure quality, when permissions were left for later, when ingestion cannot keep the index fresh, or when nobody owns quality after launch.
Do we need a vector database to start RAG development?
Not necessarily. Retrieval needs a search index, and for many first versions the search engine or relational database you already run, with a vector or full-text extension, is enough. Decide after the baseline phase, when you know your document volume, the filters you need for permissions and whether keyword search, vector search or a combination of both gives the best results on your test set.

Where Gilzor fits

Gilzor builds custom RAG systems, applications and chatbots, adds RAG to existing products, and consults on and evaluates RAG systems. If the plan in this guide is one you want to run with an outside team, our RAG development services cover the phases above, and a 2-week fixed-price Discovery Sprint is a way to scope the project before you commit to the full build. Our AI work so far includes an AI payroll platform that extracts data from PDFs and cut salary calculation errors by 17%, and QLode, an AI fashion commerce product with image and text search. We have launched 70+ products, and 85% of clients come back. The team works from Poland, with a partial overlap with the US working day.

Tell us the use case, the sources and who will use the answers. We'll help you turn that into phases, a team and a timeline with the assumptions written down.

No sales pitch

Get a straight answer for your project

Tell us what you’re building. We’ll reply with options, a rough cost and timeline. If we’re not the right fit, we’ll say so.

Next, a few optional questions so the first call is useful. We use your details only to reply to your request. Privacy Policy

Andrew Laminsky
Written byAndrew Laminsky

CTO of Gilzor. Responsible for architecture and the engineering standards our teams work by.

LinkedIn →

Gilzor · AI/ML Solutions partner

Need a team for your AI product?

95%referred by business partners
70+successful launches
85%repeat business
98%delivered on time

The team behind them

Art Scherbakov
Art ScherbakovCo-Founder
Andrew Laminsky
Andrew LaminskyCTOLinkedIn
Yuri Rudenya
Yuri RudenyaHead of Mobile Development at GilzorLinkedIn
Alena Timofeeva
Alena TimofeevaProduct Marketing LeadLinkedIn
Tell us what you’re buildingOptions, a rough cost and timeline for your project. No commitment.

More insights