- عنوان کتاب: Agentic RAG Systems -Design, Build Deploy Production Ready Knowledge-Powered AI Agents Master GraphRAG, Vector Search
- نویسنده: Norman, Raymond
- حوزه: RAG AI
- سال انتشار: 2026
- تعداد صفحه: 326
- زبان اصلی: انگلیسی
- نوع فایل: pdf
- حجم فایل: 2.58 مگابایت
این کتاب به دلیل جلسهای که سه ماه پیش، در یک اتاق کنفرانس بدون پنجره در یک شرکت خدمات مالی فورچون ۱۰۰ برگزار شد، وجود دارد. تیم مهندسی هوش مصنوعی آنها بخش عمدهای از یک سال را صرف ساخت یک سیستم RAG انطباق با مقررات بر روی مجموعهای از ۱۴ میلیون سند داخلی کرده بود. این سیستم در نسخههای نمایشی کار میکرد. هیئت مدیره را تحت تأثیر قرار داد. به مرحله تولید رسید. و سپس، سه هفته پس از راهاندازی، در پاسخ به سؤالی از یک مأمور انطباق که برای جلسه تنظیمکننده آماده میشد، استنادی توهمآمیز به یک قانون کمیسیون بورس و اوراق بهادار ارائه داد که در پاراگراف ذکر شده وجود نداشت. جلسهای که من در آن شرکت کردم، کالبدشکافی بود. دور میز شش مهندس ارشد بودند که RAG را به خوبی میشناختند. آنها تمام مقالات مهم را خوانده بودند. آنها جستجوی ترکیبی، رتبهبندی مجدد و بازنویسی پرسوجو را پیادهسازی کرده بودند. آنها از یک پایگاه داده برداری سطح بالا و یک مدل زبان کلاس مرزی استفاده میکردند. و با این حال، با وجود همه اینها، سیستم آنها به گونهای شکست خورده بود که – اگر کشف نمیشد – میتوانست باعث یک حادثه نظارتی شود. این شکست در هیچ مرحلهای نبود. در درزهای بین مراحل بود. قطعهچین، مقدمه قانون را از استناد آن جدا کرده بود. قطعهچین، که بر اساس یک مجموعه داده متفاوت آموزش دیده بود، بخش صحیح را کاهش رتبه داده بود. پرسوجو، که توسط مسئول انطباق با واژگان داخلی خود نوشته شده بود، از اصطلاحاتی استفاده میکرد که با عبارتبندی SEC مطابقت نداشت. مدل زبانی، با در نظر گرفتن یک پنجره زمینه پر از عبارات نزدیک اما اشتباه، پاسخی مطمئن ساخته بود که در اسناد به روشی که هیچ قانونی در واقع مجاز نمیدانست، ترکیب میشد. هیچ فصلی از هیچ کتاب RAG همه این شکستها را به طور همزمان پوشش نمیداد. مقالات تکنیکهای فردی را به صورت جداگانه پوشش میدادند. آموزشها، خطوط لوله ساده را فرض میکردند. پستهای وبلاگ فروشنده، اجزای خود را بیش از حد میفروختند. چیزی که وجود نداشت، یک کتابچه راهنمای مهندسی تولید بود که کل خط لوله بازیابی را به عنوان یک سیستم در نظر بگیرد – سیستمی که میتواند به دهها روش شکست بخورد و نیاز به طراحی، نظارت، ارزیابی و بهبود مداوم به عنوان یک چیز منسجم واحد داشته باشد. این چیزی است که من سعی کردهام بنویسم. این کتاب در شش بخش ساختار یافته است. بخش اول، مبانی را میسازد – RAG در واقع چیست، چرا خطوط لوله ساده شکست میخورند، و چشمانداز ۲۰۲۶ چگونه خواهد بود. بخش دوم معماری اصلی را پوشش میدهد: جستجوی برداری، مهندسی جاسازی، قطعهبندی، نمایهسازی، بازیابی ترکیبی و رتبهبندی مجدد. بخش سوم قلب کتاب است – الگوهای پیشرفته شامل GraphRAG، RAG عاملدار، حلقههای خود-اصلاحکننده و تنظیم بازیابی چندعاملی. بخش چهارم به مهندسی تولید میپردازد: ارزیابی با RAGAS، مشاهدهپذیری بازیابی، مهندسی هزینه و چرخه عمر عملیاتی. بخش پنجم دو مطالعه موردی عمیق سازمانی است – انطباق مالی و مراقبتهای بهداشتی/حقوقی. بخش ششم نقشه راه ۹۰ روزه برای رسیدن از جایی که هستید به تولید است. هر فصل از همان ریتمی پیروی میکند که من در کتاب «راهنمای سیستمهای هوش مصنوعی چندعاملی» توسعه دادهام: یک داستان شکست تولید واقعی برای شروع، پنج زیرفصل که از مشکل به مفهوم، پیادهسازی و سپس بدهبستان پیش میروند، یک بخش ضدالگو که اشتباهات خاصی را که من در نابودی سیستمهای واقعی دیدهام، نام میبرد، و خلاصهای از فصل که نکات کلیدی را خلاصه میکند. صدا در درجه اول تولید است. هیچ اغراقی وجود ندارد. هیچ تضمینی وجود ندارد که یک تکنیک واحد شما را نجات دهد. وعده این کتاب متواضعانهتر و صادقانهتر است: اگر آنچه در این صفحات است را با نظمی که این الگوها میطلبند بسازید، سیستمهای بازیابی را ارائه خواهید داد که کار میکنند – و وقتی کسی تماشا نمیکند، به کار خود ادامه میدهند. نکتهای در مورد پیشنیازها. این کتاب فرض را بر راحتی با پایتون، آشنایی اولیه با مدلهای زبانی و دستورالعملها، و مقداری مواجهه قبلی با مفاهیم بازیابی در سطح ساخت یا مطالعه در مورد یک خط لوله ساده RAG میگذارد. نیازی به پیشزمینه در نظریه بازیابی اطلاعات ندارید. نیازی نیست که یک محقق ML باشید. شما باید مایل باشید که با دقت در مورد حالتهای شکست تولید فکر کنید – زیرا این، بیش از هر تکنیک خاصی، رشتهای است که این کتاب سعی در آموزش آن دارد.
This book exists because of a meeting that took place three months ago, in a windowless conference room at a Fortune 100 financial services company. Their AI engineering team had spent the better part of a year building a regulatory compliance RAG system over a corpus of 14 million internal documents. The system worked in demos. It impressed the board. It went to production. And then, three weeks after launch, it returned a hallucinated citation to a Securities and Exchange Commission rule that did not exist in the cited paragraph, in response to a query from a compliance officer preparing for a regulator meeting. The meeting I attended was the post-mortem. Around the table were six senior engineers who knew RAG well. They had read every major paper. They had implemented hybrid search, reranking, and query rewriting. They were using a top-tier vector database and a frontier-class language model. And yet, despite all of that, their system had failed in a way that — had it gone undetected — could have caused a regulatory incident. The failure was not at any single step. It was at the seams between steps. The chunker had broken the rule’s preamble away from its citation. The reranker, trained on a different corpus, had down-ranked the correct chunk. The query, written by the compliance officer in their own internal vocabulary, used terms that did not match the SEC’s phrasing. The language model, given a context window full of nearby-but-wrong passages, had constructed a confident answer that synthesised across documents in a way no rule actually authorised. No one chapter of any RAG book covered all of these failures at once. The papers covered individual techniques in isolation. The tutorials assumed naive pipelines. The vendor blog posts oversold their own components. What was missing was a production engineering manual that treated the entire retrieval pipeline as a system — one that could fail in any of dozens of ways, and that needed to be designed, monitored, evaluated, and continuously improved as a single coherent thing. That is what I have tried to write. The book is structured in six parts. Part I builds the foundations — what RAG actually is, why naive pipelines fail, and what the 2026 landscape looks like. Part II covers the core architecture: vector search, embedding engineering, chunking, indexing, hybrid retrieval, and reranking. Part III is the heart of the book — advanced patterns including GraphRAG, agentic RAG, self-correcting loops, and multi-agent retrieval orchestration. Part IV addresses production engineering: evaluation with RAGAS, retrieval observability, cost engineering, and the operational lifecycle. Part V is two deep enterprise case studies — financial compliance and healthcare/legal. Part VI is the 90-day roadmap for getting from where you are to production. Every chapter follows the same rhythm I developed in Multi-Agent AI Systems Handbook: a real production failure story to open, five subchapters that progress from problem to concept to implementation to trade-off, an anti-patterns section that names the specific mistakes I have seen destroy real systems, and a chapter summary that distils the takeaways. The voice is production-first. There is no hype. There are no promises that any single technique will save you. The promise of this book is more modest and more honest: if you build what is in these pages, with the discipline these patterns demand, you will ship retrieval systems that work — and that keep working when nobody is watching. A note on prerequisites. This book assumes comfort with Python, basic familiarity with language models and prompting, and some prior exposure to retrieval concepts at the level of having built or read about a naive RAG pipeline. You do not need a background in information retrieval theory. You do not need to be an ML researcher. You do need to be willing to think carefully about production failure modes — because that, more than any specific technique, is the discipline this book is trying to teach.
این کتاب را میتوانید از لینک زیر بصورت رایگان دانلود کنید:
Download: Agentic RAG Systems





نظرات کاربران