Zvarydchuk | Building Agent-Powered Applications | E-Book | www.sack.de
E-Book

E-Book, Englisch, 490 Seiten

Reihe: Packt Publishing

Zvarydchuk Building Agent-Powered Applications

Your guide to generative AI, RAG, fine-tuning, and orchestration for production use
1. Auflage 2026
ISBN: 978-1-80760-516-2
Verlag: De Gruyter
Format: EPUB
Kopierschutz: 0 - No protection

Your guide to generative AI, RAG, fine-tuning, and orchestration for production use

E-Book, Englisch, 490 Seiten

Reihe: Packt Publishing

ISBN: 978-1-80760-516-2
Verlag: De Gruyter
Format: EPUB
Kopierschutz: 0 - No protection



Large language models can produce impressive demos, but turning them into reliable products takes more than better prompts. You need to understand model behavior, know when to use retrieval or fine-tuning, structure agents correctly, and evaluate systems before deployment.
Building Agent-Powered Applications gives an end-to-end engineering perspective on creating production-ready generative AI solutions. Written by Microsoft Principal AI Engineer Vasyl Zvarydchuk, it helps software engineers, data scientists, and applied AI practitioners move from concept to implementation. You'll begin with AI, NLP, embeddings, transformers, and LLM behavior, then progress to prompt engineering, summarization, classification, extraction, reasoning, RAG, and fine-tuning.
The book shows how to design agentic workflows with tools, memory, planning, orchestration, and human-in-the-loop controls. You'll learn to evaluate quality with offline and online testing, task-specific metrics, LLM-as-a-judge methods, and responsible AI checks. Rather than treating prompting, RAG, fine-tuning, and agents as separate topics, this book shows how they work together in practice. By the end, you'll be able to make better architectural trade-offs, reduce failure modes, and build scalable, trustworthy AI applications.
*Email sign-up and proof of purchase required

Zvarydchuk Building Agent-Powered Applications jetzt bestellen!

Autoren/Hrsg.


Weitere Infos & Material


Preface


Throughout history, artificial intelligence (AI) has evolved in waves, each marked by major breakthroughs. From early theoretical concepts to the rise of deep learning (DL), each wave has pushed the boundaries of what machines can do. But none have been as transformative, fast-moving, or democratizing as the current era, powered by large language models (LLMs).

Each new wave of AI has arrived faster than the previous one and with greater impact [1]. In the past, it took decades to move from theoretical concepts and basic implementations in the 1950s-1960s to the rise of machine learning (ML) in the 1990s, and another 20 years before deep learning gained traction. But the leap from deep learning to LLMs happened in just several years, reshaping entire industries almost overnight. As breakthroughs accelerate, the time between innovation and real-world adoption continues to shrink, and we are now experiencing the fastest AI wave yet.

Figure 1: AI genealogy: from the early days of AI to the rise of LLMs

With the release of models like GPT-3, and the viral success of ChatGPT (chatgpt.com), AI made a dramatic leap, from solving narrow, task-specific problems to becoming a general-purpose tool capable of solving many different tasks across multiple domains. For the first time, software engineers and applied data scientists can build powerful, human-like AI systems without needing years of specialized AI experience.

It's also worth highlighting that LLMs have fundamentally changed the kind of AI applications we can build. Instead of training and maintaining a collection of separate, specialized models for each problem, we can now build intelligent systems that handle many tasks at once, all powered by a single LLM. That one model can understand language, generate content, answer questions, support decision-making, and even automate multi-step workflows.

This is not just a technological upgrade we had before, like moving from desktop applications to the cloud and mobile phones. It's a step change that opens entirely new possibilities for businesses. These possibilities range from building really human-like conversational chatbots to deploying fully autonomous AI agents. Understanding these capabilities is critical not only for technical teams but also for business leaders seeking to innovate and stay competitive.

This new era has given rise to what we now call generative AI or gen AI, a class of AI systems that can generate and understand text, code, images, and even audio and video. Unlike traditional AI, which focuses mostly on classical AI problems like classification and regression, generative AI is designed to generate content, perform reasoning, and interact in human-like ways. What once required specialized models for each task can now often be achieved with a single, well-prompted LLM, radically simplifying the development of intelligent systems.

The LLM revolution also began to reshape the roles of software engineers, applied data scientists, and ML professionals. For decades, software engineers and data scientists have worked in separate lanes, one focused on building applications, the other on developing AI models and research. But with the arrival of powerful LLMs and natural language (NL) interfaces, the line between these roles started to blur.

Powerful LLMs, combined with developer-friendly APIs, a growing ecosystem of open-source language models, modern AI frameworks, and no/low-code AI platforms, have empowered software engineers to build intelligent AI applications without needing a deep background in machine learning, AI, or natural language processing (NLP). As a result, this shift has made it dramatically easier for developers to enter the AI space and contribute to modern innovation. In a September 2022 interview, Sam Altman, CEO of OpenAI, said that the biggest opportunity for the vast majority of people will be to adapt LLM for specific applications [2].

Even with all this excitement, many developers find themselves wondering how to put these tools into practice. Software engineers still face a knowledge gap when it comes to using LLMs effectively. Often this knowledge gap is not recognized because, as the saying goes, "we don't know what we don't know." Closing that gap requires learning new skills, from understanding basic NLP and AI concepts to grasping how LLMs work, designing effective prompts, structuring AI workflows, fine-tuning models, building AI agents, and evaluating their performance. These skills go beyond traditional software engineering, and that's what we will cover in this book.

The role of applied data scientists and machine learning engineers has also evolved significantly. While deep ML expertise remains important, especially for developing, fine-tuning, and supporting specialized models, LLMs have changed the way AI solutions are built and delivered. Many tasks that once required training models from scratch can now be tackled using pre-trained language models and human language instructions called prompts.

ML professionals are no longer limited to working solely with traditional AI model development. With LLMs, they can now build more dynamic, human-like interfaces that understand context, generate language, and reason across unstructured data, capabilities that were previously very hard to reach without years of NLP and AI specialization. This shift opens the door to entirely new categories of AI applications like autonomous agents and human-like chatbots.

Meanwhile, the foundational knowledge of data science and ML is more important than ever. Understanding model behavior, data quality, and evaluation techniques continues to be critical, especially as LLMs become embedded in real-world systems. Rather than replacing traditional ML work, LLMs extend what's possible, giving data scientists and ML engineers a more powerful toolkit than ever before.

The shift is already reshaping industries worldwide. In the fourth quarter of 2024, 241 S&P 500 companies mentioned "AI" in their earnings calls — the highest number in over a decade and more than double the five-year average. This surge underscores a significant shift, as businesses increasingly recognize AI's potential to drive innovation and maintain competitive advantage [3], [4].

This massive technological movement has also been seen in the explosive growth of open-source projects related to LLMs. Three AI engineering frameworks and platforms, such as AutoGPT, Stable Diffusion Web UI, and LangChain, have already surpassed the GitHub star count of the Bitcoin repository. They are now on track to rival, and potentially surpass, even the most popular web development frameworks like React and Vue.

Figure 2: Growth of open-source AI frameworks compared to other popular GitHub projects (Data source: star-history.com)

So, we're standing at an inflection point. While AI has been shaping real-world products and industries for years already, the emergence of LLMs marks a new phase, one where natural language becomes the interface and building intelligent systems is no longer reserved for highly specialized professionals.

This book is your invitation to be part of that shift. Together, we'll explore how to harness the power of LLMs, design effective prompts, fine-tune, build intelligent systems, and create AI agents that matter so you can lead in this new era of AI.

What this book is about


To explain what this book is about, let me share two real-world stories.

The first story is about a software engineering team that set out to solve a complex problem using an LLM-based technology. The team did an excellent job scoping the problem, selecting tools, and trying to build a solution. But after several months of work, they hit a wall. Despite their engineering talent, they couldn't achieve the required level of quality and accuracy. With little or no background in AI, they approached the challenge as experienced developers would, but they missed one critical piece: a deeper understanding of the possibilities and limitations of the AI technology they had chosen.

The second story comes from a team of experienced data scientists, many with PhDs and deep AI expertise. They had built and fine-tuned dozens of custom models based on BERT, RoBERTa, and similar architectures to solve tasks like classification, recommendation, and summarization. This required large datasets, expensive training, and significant maintenance effort. The project started before GPT-3.5 but continued even after GPT-4 and GPT-4 Turbo were available. Despite mounting quality and maintenance challenges, the team failed to recognize the massive shift in technology. Eventually, another team replaced most of those custom models with LLM-based solutions, achieving faster development, lower costs, and even better accuracy in some cases.

These stories reflect a broader reality: even highly skilled software engineers and data scientists can struggle to navigate this new era of AI...



Ihre Fragen, Wünsche oder Anmerkungen
Vorname*
Nachname*
Ihre E-Mail-Adresse*
Kundennr.
Ihre Nachricht*
Lediglich mit * gekennzeichnete Felder sind Pflichtfelder.
Wenn Sie die im Kontaktformular eingegebenen Daten durch Klick auf den nachfolgenden Button übersenden, erklären Sie sich damit einverstanden, dass wir Ihr Angaben für die Beantwortung Ihrer Anfrage verwenden. Selbstverständlich werden Ihre Daten vertraulich behandelt und nicht an Dritte weitergegeben. Sie können der Verwendung Ihrer Daten jederzeit widersprechen. Das Datenhandling bei Sack Fachmedien erklären wir Ihnen in unserer Datenschutzerklärung.