<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Kartik Buttan</title>
    <description>The latest articles on DEV Community by Kartik Buttan (@0xkartik).</description>
    <link>https://dev.to/0xkartik</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4008667%2F88214922-bff1-4e28-8980-5a4d5fe46dc7.png</url>
      <title>DEV Community: Kartik Buttan</title>
      <link>https://dev.to/0xkartik</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/0xkartik"/>
    <language>en</language>
    <item>
      <title>Google's OKF Might Quietly Break the Entire RAG Stack</title>
      <dc:creator>Kartik Buttan</dc:creator>
      <pubDate>Tue, 30 Jun 2026 15:00:00 +0000</pubDate>
      <link>https://dev.to/0xkartik/googles-okf-might-quietly-break-the-entire-rag-stack-f4j</link>
      <guid>https://dev.to/0xkartik/googles-okf-might-quietly-break-the-entire-rag-stack-f4j</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;We didn’t build bad AI systems.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We just gave them broken maps of knowledge.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Everyone is building AI agents right now.&lt;/p&gt;

&lt;p&gt;The demos are insane:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;“Book my meetings.”&lt;/li&gt;
&lt;li&gt;“Analyze my revenue.”&lt;/li&gt;
&lt;li&gt;“Find the root cause.”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then you deploy it in a real company...&lt;/p&gt;

&lt;p&gt;…and it starts hallucinating confidence on top of uncertainty.&lt;/p&gt;

&lt;p&gt;Not because the model is bad.&lt;/p&gt;

&lt;p&gt;But because &lt;strong&gt;retrieval is fundamentally broken.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  ⚡ TL;DR
&lt;/h2&gt;

&lt;p&gt;RAG today:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Finds what &lt;em&gt;looks similar&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;OKF:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Connects what &lt;em&gt;actually relates&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That difference changes everything.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Real Problem
&lt;/h2&gt;

&lt;p&gt;Ask:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“How is Monthly Active Revenue calculated?”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;You get:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;dashboard docs&lt;/li&gt;
&lt;li&gt;onboarding guides&lt;/li&gt;
&lt;li&gt;outdated Confluence pages&lt;/li&gt;
&lt;li&gt;random SQL files&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Nothing is technically wrong.&lt;/p&gt;

&lt;p&gt;But nothing is truly &lt;em&gt;right&lt;/em&gt; either.&lt;/p&gt;

&lt;p&gt;Because retrieval is based on:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;semantic similarity, not meaning&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  RAG in One Diagram
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Question
  ↓
Embedding
  ↓
Vector Search
  ↓
Top-K Chunks
  ↓
LLM Answer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Simple.&lt;/p&gt;

&lt;p&gt;But dangerously incomplete.&lt;/p&gt;

&lt;p&gt;Because:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The system never understands relationships.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Only proximity in vector space.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Chunking Trap
&lt;/h2&gt;

&lt;p&gt;Take this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Revenue = Payments - Refunds
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now break it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Chunk 1 → Formula&lt;/li&gt;
&lt;li&gt;Chunk 2 → Refund rules&lt;/li&gt;
&lt;li&gt;Chunk 3 → Exceptions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now the system must reassemble truth from fragments.&lt;/p&gt;

&lt;p&gt;Sometimes it works.&lt;/p&gt;

&lt;p&gt;Sometimes it fails silently.&lt;/p&gt;

&lt;p&gt;So we patch it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;more overlap&lt;/li&gt;
&lt;li&gt;more retrieval&lt;/li&gt;
&lt;li&gt;more reranking&lt;/li&gt;
&lt;li&gt;more agents&lt;/li&gt;
&lt;li&gt;more compute&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We didn’t fix retrieval.&lt;/p&gt;

&lt;p&gt;We just made it more expensive.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Hidden Cost
&lt;/h2&gt;

&lt;p&gt;When retrieval is probabilistic…&lt;/p&gt;

&lt;p&gt;we compensate with infrastructure.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Query
 → Vector Search
 → BM25
 → Hybrid Search
 → Query Rewrite
 → Reranker
 → Reranker v2
 → LLM
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It works.&lt;/p&gt;

&lt;p&gt;But it feels like overengineering a missing concept:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;structure&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Enter OKF
&lt;/h2&gt;

&lt;p&gt;Instead of asking:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“What looks similar?”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It asks:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“What is actually connected?”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That changes the entire model.&lt;/p&gt;




&lt;h2&gt;
  
  
  Think Wikipedia, Not Search
&lt;/h2&gt;

&lt;p&gt;Wikipedia isn’t useful because of articles.&lt;/p&gt;

&lt;p&gt;It’s useful because of links.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Newton
 → Calculus
 → Leibniz
 → Differential Equations
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You don’t &lt;em&gt;retrieve&lt;/em&gt; knowledge.&lt;/p&gt;

&lt;p&gt;You &lt;em&gt;navigate&lt;/em&gt; it.&lt;/p&gt;




&lt;h2&gt;
  
  
  Documents vs Knowledge Graph
&lt;/h2&gt;

&lt;p&gt;Old world:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Revenue.pdf
Orders.pdf
Refunds.pdf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;New world:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Revenue
 ├─ depends on Orders
 ├─ subtracts Refunds
 ├─ owned by Finance
 └─ drives Dashboard
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No guessing.&lt;/p&gt;

&lt;p&gt;No inference.&lt;/p&gt;

&lt;p&gt;Just structure.&lt;/p&gt;




&lt;h2&gt;
  
  
  Real Example
&lt;/h2&gt;

&lt;p&gt;Question:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Why did revenue drop yesterday?”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;RAG:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;logs&lt;/li&gt;
&lt;li&gt;dashboards&lt;/li&gt;
&lt;li&gt;docs&lt;/li&gt;
&lt;li&gt;incidents&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then the LLM guesses causality.&lt;/p&gt;

&lt;p&gt;OKF-style structure:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Revenue
 → Payment Service
 → Failed Transactions
 → Deployment Change
 → Incident Report
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now the system doesn’t guess.&lt;/p&gt;

&lt;p&gt;It traverses.&lt;/p&gt;




&lt;h2&gt;
  
  
  Is This Just a Graph Database?
&lt;/h2&gt;

&lt;p&gt;No.&lt;/p&gt;

&lt;p&gt;But they’re related.&lt;/p&gt;

&lt;p&gt;Graph databases like Neo4j, Amazon Neptune, and TigerGraph store and query relationships efficiently.&lt;/p&gt;

&lt;p&gt;But OKF is different.&lt;/p&gt;




&lt;h2&gt;
  
  
  Graph DB vs OKF
&lt;/h2&gt;

&lt;p&gt;Graph database:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“How do I store relationships?”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;OKF:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“How do I define relationships so any system can understand them?”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;One is infrastructure.&lt;/p&gt;

&lt;p&gt;The other is a knowledge standard.&lt;/p&gt;

&lt;p&gt;Think:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTML → structure&lt;/li&gt;
&lt;li&gt;Browser → renderer&lt;/li&gt;
&lt;li&gt;Graph DB → storage&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;OKF sits at the &lt;strong&gt;structure layer.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Why This Matters
&lt;/h2&gt;

&lt;p&gt;Enterprise knowledge today is fragmented:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;docs&lt;/li&gt;
&lt;li&gt;code&lt;/li&gt;
&lt;li&gt;APIs&lt;/li&gt;
&lt;li&gt;dashboards&lt;/li&gt;
&lt;li&gt;spreadsheets&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We force AI to unify it using probability.&lt;/p&gt;

&lt;p&gt;But probability breaks when structure is missing.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Real Bottleneck
&lt;/h2&gt;

&lt;p&gt;It’s not model size.&lt;/p&gt;

&lt;p&gt;It’s not context windows.&lt;/p&gt;

&lt;p&gt;It’s not agents.&lt;/p&gt;

&lt;p&gt;It’s this:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;We never taught our systems how knowledge connects.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Final Thought
&lt;/h2&gt;

&lt;p&gt;We’ve spent years upgrading intelligence.&lt;/p&gt;

&lt;p&gt;Maybe the next leap is upgrading structure.&lt;/p&gt;

&lt;p&gt;Because even the smartest model in the world can’t follow connections that were never written down.&lt;/p&gt;

&lt;p&gt;If AI is the brain...&lt;/p&gt;

&lt;p&gt;Then OKF might become the nervous system.&lt;/p&gt;

&lt;p&gt;And that changes everything.&lt;/p&gt;




&lt;p&gt;Always happy to connect with builders working on AI systems, retrieval pipelines, and knowledge infrastructure.&lt;/p&gt;

&lt;p&gt;💼 LinkedIn: &lt;a href="https://www.linkedin.com/in/kartikbuttan" rel="noopener noreferrer"&gt;https://www.linkedin.com/in/kartikbuttan&lt;/a&gt;&lt;br&gt;
💻 GitHub: &lt;a href="https://github.com/kartik1112" rel="noopener noreferrer"&gt;https://github.com/kartik1112&lt;/a&gt;&lt;br&gt;
🌐 Portfolio: &lt;a href="https://kartik1112.github.io" rel="noopener noreferrer"&gt;https://kartik1112.github.io&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>systemdesign</category>
      <category>google</category>
    </item>
  </channel>
</rss>
