<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sunil Kumar on Medium]]></title>
        <description><![CDATA[Stories by Sunil Kumar on Medium]]></description>
        <link>https://medium.com/@sunilmkumar25?source=rss-364da0fcaf7b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Sunil Kumar on Medium</title>
            <link>https://medium.com/@sunilmkumar25?source=rss-364da0fcaf7b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 02:57:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sunilmkumar25/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Novus RAG Factory: Where knowledge Meets Intelligence]]></title>
            <link>https://medium.com/@sunilmkumar25/novus-rag-factory-where-knowledge-meets-intelligence-81b7d54d6cec?source=rss-364da0fcaf7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/81b7d54d6cec</guid>
            <category><![CDATA[ai-system-architecture]]></category>
            <category><![CDATA[distributed-systems]]></category>
            <category><![CDATA[ai-infrastructure]]></category>
            <category><![CDATA[agentic-rag]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Sunil Kumar]]></dc:creator>
            <pubDate>Fri, 02 Jan 2026 08:16:15 GMT</pubDate>
            <atom:updated>2026-01-02T09:39:06.518Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>Abstract</strong><br>Novus is a next-generation, enterprise-grade Retrieval-Augmented Generation (RAG) architecture designed to overcome the scalability, reliability, and reasoning limitations of traditional RAG systems. Built on an event-driven microservices foundation, it combines polyglot data persistence, ML-powered metadata extraction, and a multi-agent orchestration model to enable intelligent, high-precision knowledge retrieval at scale. Novus redefines RAG as a production-ready cognitive infrastructure suitable for real-world enterprise AI deployments.</blockquote><h3><strong>Why Most RAG Architectures Break in Production — and How Novus Fixes It</strong></h3><p>Retrieval-Augmented Generation (RAG) has become the default way to ground large language models in real data. On paper, the idea is elegant: retrieve relevant context, pass it to a large language model, and generate an answer.</p><p>In practice, most RAG systems collapse under real-world pressure.</p><p>Large documents overwhelm memory. Vector-only retrieval misses exact facts. Agent-based reasoning becomes slow and expensive. And once multiple teams or tenants share the system, operational complexity explodes.</p><p>Novus was designed in response to this reality — not as another RAG demo, but as a production-grade cognitive infrastructure built for scale, reliability, and intelligent reasoning.</p><h3><strong>The Core Shift: From Pipelines to Distributed Intelligence</strong></h3><p>Traditional RAG systems think in pipelines. Novus thinks in systems.</p><p>Instead of a single, synchronous flow, Novus decomposes RAG into independent, event-driven microservices. Each stage of the lifecycle — ingestion, enrichment, retrieval, reasoning, synthesis — runs independently and communicates asynchronously.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vj21QtpQR5t3bIZyqFqheA.png" /><figcaption>Image 1: Novus Architecture</figcaption></figure><p>Novus decomposes the RAG workflow into nine independent microservices:</p><p>· <strong>API Gateway</strong> — Authentication and request routing</p><p>· <strong>Upload Service</strong> — ML-powered metadata extraction and file management</p><p>· <strong>PDF Processing</strong> — Streaming-based text extraction and semantic chunking</p><p>· <strong>Embedding Service</strong> — Multi-model embedding generation with caching</p><p>· <strong>Weaviate Manager</strong> — Vector indexing and retrieval</p><p>· <strong>ArangoDB Updater</strong> — Knowledge graph construction and entity linking</p><p>· <strong>Query Service</strong> — Seven-agent orchestration for retrieval and synthesis</p><p>· <strong>Collection Registry</strong> — Schema and version control</p><p>· <strong>Memory Service</strong> — Feedback learning and user interaction tracking</p><p>All services communicate asynchronously through Apache Kafka, enabling loose coupling, independent scaling, and fault isolation. This architecture ensures that high ingestion loads do not impact query responsiveness, and failures in one component do not cascade through the system. This results in a system that combines intelligent orchestration with operational resilience, setting a new benchmark for production-ready RAG architectures.</p><p>This architectural shift is subtle but powerful. It allows Novus to scale ingestion without impacting queries, evolve retrieval strategies without downtime, and recover gracefully from partial failures. <br> <br> At the center of this design is an event backbone that decouples services. Instead of waiting on synchronous calls, components react to events, process work at their own pace, and publish results downstream.</p><p>The result is a system that behaves less like an API pipeline and more like a resilient, distributed platform.</p><h3><strong>Ingestion Is Where Novus Becomes Intelligent</strong></h3><p>Most RAG systems treat ingestion as a mechanical step: parse text, chunk it, embed it.</p><p>Novus treats ingestion as the first reasoning phase.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hTuaa2bWMfrfpRue3abK6Q.png" /><figcaption>Image 2: Ingestion Pipeline</figcaption></figure><p>Documents are streamed page by page rather than loaded into memory. Machine learning extracts entities, infer domains, identify document types, and structured metadata upfront. This metadata later becomes a routing signal that dramatically improves retrieval accuracy and performance.</p><p>This intelligence is computed once, up front, and reused everywhere.</p><p>Why does this matter?</p><p>Because metadata becomes a <strong>routing signal</strong>, not just a tag. When a query arrives later, the system already knows which documents are relevant by device, domain, or version — without needing to guess or reclassify on the fly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FXqJcFWmxGUM4qImyP3MFA.png" /><figcaption>Image 3: Dynamic Metadata Extraction Pipeline</figcaption></figure><p>This dramatically reduces latency and improves precision, especially at scale.</p><h3>Chunking That Respects Meaning, Not Just Tokens</h3><p>Naive chunking is one of the silent killers of RAG quality. Splitting text every N tokens often destroys structure, breaks procedures, and removes context.</p><p>Novus uses structure-aware semantic chunking.</p><p>Instead of arbitrary splits, chunks are aligned to headings, sections, tables, and procedural boundaries. The system preserves how humans write and read documents — so retrieval returns coherent, usable knowledge instead of fragmented text.</p><p>This approach improves not just retrieval quality, but also trust — answers feel grounded, complete, and easier to verify.</p><h3>Why Novus Uses More Than One Database</h3><p>A common misconception in RAG design is that vector databases are sufficient.</p><p>They aren’t.</p><p>Vectors are excellent at semantic similarity, but they struggle with:</p><ul><li>Exact identifiers and error codes</li><li>Structured relationships</li><li>Multi-hop reasoning</li></ul><p>Novus adopts <strong>polyglot persistence</strong> — using multiple specialized data stores, each optimised for a specific retrieval pattern.</p><p>Instead of forcing all queries through one lens, Novus combines:</p><p>· Semantic similarity</p><p>· Exact keyword matching</p><p>· Graph-based relationships</p><p>· Metadata filtering</p><p>· Low-latency caching</p><p>This hybrid approach allows the system to answer both “what is this about?” and “exactly where does this error occur?” — without compromise.</p><h3>Query Service &amp; Agent Orchestrator</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p5johbt7UwkmYr7QzYi-9A.png" /><figcaption>Image 4: RAG Pipeline</figcaption></figure><p><strong>Agents and Hand-offs</strong></p><p>1. <strong>Query Understanding : </strong>Normalize the query; extract entities; infer intent (search/troubleshoot/config/compare); estimate complexity; consider conversation history.</p><p>2. <strong>Metadata-Aware Router : </strong>Resolve tenant + active collections; derive routing hints (domain, device, version) from ingestion metadata; set boosts and filters.</p><p>3. <strong>Content-Type Router : </strong>Decide retrieval modality: text (vector), code (specialized matching), structured (tables/specs), commands (CLI knowledge), or mix.</p><p>4. <strong>Graph-Augmented Retrieval : </strong>Search Weaviate using semantic similarity with metadata filters. Enrich candidates via ArangoDB: traverse entities/relations; expand to related chunks; attach graph features (entity overlap, hop distance).</p><p>5. <strong>Multimodal Retrieval :</strong> Run OpenSearch (BM25/Boolean) for exact terms (IDs, error codes, config tokens). Fuse vector + sparse sets (reciprocal rank fusion), dedupe by chunk_id, preserve diversity across documents and types.</p><p>6. <strong>Semantic Reranker : </strong>Cross-encoder scoring on fused candidates; produce top-k with confidence and relevance rationales; enforce domain diversity if needed.</p><p>7. <strong>Context Assembler : </strong>Pull adjacent paragraphs, headers, and tables when helpful; budget tokens; order by evidence strength; attach <strong>provenance</strong> (doc/page/URI/ids). Output: <strong>citation-ready context</strong> for LLM or direct return (for retrieval-only modes).</p><p><strong>Optional Synthesis : </strong>Construct a guarded prompt; generate an answer grounded only in the assembled context; include citations and confidence notes.</p><p><strong>Cross-Cutting</strong></p><p>· Query/result caching (Redis); TTL-based invalidation on collection version changes.</p><p>· Structured tracing across agents with a shared correlation ID.</p><h3>The 7-Agent Orchestration Model: Reasoning Without Chaos</h3><p>Agentic RAG systems introduced an important idea: complex questions require reasoning. But many implementations rely on a single, monolithic LLM agent that plans, retrieves, reasons, and synthesizes everything.</p><p>That approach is flexible — but expensive, opaque, and unpredictable.</p><p>Novus takes a different path.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8S_WbKw__uLg9MEgu8G6dQ.png" /><figcaption>Image 5: Agentic RAG Architecture</figcaption></figure><p>Instead of one generalist agent, Novus uses <strong>seven specialized agents</strong>, each responsible for a clearly defined cognitive role: understanding intent, routing queries, selecting retrieval strategies, ranking evidence, and assembling grounded context.</p><p>This design preserves the <strong>intelligence of agentic reasoning</strong> while maintaining:</p><p>· Predictable latency</p><p>· Lower inference cost</p><p>· Clear observability</p><p>· Easier debugging</p><p>Think of it as a coordinated team rather than a single overworked expert.</p><h3>Retrieval as Fusion, Not Competition</h3><p>One of Novus’s defining ideas is that <strong>no single retrieval method is always right</strong>.</p><p>Vector search, keyword search, and graph traversal each capture different aspects of knowledge. Novus retrieves evidence in parallel, then fuses results into a unified ranking rather than letting one method dominate.</p><p>This fusion-based approach improves recall without sacrificing precision — and dramatically reduces the “why didn’t it find that?” frustration common in simpler RAG systems.</p><h3>Built for Production, Not Just Accuracy</h3><p>Accuracy alone doesn’t make a system usable.</p><p>Novus is designed with <strong>production-first engineering principles</strong>:</p><p>· Full observability across services</p><p>· Strong tenant isolation</p><p>· Graceful degradation under load</p><p>· Zero-downtime updates</p><p>· Secure-by-default design</p><p>These concerns aren’t layered on later — they shape the architecture itself. That’s what allows Novus to behave predictably under real-world conditions, not just benchmark scenarios.</p><h3>How Novus Differs from Traditional and Agentic RAG</h3><p>At a conceptual level:</p><p>· <strong>Traditional RAG</strong> is simple but brittle</p><p>· <strong>Agentic RAG</strong> is powerful but unpredictable</p><p>· <strong>Novus</strong> is engineered to be intelligent <em>and</em> reliable</p><p>It combines structured systems design with adaptive reasoning, without turning every query into an expensive experiment.</p><h3>Why This Architecture Matters</h3><p>As RAG systems move from experimentation to mission-critical use, architecture matters more than clever prompts or new models.</p><p>Organizations need systems that:</p><p>· Scale cleanly</p><p>· Fail safely</p><p>· Explain their answers</p><p>· Evolve without downtime</p><p>Novus represents a blueprint for that future — a way to turn RAG from a promising idea into dependable infrastructure.</p><p>And that shift, more than any individual technique, is what will define the next generation of enterprise AI.</p><p>Github Link: <a href="https://github.com/SunilMohan13/Novus">https://github.com/SunilMohan13/Novus</a><br>Youtube Video: <a href="https://www.youtube.com/watch?v=sjq4elkLkjI">https://www.youtube.com/watch?v=sjq4elkLkjI</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81b7d54d6cec" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>