Agentic Research
IntermediateDeveloper Track

Build RAG from Scratch: Documents to Vector Store to Q&A

A tunable RAG in 1 day9 steps3 tools

What this scenario solves

You used a framework but do not understand the mechanics, so when retrieval quality drops you do not know what to tune.

Tool stack

Not the only solution, but a stack we have verified end to end. Each tool links to its full review, including who it is not for.

  1. 01
    DeepSeekDeepSeek

    Low-cost high-capability model, a good default backend for agents

  2. 02
    OllamaOllama

    Run open models locally with one command, exposing an OpenAI-compatible API

  3. 03
    Claude CodeAnthropic

    Terminal-based coding agent that can point at any OpenAI-compatible backend

What you end up with

You get

You implement chunking, embedding, retrieval, reranking, and generation yourself, plus a measurable retrieval-quality evaluation.

Full steps

  1. 01核心組件拆解
  2. 02完整 RAG Pipeline 代碼

Adjacent scenarios

Other scenarios using

Level: Intermediate · Tracks: Developer Track · Last verified: 2026-09-29