<?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 Abhishek Bose on Medium]]></title>
        <description><![CDATA[Stories by Abhishek Bose on Medium]]></description>
        <link>https://medium.com/@abhishek.bose86?source=rss-3cc9e894f18b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*aIFCz_BS51MaB0XH</url>
            <title>Stories by Abhishek Bose on Medium</title>
            <link>https://medium.com/@abhishek.bose86?source=rss-3cc9e894f18b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 04:54:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abhishek.bose86/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[ Agentic RAG in 2026: AWS Bedrock Knowledge Bases vs. Azure AI Search (Foundry IQ) — A Deep Dive]]></title>
            <link>https://medium.com/@abhishek.bose86/agentic-rag-in-2026-aws-bedrock-knowledge-bases-vs-azure-ai-search-foundry-iq-a-deep-dive-8e325721c63a?source=rss-3cc9e894f18b------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e325721c63a</guid>
            <dc:creator><![CDATA[Abhishek Bose]]></dc:creator>
            <pubDate>Tue, 17 Mar 2026 02:23:41 GMT</pubDate>
            <atom:updated>2026-03-17T02:50:38.835Z</atom:updated>
            <content:encoded><![CDATA[<h3>🚀 Agentic RAG in 2025: AWS Bedrock Knowledge Bases vs. Azure AI Search (Foundry IQ) — A Deep Dive</h3><p>Over the past weekend I went through AWS re:Invent and Microsoft Ignite sessions on Agentic RAG, and I want to share a detailed breakdown of where each platform stands today, the key architectural differences, and how to think about choosing between them.</p><h3>🤖 What is Agentic RAG and why does it matter?</h3><p>Traditional RAG (Retrieval-Augmented Generation) is simple — one query hits one index, retrieves chunks, and those chunks are fed to an LLM. It works for straightforward questions. But real-world enterprise users ask <strong>complex, multi-step, ambiguous questions</strong> that span multiple data domains. That’s where Agentic RAG comes in.</p><p>Agentic RAG introduces a <strong>reasoning layer</strong> between the user query and the retrieval system. It:</p><ul><li><strong>Decomposes</strong> a complex query into multiple targeted sub-queries</li><li>Runs those sub-queries <strong>in parallel</strong> across multiple knowledge sources</li><li><strong>Re-ranks and merges</strong> results using semantic scoring</li><li>Synthesizes a <strong>grounded, coherent response</strong> with source attribution</li></ul><p>Both AWS and Azure have released mature managed services for this pattern. Let me walk through how each one approaches it.</p><h3>🟠 AWS: Amazon Bedrock Knowledge Bases + AgentCore</h3><p>Amazon Bedrock Knowledge Bases is a <strong>fully managed end-to-end RAG service</strong> — from data ingestion and chunking to embedding, vector storage, retrieval, and prompt augmentation — without building any custom pipelines.</p><p><strong>Data Sources supported:</strong> Amazon S3, SharePoint, Confluence, Salesforce, and Web Crawlers</p><p><strong>Agentic RAG capabilities:</strong></p><ul><li><strong>Query Decomposition &amp; Expansion</strong>: A single complex query is broken into multiple shorter sub-queries, each run in parallel against different knowledge sources — maximizing coverage and precision</li><li><strong>Advanced Chunking Strategies</strong>: Fixed-size, semantic, and hierarchical chunking — or bring your own chunking logic via AWS Lambda</li><li><strong>GraphRAG via Amazon Neptune Analytics</strong>: Automatically creates knowledge graphs that link related content across data sources, enabling richer, more explainable retrieval</li><li><strong>LLM-as-a-Judge</strong>: A custom agent evaluates the completeness of the final response against the original user intent — a powerful built-in quality gate</li><li><strong>Multimodal Support</strong>: Can parse and retrieve from images, diagrams, charts, audio, and video using Bedrock Data Automation</li><li><strong>Short-Term &amp; Long-Term Memory via AgentCore</strong>:</li><li>Short-term memory stores conversation messages keyed to an Actor ID + Session ID</li><li>Key messages are summarized into long-term memory based on the user’s preference profile and behavioral identity</li><li>Long-term memory is injected at AI application startup when a user logs in, so every subsequent response is personalized from context</li><li><strong>MCP Server via AgentCore Runtime</strong>: Exposes advanced RAG retrieval capabilities as tools to agents through a Model Context Protocol server — enabling composable, multi-agent orchestration</li><li><strong>Vector Store Options</strong>: OpenSearch Serverless, Aurora PostgreSQL, Neptune Analytics, MongoDB, Pinecone, Redis Enterprise Cloud — and as of re:Invent 2025, <strong>Amazon S3 Vectors</strong> offering up to 90% cost savings vs. traditional vector DBs</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/991/1*CvfcfhTvmlAWClS432YFIw.png" /></figure><h3>🔵 Azure: Azure AI Search + Foundry IQ (Microsoft Foundry)</h3><p>Microsoft’s answer is <strong>Foundry IQ</strong> — a unified knowledge layer for agents, built on Azure AI Search and surfaced through the Microsoft Foundry portal. Think of it as moving from fragmented, siloed RAG pipelines to a <strong>single reusable knowledge base</strong> that multiple agents and applications can share.</p><p><strong>Data Sources supported:</strong> Azure Blob Storage, SharePoint (both remote API-based and locally indexed), Microsoft OneLake, Bing Web, OneDrive, existing MCP servers, and enterprise data connectors</p><p><strong>Agentic RAG capabilities:</strong></p><ul><li><strong>Query Planning</strong>: Similar to AWS’s query decomposition, an LLM analyzes the full user query — including conversation history — and breaks it into focused sub-queries targeting the most relevant knowledge sources</li><li><strong>Parallel Sub-query Execution</strong>: All sub-queries run simultaneously using keyword, vector, or hybrid search</li><li><strong>Hybrid Search + Semantic Re-ranking</strong>: Combines dense vector search (ANN) with keyword (BM25/RRF) scoring, then applies a cross-encoder re-ranker to maximize relevance of returned chunks</li><li><strong>Two Response Modes</strong>:</li></ul><ol><li><strong>Extract mode</strong>: Returns raw retrieved chunks directly to the calling agent or application</li><li><strong>Answer Synthesis mode</strong>: Chunks are sent to an LLM, which generates a coherent natural language response grounded on the original query</li></ol><ul><li><strong>🔄 Iterative / Reflective Search — A Standout Differentiator</strong>: This is one of the most powerful and unique features of Foundry IQ. After the initial retrieval and ranking pipeline runs, a specially trained small language model (SLM) — the <strong>Semantic Classifier</strong> — inspects the top retrieved content and evaluates whether the results contain sufficient information to confidently answer the original query. If the confidence threshold isn’t met, Foundry IQ <strong>automatically re-runs the query planning step</strong>, this time using the initial retrieval results as additional context to generate a smarter, more targeted set of follow-up sub-queries. This reflective loop continues until either the confidence threshold is satisfied or the retrieval budget is exhausted — at which point the best available context is returned. Foundry IQ also provides a <strong>low-latency exit path</strong>: for simpler queries where the first retrieval pass is clearly sufficient, the system exits early without iterating — saving tokens and reducing latency. Crucially, this entire self-evaluation loop is automated and requires no custom code from the developer. Simply configuring a <strong>medium or higher retrieval reasoning effort</strong> on the knowledge base enables iterative search out of the box.</li><li><strong>Retrieval Steering and Reasoning Effort Controls</strong>: Developers can configure how much LLM reasoning is applied at query planning time — balancing cost, latency, and quality. The three levels (minimal, low, medium) progressively unlock more sub-queries, broader source coverage, and iterative search capability</li><li><strong>Purview-Aware Governance</strong>: Data classifications and sensitivity labels from Microsoft Purview flow through the indexing and retrieval pipeline — classified content remains governed as it moves into knowledge bases</li><li><strong>Microsoft Agent Framework + MCP Integration</strong>: Foundry IQ knowledge bases are exposed as tools to agents via the Model Context Protocol (MCP), using a retrieve action that coordinates query planning, execution, re-ranking, and synthesis in one call</li><li><strong>Foundry IQ + Fabric IQ + Work IQ</strong>: Microsoft’s broader intelligence layer connecting productivity (M365), analytics (Power BI/Fabric), and agent knowledge (Foundry IQ) into a unified enterprise intelligence stack</li><li><strong>Evaluation benchmark</strong>: Microsoft reports up to <strong>36% improvement</strong> in response relevance on complex multi-hop queries vs. traditional single-query RAG</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*a4lhCtf4oFb9QuRQTfXvig.png" /></figure><h3>🔐 Security: IAM vs. Entra ID — A Critical Enterprise Differentiator</h3><p>This is one of the <strong>most important</strong> factors when choosing between the two platforms for enterprise use cases.</p><p><strong>AWS — IAM-based Security:</strong> AWS Bedrock leverages <strong>AWS Identity and Access Management (IAM)</strong> for access control. Permissions are defined through IAM roles and policies, giving fine-grained control over who can access which knowledge bases, models, and vector stores. Data stays within your VPC/S3, with no base model retraining using your private content — critical for HIPAA, FedRAMP, and SOC compliance. However, mapping enterprise Active Directory roles to IAM policies for document-level, permission-aware RAG often requires <strong>significant custom engineering effort</strong>.</p><p><strong>Azure — Entra ID-based Security:</strong> Azure AI Search with Foundry IQ is built natively on <strong>Microsoft Entra ID</strong> (formerly Azure Active Directory). The result is deeply native, <strong>policy-aware retrieval</strong>. For SharePoint knowledge sources, document-level permissions are enforced at query time — if a user doesn’t have access to a document in SharePoint, that document will not appear in the RAG results for that user, with no additional custom code. Microsoft Purview sensitivity labels are respected throughout the entire ingestion and retrieval pipeline. For enterprises already running Microsoft 365 and Teams, this is an exceptionally natural security integration. For organizations not heavily invested in the Microsoft ecosystem, the value is less pronounced.</p><p><strong>Bottom line on security</strong>: If your enterprise is Microsoft-first (M365, Teams, SharePoint, Entra ID), <strong>Azure’s permission-aware RAG pipeline is hard to beat</strong> out of the box. If your organization is AWS-first and uses S3, Confluence, or custom identity providers, <strong>Bedrock + IAM is a solid, production-grade choice</strong> — with more custom plumbing required for document-level ACLs.</p><h3>💰 Cost Considerations</h3><p><strong>AWS Bedrock Knowledge Bases:</strong></p><ul><li><strong>Pay-per-use</strong>: Charges for embedding model calls during ingestion, vector storage, retrieval API calls, and LLM inference tokens separately</li><li>OpenSearch Serverless (the default vector store) historically costs ~$100/month even at low usage</li><li>As of re:Invent 2025, <strong>Amazon S3 Vectors</strong> is now available as a cost-optimized vector store option, with up to <strong>90% savings</strong> vs. traditional vector databases at sub-second latency</li><li>Third-party vector DBs like Pinecone and Redis are also supported, which are often billed per request and can be cheaper at certain scales</li><li>LLM-as-a-Judge and RAG evaluation in Model Evaluation charge additional tokens for the judge model</li></ul><p><strong>Azure AI Search (Foundry IQ):</strong></p><ul><li>Azure AI Search is priced by <strong>tier</strong> (Basic, Standard S1/S2/S3, Storage-Optimized) — you pay a fixed hourly rate for your provisioned tier regardless of usage, making it more predictable but potentially expensive at low throughput</li><li>Semantic ranker is available on Basic tier and above (required for agentic retrieval)</li><li>Azure OpenAI model calls (for query planning and answer synthesis) are billed separately per token</li><li>Foundry IQ adds the agentic retrieval layer on top — costs scale with the number of sub-queries generated and the LLM reasoning effort configured</li></ul><p><strong>Bottom line on cost</strong>: <strong>AWS Bedrock’s per-request pricing</strong> is more favorable for variable or bursting workloads and early-stage applications. <strong>Azure AI Search’s tiered model</strong> provides more cost predictability for consistently high-volume production workloads. At enterprise scale, both are competitive — and the new S3 Vectors on AWS significantly closes the cost gap for vector storage.</p><h3>⚡ Latency</h3><p><strong>AWS Bedrock</strong>: Keeping the RAG loop within the same AWS region keeps internal network hops minimal. The agentic retrieval flow — query decomposition, parallel sub-query execution across knowledge bases, re-ranking, and response generation — does add latency versus classic single-query RAG, but the parallel execution design helps offset this.</p><p><strong>Azure AI Search Foundry IQ</strong>: Agentic retrieval explicitly adds latency to query processing (LLM-assisted query planning is an additional step before retrieval begins). The iterative reflective search adds further passes for complex queries — though the fast-exit path for simpler queries mitigates this. Microsoft’s documentation acknowledges this trade-off, noting it is compensated for by the improved quality and coverage for complex queries.</p><p><strong>Bottom line on latency</strong>: Both platforms have similar latency profiles for agentic RAG. <strong>AWS has a slight edge</strong> for workloads with tight latency requirements due to its more granular retrieval effort controls and the fact that many enterprises already co-locate data in S3 and model inference in the same region.</p><h3>🛠️ Ease of Use</h3><p><strong>AWS Bedrock</strong>: Bedrock offers a very polished console experience for setting up knowledge bases, connecting data sources, configuring chunking, and testing retrieval. The AgentCore runtime and Strands agent framework provide production-grade scaffolding for deploying agentic RAG systems. The MCP server integration via AgentCore makes it composable with other tools. The tradeoff is that AWS’s ecosystem breadth means there are more choices to navigate (which vector DB? which model? which chunking strategy?), which can add decision fatigue.</p><p><strong>Azure AI Foundry (Foundry IQ)</strong>: Microsoft’s Foundry portal makes standing up a knowledge base genuinely approachable — the philosophy is “plug in the knowledge this agent should have” rather than “rebuild a RAG stack.” The Foundry IQ import wizard automates parsing, chunking, enrichment, and embedding in one flow. For organizations already living in the Microsoft ecosystem (Azure Portal, VS Code, M365), the developer experience is very cohesive. The MCP endpoint on knowledge bases allows agents to call retrieval as a single tool call with query planning, execution, and synthesis handled automatically.</p><p><strong>Bottom line on ease of use</strong>: <strong>Azure Foundry IQ has a slight edge for Microsoft-ecosystem enterprises</strong> due to portal-first simplicity and native M365 integration. <strong>AWS Bedrock is easier for teams already on AWS</strong>, with strong Python SDK support and a comprehensive console.</p><h3>🌐 The Open-Source Alternative — If You Want Full Control</h3><p>Of course, you don’t have to use either managed service. You can build your own Agentic RAG stack from scratch using:</p><ul><li><strong>Open-source vector databases</strong>: FAISS, Chroma, pgvector (PostgreSQL), Pinecone, Weaviate, Qdrant, Milvus</li><li><strong>Frameworks</strong>: LangChain, LlamaIndex, Haystack for orchestration and RAG pipeline construction</li><li><strong>Embedding models</strong>: Open models like BGE, E5, or Nomic Embed running locally or on any cloud</li></ul><p>The upside: <strong>no vendor lock-in</strong>, full control over every layer, and potentially lower marginal cost at scale. The very real downside: <strong>you own everything</strong> — security hardening, VPC/network isolation, secret management, vector DB scaling, version upgrades, uptime SLAs, monitoring, and observability. Taking a self-managed Agentic RAG system to production is a substantial engineering and operational investment. For most enterprises, the managed service trade-off is worth it.</p><h3>🎯 The Bottom Line</h3><p>Both AWS Bedrock Knowledge Bases and Azure AI Search (Foundry IQ) are <strong>genuinely excellent, production-ready managed services</strong> for Agentic RAG. The honest answer is: <strong>this is not a “one is better than the other” conversation.</strong></p><p>The question really comes down to <strong>which cloud ecosystem your enterprise is already invested in:</strong></p><ul><li>If you’re an <strong>AWS-first organization</strong> with data in S3, using EC2/Lambda, and your identity is IAM-based → <strong>Amazon Bedrock Knowledge Bases + AgentCore</strong> is the natural, low-friction choice with best-in-class model diversity (Claude, Llama, Titan, Mistral, and more through one API).</li><li>If you’re a <strong>Microsoft-first organization</strong> running M365, SharePoint, Teams, with Entra ID as your identity backbone → <strong>Azure AI Search Foundry IQ</strong> gives you native permission-aware RAG, Microsoft Purview governance, and seamless integration across the entire Microsoft intelligence stack (Foundry IQ + Fabric IQ + Work IQ).</li></ul><p><strong>It’s certainly not a one-size-fits-all scenario.</strong> Each application use case needs to be carefully analyzed — your existing cloud ecosystem, security and compliance requirements, data residency needs, latency targets, team expertise, and budget — and a decision arrived at based on those specific requirements.</p><p>And yes, you can always go the open-source route and build it from scratch. But remember: once you take it to production, <strong>you’re the managed service</strong> — responsible for security, scale, uptime, and version upgrades. That’s a lot of work, and a trade-off worth factoring into the decision.</p><p>#AgenticRAG #GenerativeAI #AWSBedrock #AzureAISearch #FoundryIQ #RAG #LLM #EnterpriseAI #ArtificialIntelligence #CloudArchitecture #MLOps #AIEngineering #AgentCore #MicrosoftAzure #AWS #VectorDatabase #KnowledgeBase</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e325721c63a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>