Replacing vector-search RAG with Markdown docs + knowledge graphs on Claude CLI

Shivam__kumar · reddit · 2026-11-07

The author building an AI system for a complex ERP app replaced vector-search RAG with a documentation-first architecture: structured Markdown files for every module, business rule and DB table relationship, a knowledge graph Claude generates from those docs, a read-only MCP server for live database queries, all wired through Claude CLI with custom rules. Results beat the old RAG setup, with an estimated 95% hallucination reduction (unbenchmarked), and no per-question handlers needed since Claude picks its own tools. Multi-user isolation is being enforced at the app/MCP-server level, not via prompts. The author stresses it's an experiment, not a claim that vector RAG is useless.

Related event: Developer ditches vector RAG for Markdown knowledge graph, cutting hallucinations ~95%(2 posts)→

Original post →

More from coding & agent

coding & agent channel →