Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Tim O'Brien

Rating No ratings yet

Learn how to build GenAI applications using proven patterns and abstractions to work confidently across tools and frameworks Key Features • Learn core abstractions and enterprise patterns behind modern GenAI systems • Build secure, scalable agentic architectures using familiar engineering tools • Generate multi-agent workflows and RabbitMQ-based GenAI configurations • Use our Topologos prompt to easily build and test any agentic system Learn how to build GenAI applications using proven software engineering patterns instead of rapidly changing frameworks. This book helps engineers build secure, scalable agentic systems with familiar tools and practical, engineer-to-engineer architectural guidance. You will connect GenAI concepts such as agentic workflows, embeddings, and vector databases to enterprise patterns, including components, adapters, and microarchitectures. Established GoF and enterprise design patterns help explain agentic behavior and system design, enabling you to reason about architecture rather than memorize tools. The book also shows you how to generate multi-agent and GenAI patterns as RabbitMQ configurations for scalable orchestration and communication. Using language-agnostic examples and widely used messaging, orchestration, and data technologies, you will build production-ready systems that integrate with existing infrastructure without unnecessary complexity. You will also use our Topologos prompt to build, modify, and test deploy-ready multi-agent systems quickly while improving robustness and maintainability. By the end of this book, you will be able to design reliable GenAI systems, make informed architectural decisions, and adapt confidently as tools and frameworks evolve. Who this book is for This book is written for experienced software engineers, architects, and technical leads who want to add GenAI to their toolbox without abandoning the engineering principles that define good software.

AI Reading Assistant

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

AI guide
【One-Line Pitch】 A pattern-first guide for experienced engineers who want to build secure, scalable GenAI and multi-agent systems using the architectural vocabulary they already know—GoF patterns, enterprise integration, and message brokers—rather than chasing framework churn. Best for architects and technical leads adding agentic AI to production infrastructure. 【Book Arc】 - **Opening (~0%–15%)**: Frames GenAI as a continuation of enterprise integration and big data, then builds a shared vocabulary by mapping GenAI terms (agent, tool, memory, multi-agent system) onto traditional IT equivalents (component, adapter, session state, system of record). - **Early (~15%–35%)**: Establishes the retrieval foundation—embeddings, semantic affinity, vector databases, chunking and overlap—and surveys the LLM landscape, positioning these as core knowledge for everything that follows. - **Middle (~35%–55%)**: Turns to tuning and architecture: the parameter dependency graph (chunk size, similarity function, temperature, max tokens), role-based temperature choices (judge, router, actor), and the case for RabbitMQ as the orchestration substrate for enterprise-grade GenAI. - **Late (~55%–80%)**: Moves into hands-on construction—building a first RAG app, wiring exchanges, queues, retries, fallbacks, and message history, plus data migration and ingestion pipelines (Airbyte, Pinecone) for preparing enterprise data. - **Ending (~80%–100%)**: Covers operational discipline—security (prompt injection, PII, data leakage), cost and token budgeting, prompt versioning and governance—and the Topologos workflow that generates, extends, and deploys multi-agent patterns as RabbitMQ manifests. 【Key Takeaways】 - **GenAI is enterprise integration wearing new clothes** (Early): The book's central thesis maps agentic patterns to microarchitectures of GoF and Fowler patterns, so existing orchestration and messaging skills transfer directly. - **A harmonized vocabulary is the real unlock** (Early): The terminology cheat sheet (agent→component, tool→adapter, long-term memory→system of record) lets you reason about architecture instead of memorizing tools. - **Retrieval quality is a tuning problem, not a model problem** (Early–Middle): Chunking strategy, overlap, similarity function, and max chunks returned form a dependency graph—change one and you must rebalance others. - **Temperature should follow component role** (Middle): Judges, routers, and actors favor low temperature for determinism; the book ties creativity settings to concrete architectural responsibilities. - **RabbitMQ provides the reliability LLMs lack** (Middle): Treating LLMs as unreliable API endpoints, the book uses exchanges, queues, dead-letter queues, retries, and fallbacks to build robust RAG and multi-agent flows. - **Prompts are code and need governance** (Ending): Versioning, review workflows, and treating prompts as first-class artifacts are presented as non-negotiable for production GenAI. - **Security and cost are design-time concerns** (Ending): Prompt injection, context-window data leakage, PII handling, and token budgeting are addressed as architectural decisions, not afterthoughts. - **Patterns can be generated, composed, and extended** (Ending): The Topologos workflow (/define, /deploy) lets you invoke canonical patterns like ReAct, compose them (ReAct + Tool Use), or define new ones such as Debate-and-Adjudicate. 【Reading Tips】 - **Deep-read the terminology mapping and pattern chapters** (Early–Middle): These are the book's differentiator; skimming them loses the reasoning framework that makes the rest coherent. - **Skim the introductory LLM/embedding survey if you already know RAG**: The vector database and embedding material is foundational but high-level; move quickly to the tuning and RabbitMQ chapters. - **Treat the parameter dependency graph as a working checklist**: When tuning your own system, revisit it to avoid fixing one parameter while silently degrading another. - **Use the worked examples as templates**: The ReAct, composed-pattern, and Debate-and-Adjudicate walkthroughs are the most directly reusable material for your own builds. - **Read the security and cost sections before you ship, not after**: Prompt injection and token budgeting are easy to defer and expensive to retrofit. 【Coverage Limits】 The excerpts cover the book's framing, retrieval fundamentals, tuning, RabbitMQ orchestration, and the Topologos workflow, but do not include full chapter text for the data migration, ingestion, or appendix pattern reference material. Specific code listings and complete worked examples are only partially represented.
Excerpt 1
ntly as tools and frameworks evolve. Who this book is for This book is written for experienced software engineers, architects, and technical leads who want t...
View in text
Excerpt 2
we use and helps us find the right technology for the job. The rest of this chapter surveys the GenAI landscape, including a ten-thousand-foot overview of ve...
View in text
Excerpt 3
chance of returning redundant information for other queries. Redundant information increases the cost of the LLM call and adds clutter to session memory, mak...
View in text
Excerpt 4
ment the logic of LLM clients. RabbitMQ implements logic to ensure that a response from a consumer (LLM client) is routed back to the producer and correlated...
View in text
Excerpt 5
s problem by capturing semantic meaning. The embeddings for "vehicle insurance" and "automobile coverage" will be close in vector space even though the words...
View in text
Excerpt 6
legal disclaimers that should not appear in customer-facing content, and any patterns that your organization has identified as prohibited output. For high-st...
View in text
Excerpt 7
.2 – Four-step process Phase 1: Clarification before design Before any design work begins, theidx_b3f198ba practitioner establishes five constraints: the pro...
View in text
Excerpt 8
In this implementation, the agent polls react.tool.results.queue using basic_get with a correlation_id filter. In a idx_d33f2c4bhigh-concurrency system, this...
View in text
Tags
AI categories
Artificial IntelligenceGoBackend
ISBN: 1806114291
Publisher: Packt Publishing
Publish Year: 2026
Language: English
Pages: 310
File Format: PDF
File Size: 4.1 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…