[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-701572-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-701572-en":131,"doc-similar-701572":167},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","building-production-ready-ai-agents-with-llamaindex-from-first-query-to-multi-agent-systems-a-practical-guide-for-python-developers","Building Production-Ready AI Agents with LlamaIndex - From First Query to Multi-Agent Systems - A Practical Guide for Python Developers","","Building Production-Ready AI Agents with LlamaIndex is a practical guide for Python developers designing production-grade LLM agents and RAG systems. It covers agent fundamentals, LlamaIndex architecture, ingestion and indexing pipelines, embeddings and vector-store selection, and retrieval strategies for reliable question answering. The book walks through building a first RAG application, adding tools with function calling and structured outputs, orchestrating multi-step workflows, and implementing memory and reasoning patterns. It also addresses multi-agent systems, evaluation and debugging, observability, and performance optimization, emphasizing engineering trade-offs from first query to orchestration.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/building-production-ready-ai-agents-with-llamaindex-from-first-query-to-multi-agent-systems-a-practical-guide-for-python-developers/701572/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/building-production-ready-ai-agents-with-llamaindex-from-first-query-to-multi-agent-systems-a-practical-guide-for-python-developers/701572.png","ImageObject",300,407,{"name":42,"@type":43},"OKfine","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-29","2026-11-13",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",14,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What topics does the book cover for building production-ready AI agents?","Question",{"text":63,"@type":64},"It covers LLM fundamentals, LlamaIndex architecture, data ingestion and indexing, embeddings and vector stores, retrieval strategies, tool/function calling, and multi-step agent workflows.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does the book guide the development of a first RAG application?",{"text":68,"@type":64},"It walks through project architecture and design decisions, implements the data pipeline, sets up the retrieval and query engine, adds conversational memory, and tests the complete system.",{"name":70,"@type":61,"acceptedAnswer":71},"What does the book include for improving reliability and operations in production?",{"text":72,"@type":64},"It includes evaluation and debugging approaches, observability and monitoring via OpenTelemetry and tracing, plus cost tracking and performance optimization strategies for scalability.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},701572,1794533229,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,115,120,123,127],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":112,"show_sort_weight":113,"slug":114},8,"Research & Report",30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":124,"doc_module":4,"doc_module_name":25,"category_name":125,"show_sort_weight":124,"slug":126},10,"Lifestyle","lifestyle",{"id":128,"doc_module":4,"doc_module_name":25,"category_name":129,"show_sort_weight":97,"slug":130},19,"General","general",{"code":4,"msg":82,"data":132},{"doc_id":79,"user_id":133,"nickname":42,"user_avatar":134,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":140,"language":141,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":12,"update_tm":80,"read_time":145,"preview_page_count":97,"preview_urls":146},962093957596,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","Building Production‐Ready AI Agents with LlamaIndex  \nFrom First Query to Multi‐Agent Systems: A Practical Guide for Python Developers  \nSteve Publications  \nThis book is available at  \n[https://leanpub.com/buildingproduction-readyaiagentswithllamaindex](https://leanpub.com/buildingproduction-readyaiagentswithllamaindex)[ ](https://leanpub.com/buildingproduction-readyaiagentswithllamaindex)[This version was published on 2026-10-05](This version was published on 2026-10-05)  \nThis is a Leanpub book. Leanpub empowers authors and publishers with the Lean Publishing process. Lean Publishing is the act of publishing an  \nin-progress ebook using lightweight tools and many iterations to get reader feedback, pivot until you have the right book and build traction once you do.  \n© 2026 Steve Publications  \nContents  \nFrom First Query to Multi-Agent Systems: A Practical Guide for Python Developers ..................................... 1  \nIntroduction: Why Agents, Why LlamaIndex, Why Now .......... 2  \nThe Agent Moment ................................ 2  \nWhat Production-Ready Really Means .................... 2  \nWhy LlamaIndex Over Alternatives ...................... 3  \nHow to Read This Book .............................. 4  \nChapter 1: LLM Fundamentals for Agent Builders .............. 6  \nHow Large Language Models Generate Text ................ 6  \nTokens, Context Windows and the Cost Equation ............. 7  \nPrompting Patterns That Matter for Agents ................. 9  \nModel Selection: Open Source vs Proprietary Trade-offs ........ 11  \nSetting Up Your First LLM Connection with LlamaIndex ......... 12  \nChapter 2: Inside LlamaIndex – Architecture and Core Concepts .... 16  \nThe LlamaIndex Abstraction Stack ....................... 16  \nDocuments, Nodes and the Ingestion Pipeline ............... 16  \nSettings and Global Configuration ....................... 16  \nThe Callback System and Extensibility Points ................ 16  \nProject Setup: Installation, Virtual Environments and Dependencies . 16  \nChapter 3: Data Ingestion and Indexing .................... 18  \nLoading Data from Multiple Sources ..................... 18  \nNode Parsers and Chunking Strategies .................... 18  \nMetadata Extraction and Enrichment ..................... 18  \nThe Ingestion Pipeline API ............................ 18  \nBuilding Your First Index ............................. 18  \nChapter 4: Embeddings and Vector Stores ................... 20  \nCONTENTS  \nHow Embeddings Represent Meaning .................... 20  \nChoosing an Embedding Model ........................ 20  \nVector Store Landscape and Selection Criteria ............... 20  \nImplementing Your First Vector Store .................... 20  \nIndex Persistence and Versioning ....................... 20  \nChapter 5: Retrieval Strategies for Production RAG ............. 22  \nTop-K Retrieval and Its Limitations ...................... 22  \nHybrid Search: Combining Semantic and Keyword ............ 22  \nReranking and Relevance Filtering ....................... 22  \nMetadata Filtering and Auto-Retrieval .................... 22  \nNode Post-Processors for Fine-Tuning Results ............... 22  \nChapter 6: Building Your First RAG Application ............... 24  \nProject Architecture and Design Decisions ................. 24  \nData Pipeline Implementation ......................... 24  \nRetrieval and Query Engine Setup ....................... 24  \nAdding Conversational Memory ........................ 24  \nTesting the Complete System .......................... 24  \nChapter 7: Tools, Function Calling and Structured Outputs ........ 26  \nThe Tool Abstraction in LlamaIndex ...................... 26  \nDefining Custom Tools with Type Signatures ................ 26  \nFunction Calling and Model Support ..................... 26  \nStructured Outputs with Pydantic Programs ................ 26  \nError Handling and Retry Logic for Tool Calls ................ 26  \nChapter 8: Agent Workflows and Orchestration ....","cbCaiuPtpLVp6swH","https://ap.wps.com/l/cbCaiuPtpLVp6swH","pdf",2046349,49,"English","# Introduction: Why Agents, Why LlamaIndex, Why Now\n# Chapter 1: LLM Fundamentals for Agent Builders\n# Chapter 2: Inside LlamaIndex – Architecture and Core Concepts\n# Chapter 3: Data Ingestion and Indexing\n# Chapter 4: Embeddings and Vector Stores\n# Chapter 5: Retrieval Strategies for Production RAG\n# Chapter 6: Building Your First RAG Application\n# Chapter 7: Tools, Function Calling and Structured Outputs\n# Chapter 8: Agent Workflows and Orchestration\n# Chapter 9: Memory, Planning and Reasoning\n# Chapter 10: Multi-Agent Systems\n# Chapter 11: Evaluation, Testing and Debugging\n# Chapter 12: Observability and Monitoring\n# Chapter 13: Performance Optimization and Scalability","[{\"question\":\"What topics does the book cover for building production-ready AI agents?\",\"answer\":\"It covers LLM fundamentals, LlamaIndex architecture, data ingestion and indexing, embeddings and vector stores, retrieval strategies, tool/function calling, and multi-step agent workflows.\"},{\"question\":\"How does the book guide the development of a first RAG application?\",\"answer\":\"It walks through project architecture and design decisions, implements the data pipeline, sets up the retrieval and query engine, adds conversational memory, and tests the complete system.\"},{\"question\":\"What does the book include for improving reliability and operations in production?\",\"answer\":\"It includes evaluation and debugging approaches, observability and monitoring via OpenTelemetry and tracing, plus cost tracking and performance optimization strategies for scalability.\"}]","Building Production-Ready AI Agents with LlamaIndex - From First Query to Multi-Agent Systems - A Practical Guide for Python Developers | PDF",123,[147,151,155,159,163],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/1fea9a093fff6e876b207a6e9a4383dc.webp",983,1404,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/ecd019186e18c2ce1dbbb7e746d4ccab.webp",982,1402,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/4ad760648d986b85b9623a03fb35af2c.webp",981,1401,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/0781ccb861ec4a5370337d4c59fc5397.webp",980,1400,{"page_no":97,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/486ae07220b8459daefdafe41b705a79.webp",979,1398,{"list":168,"token":11},[169,176,183,190,196,202,208,215,222,228],{"doc_id":170,"doc_title":171,"file_type":138,"home_preview_img_url":172,"slug":173,"view_count":174,"category_name":29,"create_tm":175},114467,"Practical Multi-Agent AI Systems - Murali Kashaboina","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229830543128/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796107619&Signature=%2Bru55e5zzqiJwH9yJRj6GkIdeoc%3D","practical-multi-agent-ai-systems-murali-kashaboina",164,1785400162,{"doc_id":177,"doc_title":178,"file_type":138,"home_preview_img_url":179,"slug":180,"view_count":181,"category_name":29,"create_tm":182},682280,"Startup technical guide - AI agents - How to build, use, and scale","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998475801/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796107619&Signature=6%2FLZDaDiLsMhAhkjdDgqrbb8eVc%3D","startup-technical-guide-ai-agents-how-to-build-use-and-scale",15,1793964970,{"doc_id":184,"doc_title":185,"file_type":138,"home_preview_img_url":186,"slug":187,"view_count":188,"category_name":29,"create_tm":189},435269,"Building Applications with AI Agents - Designing and Implementing Multiagent Systems","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229923747421/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796107619&Signature=P%2BeeQMzYBwMc6ZJWNLsY%2BWopKZg%3D","building-applications-with-ai-agents-designing-and-implementing-multiagent-systems",87,1790672631,{"doc_id":191,"doc_title":192,"file_type":138,"home_preview_img_url":193,"slug":194,"view_count":33,"category_name":29,"create_tm":195},759788,"AI Agents 101 - An Introduction to Agents and Examples of How to Build Them","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044484358/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796107619&Signature=9bIF7oyHWVO%2BGJwHHXeaUgbmbDI%3D","ai-agents-101-an-introduction-to-agents-and-examples-of-how-to-build-them-759788",1795894854,{"doc_id":197,"doc_title":198,"file_type":138,"home_preview_img_url":199,"slug":200,"view_count":33,"category_name":29,"create_tm":201},733000,"Build AI Multi-Agent with Claude Code - Course Outline","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031415117/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796107619&Signature=IodIT1G8fc1ZqvRKmmrZem%2FF1N8%3D","build-ai-multi-agent-with-claude-code-course-outline",1795383252,{"doc_id":203,"doc_title":204,"file_type":138,"home_preview_img_url":205,"slug":206,"view_count":111,"category_name":29,"create_tm":207},678567,"From Abstract Prompts to Cybersecurity Labs: Automating Virtual Environment Design and Deployment with Multi-Agent Systems and LLM-Driven Orchestration","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229995822854/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796107619&Signature=MV5OrZQz93WAj2kW6m3CnBDaCzo%3D","from-abstract-prompts-to-cybersecurity-labs-automating-virtual-environment-design-and-deployment-with-multi-agent-systems-and-llm-driven-orchestration",1793828579,{"doc_id":209,"doc_title":210,"file_type":138,"home_preview_img_url":211,"slug":212,"view_count":213,"category_name":29,"create_tm":214},469190,"FullStackDevelopment-DevOps - AI & Machine Learning Curriculum","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926309706/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796107619&Signature=OaiAa%2B%2FC9uraMOnBdomtd5Hf5SA%3D","fullstackdevelopment-devops-ai-machine-learning-curriculum",17,1790775230,{"doc_id":216,"doc_title":217,"file_type":138,"home_preview_img_url":218,"slug":219,"view_count":220,"category_name":29,"create_tm":221},129567,"RAG in Practice - Building AI Apps That Answer From Real Data","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229842237691/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796107619&Signature=7fg2m1oR011gcFBcmXQxej5fTZk%3D","rag-in-practice-building-ai-apps-that-answer-from-real-data",36,1786106613,{"doc_id":223,"doc_title":224,"file_type":138,"home_preview_img_url":225,"slug":226,"view_count":99,"category_name":29,"create_tm":227},115684,"Scalable AI Systems - Architecting from Prototype to Production-Ready AI - First Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229831923397/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796107619&Signature=2inVkc3LGmMCYoCcBxYYq2tXxKg%3D","scalable-ai-systems-architecting-from-prototype-to-production-ready-ai-first-edition",1785475871,{"doc_id":229,"doc_title":230,"file_type":138,"home_preview_img_url":231,"slug":232,"view_count":233,"category_name":29,"create_tm":234},128967,"Designing the AI-Driven Data Foundations - Architecture, Principles, and Practice","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229840699685/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796107619&Signature=KEezeY8NRJFH47Bjy4jCHXRzfY4%3D","designing-the-ai-driven-data-foundations-architecture-principles-and-practice",92,1786006760]