Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Andrea De Mauro

Rating No ratings yet

This book shows you how to create AI applications like chatbots, agents, and systems customized to use your own data—even if you’ve never built one before! Supporting his explanations with graphics and using concrete examples and hands-on implementations, author Andrea De Mauro gets you thinking about system design and mental models rather than boilerplate code and syntax debugging. You’ll quickly focus on the right level: how to manage prompts, data, and application components to get the results you want. You’ll start with a bare-bones chatbot, as you learn how to create good prompts and improve accuracy using Retrieval Augmented Generation (RAG). To help your applications live in the real world, the book discusses how to connect them to document collections, structured databases, and CRM tools. You’ll build on this foundation, creating your own agents and equipping them with tools for data analysis and complex reasoning. Reviewer Julien Pohie of Thoughtworks commented, “The emphasis on multi-agent orchestration aligns perfectly with modern engineering best practices.” Step-by-step guidance, rich diagrams, and workflow summaries help you stay oriented, even through advanced material. To emphasize conceptual and design thinking, you’ll start each project using the low-code development tool Langflow. For readers who want to go deeper, every example also includes fully-annotated Python implementations. You’ll see the code, libraries, APIs, and data behind each application, along with practical advice on how to deploy and monitor your applications. Compact by design, this fast-paced book includes eight fully illustrated chapters that build intuition through engaging, memorable, and relatable real-world scenarios. As you read, you’ll experience a shift from AI as the familiar conversational chatbot to AI as an essential part of your application and, further, to the design of multi-agentic teams with specialized roles and supervised coordination.

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A design-first, illustrated guide that takes you from a bare-bones chatbot to multi-agent systems using low-code tools and annotated Python, for programmers and non-technical professionals who want to build AI applications rather than debug boilerplate. 【Book Arc】 - **Opening (~0%–15%)**: Peels back the hood of Large Language Models—how they are trained, why they are probabilistic, and what that means for their limits—so you build intuition before touching a tool. - **Early (~15%–35%)**: Gets you building immediately: system messages, your first customized assistant, and a tour of Langflow's component-based canvas, including API keys and cost management. - **Middle (~35%–55%)**: Dives into prompt engineering as a discipline—task/object/feature structure, delimiters, adversarial role refinement, and techniques like Chain of Thought and task decomposition. - **Late (~55%–80%)**: Extends applications into the real world by connecting them to document collections, structured databases, and CRM tools, with Retrieval Augmented Generation (RAG) as the accuracy backbone. - **Ending (~80%–100%)**: Moves from single assistants to agents equipped with tools for data analysis and complex reasoning, culminating in multi-agent orchestration with specialized roles and supervised coordination. 【Key Takeaways】 - **Design-first beats code-first** (Opening): The book deliberately avoids listing ever-changing Python libraries, focusing instead on primitives—agents, tools, RAG, prompt engineering—so your knowledge outlasts framework churn. - **LLMs are probabilistic engines, not databases** (Early): Understanding their training and inference lifecycle explains both their power and their tendency to hallucinate, which shapes every design decision downstream. - **Low-code is a legitimate on-ramp, not a shortcut** (Early): Langflow's visual canvas lets you assemble and test workflows rapidly, and every example includes a fully annotated Python translation for those who want to go deeper. - **Prompt engineering is structured craft** (Middle): A proven methodology—clear task, identifiable object with delimiters, explicit output features—plus enhancement techniques like Chain of Thought and giving the LLM a way out when context is insufficient. - **RAG is how applications use your own data** (Late): Connecting to document collections and databases grounds responses in real knowledge, improving accuracy beyond what raw model training provides. - **Agents add tools and reasoning** (Ending): Equipping agents with data analysis and complex reasoning capabilities turns a chatbot into a system that can act, not just converse. - **Multi-agent orchestration mirrors engineering best practices** (Ending): Specialized roles with supervised coordination align with modern software architecture, as reviewer Julien Pohie of Thoughtworks noted. - **Business experts are often best positioned to design AI applications** (Opening): The author observed that marketing managers, lawyers, HR professionals, and others can move from idea to prototype rapidly, regardless of coding literacy. 【Reading Tips】 - **Skim Chapter 1 if you already know ML basics**, but read the sections on probabilistic limits carefully—they explain why later design choices matter. - **Deep-read the prompt engineering chapter** (Middle): it is the most transferable skill in the book and applies regardless of which tools or models you use later. - **Do the Langflow exercises hands-on** even if you plan to code in Python; the visual flow builds mental models that make the annotated Python implementations much easier to absorb. - **Pay attention to the "What if we coded it?" sections** from Chapter 2 onward if you are a developer—they bridge the low-code concepts to production-ready Python. - **Treat the deployment and monitoring advice as a checklist** for your own projects; it is easy to overlook once you are excited about building. 【Coverage Limits】 The excerpts cover the book's structure, philosophy, and early-to-middle technical content in detail, but do not include specific chapter titles beyond Chapter 3, nor concrete code examples from the later agent and multi-agent chapters.
Excerpt 1
ugh engaging, memorable, and relatable real-world scenarios. As you read, you’ll experience a shift from AI as the familiar conversational chatbot to AI as a...
View in text
Excerpt 2
rated in figure 1.6. The first component of ChatGPT is GPT (Generative Pretrained Transformer), an unsupervised model that completes sentences by predicting...
View in text
Excerpt 3
essentially an internet address (URL) that the API exposes. This request often includes parameters that specify what data or action is needed. An API key is...
View in text
Excerpt 4
ated to the language to use. Because of how they’re built, LLMs are good at translating or adapting text to specific styles, so take advantage of this featur...
View in text
Excerpt 5
c to us: our processes, procedures, and—importantly in our case—our opening hours. • LLMs don’t have up-to-date knowledge. The latest documents they “saw” we...
View in text
Excerpt 6
tent, but at a higher cost. We can leave the default model. Let’s not forget to input the OpenAI API Licensed to malky vidal <malkyvidal@gmail.com> Building...
View in text
Excerpt 7
s whether it can respond directly or needs to call a tool. Licensed to malky vidal <malkyvidal@gmail.com> Building an agent in Langflow 111 This component is...
View in text
Excerpt 8
KEY and SERP_API_KEY are available in your environment. Prompt building blocks with import os placeholders. import requests from dotenv import load_dotenv Ch...
View in text
Tags
AI categories
Artificial IntelligenceProgrammingTechnology
Publish Year: 2026
Language: English
Pages: 272
File Format: PDF
File Size: 7.6 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…