Building a Knowledge Graph Without a Graph DB: 1000x Cheaper Than GraphRAG
TheRedfather · reddit · 2026-07-22
A solo-founder shares practical learnings from building a 'company brain' knowledge base, proposing a simpler and cheaper alternative to GraphRAG.
Core Problem: Vanilla RAG handles 'find this fact' queries but fails on 'tell me everything about X' or 'list all documents mentioning Y'.
Why Not GraphRAG:
- Indexing cost is extremely high; Microsoft archived their GraphRAG solution. Research shows vector-RAG indexing costs <0.1% of full GraphRAG.
- Entity resolution is hard; incorrect merges propagate errors silently.
- Requires maintaining a separate graph database.
Alternative Solution: Implement graph-like structures inside a regular DB (Postgres) and search index:
- Use a small fixed ontology (organization, person, product, etc.).
- Entity resolution follows a waterfall: alias table lookup, vector similarity, cheap LLM adjudication.
- Edges are co-occurrence counts, not typed relations.
- Entity summaries are lazy and cached.
- Agent has four tools for different retrieval scenarios.
Related event: Low-Cost Enterprise Knowledge Graph Ditches Graph Databases(2 posts)→
More from coding & agent
- Building a Secure AI Agent Gateway: Self-Hosting OAuth for Multiple SaaS Apps — Defiant_Cod_2654 · 2026-07-22
- Rowboat launches as an open-source, local-first AI coworker with memory — ycombinator · 2026-07-22
- Reddit user chains Ideogram 4 and Krea2 to mimic bbox-based image positioning — v3lh0t05c0 · 2026-07-22
- Apollo Cuts AI Assistant Skill Dev Time by 85% with Deep Agents — LangChain · 2026-07-22
- Scoble says AI “loops” really means long-running multi-agent workspaces — Scobleizer · 2026-07-22
- Kimi Code opens a waitlist as Moonshot rolls out its coding product — Fabulous_Bonus_8981 · 2026-07-22