Build a Personal RAG Harness Without Frameworks: Jev Judges, a Local Qwen3 Writes
ghumare64 · x · 2026-10-02
Rohit Ghumare shares a reproducible personal RAG harness that splits roles across models instead of letting one model search, write, and grade itself.
Architecture & flow
- Corpus: 70 of his own pages (52 essays + 18 guides), split into 836 chunks
- Retrieval: nomic-embed-text via ollama with numpy cosine search, pulling 20 candidate passages
- Judgments: Jev (TypeSafe /v1/systemone) handles small typed decisions — whether to search and which passages actually help
- Writing: local qwen3 8B via ollama (8k context, thinking off) answers from the top 5 passages, citing every sentence
- Verification: Jev checks each cited sentence against its passage and escalates when a claim doesn't hold
Implementation details
- 10 short Python files using stdlib + numpy, zero agent frameworks
- Every stage logs time, Jev tokens, and cost; Jev stages took 0.5s each in runs on an Apple Silicon Mac
- A held-out question with a deliberate false premise shows the gold passage climbing from rank 15 to rank 1
Key idea: let a fast judgment model handle yes/no decisions while the writer model only writes — role separation yields more reliable citation checking and transparent cost tracking.
More from coding & agent
- Agentic GraphRAG unifies enterprise knowledge and agent memory in one traversable graph — vm324234 · 2026-11-29
- Coding agent blocked from npm rewrote the whole package from memory — and it worked — Panther1537 · 2026-11-29
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29
- 'Verification is AI's next trillion-dollar category' — proof checkers, evals, agents auditing agents — McDonaghMatthew · 2026-11-29
- Vibe-codevember day 28: 'Hive', a Three.js creative coding demo built with AI — thespite · 2026-11-29
- 'End user programming!': a three-word verdict on what LLM coding really unlocks — round · 2026-11-29