Alto | AI Agents in Practice | E-Book | www.sack.de
E-Book

E-Book, Englisch, 282 Seiten

Alto AI Agents in Practice

Design, implement, and scale autonomous AI systems for production
1. Auflage 2025
ISBN: 978-1-80580-134-4
Verlag: Packt Publishing
Format: EPUB
Kopierschutz: 0 - No protection

Design, implement, and scale autonomous AI systems for production

E-Book, Englisch, 282 Seiten

ISBN: 978-1-80580-134-4
Verlag: Packt Publishing
Format: EPUB
Kopierschutz: 0 - No protection



As AI agents evolve to take on complex tasks and operate autonomously, you need to learn how to build these next-generation systems. Author Valentina Alto brings practical, industry-grounded expertise in AI Agents in Practice to help you go beyond simple chatbots and create AI agents that plan, reason, collaborate, and solve real-world problems using large language models (LLMs) and the latest open-source frameworks.
In this book, you'll get a comparative tour of leading AI agent frameworks such as LangChain and LangGraph, covering each tool's strengths, ideal use cases, and how to apply them in real-world projects. Through step-by-step examples, you'll learn how to construct single-agent and multi-agent architectures using proven design patterns to orchestrate AI agents working together. Case studies across industries will show you how AI agents drive value in real-world scenarios, while guidance on responsible AI will help you implement ethical guardrails from day one. The chapters also set the stage with a brief history of AI agents, from early rule-based systems to today's LLM-driven autonomous agents, so you understand how we got here and where the field is headed.
By the end of this book, you'll have the practical skills, design insights, and ethical foresight to build and deploy AI agents that truly make an impact.

Alto AI Agents in Practice jetzt bestellen!

Autoren/Hrsg.


Weitere Infos & Material


Preface


We are living in a time of accelerated change in artificial intelligence (AI), where models are no longer passive tools but active decision-makers. Since the release of ChatGPT in November 2022, the world has witnessed a seismic shift: not only in the capabilities of large language models (LLMs) but also in the way AI is architected, integrated, and operationalized within real-world systems.

A new paradigm has emerged—AI agents. Unlike traditional AI workflows, agents bring persistence, autonomy, and goal-oriented reasoning to applications. They can plan, remember, use tools, and interact with other agents or humans to complete complex tasks. From customer service to R&D, from orchestrating APIs to driving personalized workflows, AI agents are reshaping how we think about software and intelligence.

This book serves as a hands-on guide to understanding and building AI agents, covering their architecture, key components, and real-world use cases. Whether you are a developer, architect, product manager, or AI enthusiast, this book aims to give you the foundational knowledge and practical skills to harness the power of autonomous agents.

The book is structured into three parts:

  • , , explores how AI workflows have evolved since the rise of generative models, tracing the shift from simple API calls to more intelligent, autonomous behaviors. It introduces the concept of AI agents, their ingredients—LLMs, tools, memory, and context—and highlights the growing need for agentic systems across industries.
  • , , dives into the practical aspects of agent development. It covers AI orchestration tools, memory and context handling, tool integration, and agent observability. This part also walks you through building single-agent and multi-agent applications using frameworks such as LangChain and LangGraph, with hands-on examples such as e-commerce assistants and customer support agents.
  • , , looks ahead to the protocols, platforms, and principles shaping the future of intelligent software. It covers emerging open standards such as MCP, A2A, and NLWeb, and discusses how to build responsible, secure, and cost-effective agent systems for enterprise-scale deployment. It will also cover responsible AI practices, including evaluation, safety mechanisms, and human oversight.

Who this book is for


This book is for developers, architects, innovation leaders, and researchers who want to unlock the full potential of AI agents. Whether you’re a software engineer building agent-based workflows, a product owner designing intelligent assistants, or a business strategist looking to embed autonomous decision-making into your systems, this book offers the frameworks, examples, and tools you need to get started—and scale.

What this book covers


, , traces the transformation of AI workflows since late 2022, from simple API interactions to retrieval-augmented generation (RAG). It explores recent breakthroughs such as fine-tuning, model distillation, and reinforcement learning from human feedback (RLHF), and introduces the need for more autonomous, agentic behaviors.

, , defines what AI agents are and how they differ from previous automation paradigms such as RPA. It introduces different types of agents and the key components that make up their architecture, including system messages, tools, memory, and data.

, , examines the emerging role of orchestration layers in LLM-based applications. It compares popular orchestrators, describes their components, and provides guidance on selecting the right orchestrator for your needs.

, , dives into how agents can store, retrieve, and update information through various types of memory (short-term, long-term, episodic, and semantic), along with techniques to manage context windows and leverage vector databases.

, , explores how agents use APIs, databases, and third-party services to interact with the world. It also discusses asynchronous versus synchronous calls and how to enable observability through monitoring and logging.

, , walks you through building your own single-agent applications using LangChain, including two practical use cases: an e-commerce assistant and a customer support agent.

, , explores what happens when multiple agents work together. It covers design patterns such as group chat, hierarchical, and sequential coordination, introduces orchestrators such as LangGraph and AutoGen, and guides you in building your first multi-agent system.

, , introduces emerging standards and protocols—such as MCP, A2A, ACP, and NLWeb—that aim to define the next layer of the intelligent web for interoperable agents.

, , highlights the critical importance of designing agent systems responsibly. It covers evaluation strategies, security filters, cost control, and the implementation of guardrails and human-in-the-loop systems to ensure safe and ethical deployment of autonomous AI agents.

To get the most out of this book


Following along will be easier if you bear the following in mind:

  • Learn through hands-on examples: Many chapters include real-world scenarios and practical exercises. Whenever possible, follow along by building your own AI agents using frameworks such as LangChain and LangGraph, and try deploying them using APIs, vector databases, and orchestrators.
  • Experiment with different agent behaviors: Agent design is not one-size-fits-all. Modify tools, memory strategies, and workflows to see how they affect outcomes. Play with different architectures—single-agent, multi-agent, and hierarchical—to explore their strengths and trade-offs.
  • Explore the open source tools and orchestration frameworks: This book covers a wide range of technologies. Take time to dive into the documentation for LangChain, LangGraph, and LangSmith to understand how to extend and fine-tune your own implementations.
  • Think beyond the basics: The agentic paradigm is still evolving rapidly. Use this book as a launchpad, but stay current with the latest protocols, research papers, and advancements in LLM orchestration, tool use, and agent collaboration to deepen your expertise.

Here is a list of things you need to have:

Software/hardware covered in the book

System requirements

Python 3.10 or higher

Windows, macOS, or Linux

Node.js

Windows, macOS, or Linux

LLM chat and embedding models

Windows, macOS, or Linux

You can decide to leverage your LLM of choice. Throughout the book, we will be using GPT-4o from Azure OpenAI or OpenAI.

Other options include (but are not limited to) the following:

Hugging Face Hub

Anthropic

Gemini

Download the example code files


The code bundle for the book is hosted on GitHub at https://github.com/PacktPublishing/AI-Agents-in-Practice. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing. Check them out!

Download the color images


We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: https://packt.link/gbp/9781805801351.

Conventions used


There are a number of text conventions used throughout this book.

: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and X handles. For example, “Launch a mock JSON server on to enable the cart management tool.”

A block of code is set as follows:



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.