Building a RAG system that says "I don't know" with Llama 3.1 and LangGraph
11/26/2026 — 11/26, 16:20·1 sources (all)·1 reports (all)
Key takeaways
- The author built a RAG system that refuses to answer unless the answer has a cited source. It runs locally on Llama 3.1 8B via Ollama with j…
Background & analysis
On November 26, 2026, DEV Community's AI section published a hands-on post by an author who built a system called Llama Agentic RAG. The project is organized around a single rule: an answer must be backed by cited sources, or the system responds that it does not know. The author argues that most RAG demos share the same flaw. Ask them about something the documents never mention, and they still answer, confidently and incorrectly. In a demo that may be a curiosity, but in production it is how a support bot ends up inventing a refund policy.
The implementation runs entirely locally on Llama 3.1 8B through Ollama, fitting within 8 GB of VRAM, so private documents never leave the machine. The pipeline is a five-stage LangGraph state machine. The author also assembled an evaluation set that deliberately includes questions the documents do not cover, in order to test whether the model says it does not know when it should.
The post does not describe a release timeline, user numbers, or outside assessments. What is publicly available so far is the author's account of the implementation and its evaluation design, shared on DEV Community.
AI-generated from 1 reports · updated 3 days ago
- Heat index
- 25
- All sources
- 1
- All reports
- 1
- First seen
- 3 days ago
Reports on this story headlines open the original
A developer built a self-correcting RAG pipeline on the rule that every answer must be backed by a cited source, or the system refuses to answer. It runs entirely locally with Llama 3.1 8B via Ollama inside 8 GB of VRAM, so private documents never leave the machine. The pipeline is a five-stage LangGraph state machine, and the evaluation set deliberately includes questions the documents never cover.
DEV Community · AIAI score 53
Other stories people are talking about
- Heat index 763RisingOpenAI countersues Apple over trade secrets and supplier pressure14 sources
- Heat index 367SurgeAnthropic Denies Claims Claude Sabotages ML Research5 sources
- Heat index 293Musk says Google is interested in renting more compute from SpaceX5 sources
- Heat index 166Claude Code adds /ship command for automated PR review3 sources
- Heat index 166RisingGoogle ships Workspace MCP servers and CLI, mandating agent access path2 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion

