<?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: Demon Slayer</title>
    <description>The latest articles on DEV Community by Demon Slayer (@demon_slayer_3e2c6835f1b2).</description>
    <link>https://dev.to/demon_slayer_3e2c6835f1b2</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3660540%2Fd02d49bd-5833-45b9-adad-ebf42125db77.png</url>
      <title>DEV Community: Demon Slayer</title>
      <link>https://dev.to/demon_slayer_3e2c6835f1b2</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/demon_slayer_3e2c6835f1b2"/>
    <language>en</language>
    <item>
      <title>RAG for Developers — Built for Code, Not Just Text (Review Requested)</title>
      <dc:creator>Demon Slayer</dc:creator>
      <pubDate>Sat, 13 Dec 2025 21:42:27 +0000</pubDate>
      <link>https://dev.to/demon_slayer_3e2c6835f1b2/rag-for-developers-built-for-code-not-just-text-review-requested-10d</link>
      <guid>https://dev.to/demon_slayer_3e2c6835f1b2/rag-for-developers-built-for-code-not-just-text-review-requested-10d</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;&lt;em&gt;Code-Aware RAG Tool  — Looking for Developer Feedback&lt;/em&gt;&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;We’ve been building a code-first RAG tool that actually understands how codebases work, not just how text looks in embeddings. The goal is simple: when you ask a question, you get the right functions, related calls, and supporting code, not random nearby snippets.&lt;/p&gt;

&lt;p&gt;What’s Inside&lt;/p&gt;

&lt;p&gt;AST-based code chunking with Tree-sitter (Python, JavaScript, TypeScript)&lt;br&gt;
Functions, classes, imports, calls, docstrings — all extracted explicitly&lt;/p&gt;

&lt;p&gt;A clean async ingestion pipeline with strict tool → agent → storage boundaries&lt;/p&gt;

&lt;p&gt;Semantic vector search as the starting point, not the end&lt;/p&gt;

&lt;p&gt;In-memory dependency graph expansion:&lt;/p&gt;

&lt;p&gt;Built lazily from chunk metadata&lt;/p&gt;

&lt;p&gt;No persistence, no globals, no backend shortcuts&lt;/p&gt;

&lt;p&gt;Stable qualified IDs (file::entity)&lt;/p&gt;

&lt;p&gt;Context expansion via BFS over calls and imports to pull in code that’s actually connected&lt;/p&gt;

&lt;p&gt;Backend-agnostic vector store layer, so storage can change without rewriting logic&lt;/p&gt;

&lt;p&gt;Why We Think This Is Useful&lt;/p&gt;

&lt;p&gt;You get related code paths, not just similar text&lt;/p&gt;

&lt;p&gt;Context stays small, relevant, and debuggable&lt;/p&gt;

&lt;p&gt;The architecture avoids hidden state and scaling surprises&lt;/p&gt;

&lt;p&gt;What We’d Love Feedback On&lt;/p&gt;

&lt;p&gt;If you’ve worked with large repos or built RAG systems before, we’d really value your thoughts on:&lt;/p&gt;

&lt;p&gt;The “graph as derived state” design&lt;/p&gt;

&lt;p&gt;Chunk metadata choices (calls, imports, QIDs)&lt;/p&gt;

&lt;p&gt;Retrieval + expansion flow&lt;/p&gt;

&lt;p&gt;Any edge cases you think would show up in real production codebases&lt;/p&gt;

&lt;p&gt;Even quick reactions or gut checks are welcome.&lt;/p&gt;

</description>
      <category>rag</category>
      <category>llm</category>
      <category>promptengineering</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
