Share E-Book

Systems Thinking for Agentic AI A Software Architect’s Guide to Building Reliable LLM and Agent Systems (Ediz Najim)(Z-Library)

Author

Rating No ratings yet

Log in to rate

Software
Language English

No Description

Format EPUB
Size 24.6 MB
9
Views

AI Guide

AI Reading Assistant

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

Full assistant
AI guide
【One-Line Pitch】 A software architect’s field guide to treating LLM applications as real systems—complete with contracts, budgets, failure modes, and observability—rather than as clever prompts. Best for engineers and architects who already ship services and now need to make AI features reliable in production. 【Book Arc】 - **Opening (~0%–12%)**: Frames the shift from AI demos to AI systems, positioning the LLM as one component among retrieval, tools, memory, evaluation, and observability; introduces agents as controlled execution loops rather than magic. - **Early (~12%–35%)**: Builds the mental model of how models actually behave—tokens, embeddings, transformers, attention, context windows, next-token prediction, sampling, and hallucination—so later engineering decisions have a mechanical basis. - **Middle (~35%–55%)**: Moves into control and integration: prompt design as a system layer, structured output, versioning, function/tool calling as contracts, evaluation, and RAG pipelines with chunking, hybrid search, context assembly, and latency/caching concerns. - **Late (~55%–80%)**: Covers agent runtime mechanics (planning, state, tool orchestration, MCP), then production concerns—guardrails, prompt injection, permissions, retries, human-in-the-loop, performance budgets, cost drivers, caching, backpressure, and multi-agent trade-offs. - **Ending (~80%–100%)**: Closes with evaluation pipelines and AI-as-judge, observability via logs/metrics/traces, and an end-to-end code review agent taken from architecture through implementation, plus a forward look at memory, enterprise integration, and tool registries. 【Key Takeaways】 - **The LLM is one component, not the system** (Opening): Reliability comes from the surrounding architecture—retrieval, tools, state, evaluation, and observability—so architects should design boundaries and contracts around the model. - **Model internals explain production behavior** (Early): Tokenization, context windows, and sampling directly drive cost, latency, output variability, and hallucination risk; understanding them turns mysterious failures into diagnosable ones. - **Prompting is a system layer, not wording** (Middle): System prompts, few-shot examples, structured output, and versioning make model behavior controllable and testable; prompt changes should be treated like code changes. - **Tool calling is a controlled contract** (Middle): Function and tool calls extend the system boundary, so inputs, permissions, and outputs need validation—tool use is where agents begin to emerge. - **Retrieval quality shapes answer quality** (Middle): Chunking, embeddings, hybrid search, metadata filtering, and context assembly are the real levers in RAG; token budgeting and caching govern its latency and cost. - **Agents are controlled execution loops** (Late): Planning, observation, and state changes add capability but also risk; agentic behavior is only worth it when the task genuinely requires dynamic control flow. - **Reliability requires defense in depth** (Late): Guardrails, validation, prompt-injection defenses, safe tool execution, retries, timeouts, degradation, and human approval are layered controls—not a single filter. - **Evaluation and observability close the loop** (Ending): Evaluation datasets, AI-as-judge rubrics, regression catching, and traces/metrics/logs are what let teams debug, measure, and improve AI systems after launch. 【Reading Tips】 - Read sequentially if you are new to LLM systems; the book explicitly builds each part on the previous one. If you already ship AI features, jump to RAG, agents, evaluation, or production architecture as a reference. - Deep-read the chapters on evaluation, observability, and guardrails—these are where most prototype-to-production failures hide—and skim the transformer/attention math if you only need a practical mental model. - Treat the end-to-end code review agent as the capstone: read its architecture chapter before its implementation chapter, and map each design decision back to earlier chapters. - Keep a checklist of token budgets, latency budgets, and failure modes as you read; the book repeatedly ties design choices to cost, quality, and operational trade-offs. 【Coverage Limits】 This guide is based on stratified excerpts covering the table of contents, preface, and selected early/middle chapters; detailed claims about later implementation code and specific quantitative results are not covered by the excerpts.

Passage locations

Excerpt 1
of Hallucination 2.17 Hallucination Mitigation Techniques 2.18 Selecting Generation Strategies Summary Prompt Engineering in LLM Systems 3.1 Prompt Definitio...
View in text
Excerpt 2
Human-in-the-Loop Systems 18.8 Limits of Current Systems 18.9 The Role of Architecture 18.10 Practical Perspective 18.11 What You Should Build Next 18.12 Clo...
View in text
Excerpt 3
. Figure 2.2: Example of tokenization from text to tokens 2.2 Embeddings Once text has been broken into tokens, the model still cannot work with those tokens...
View in text
Excerpt 4
rs that often seem mysterious become much easier to explain. Output variation, temperature, top-k, top-p, and hallucination are not separate phenomena. They...
View in text

Recommended for You

Loading recommended books...
Failed to load, please try again later

Tip the Site

Scan the WeChat Pay or Alipay code to tip. No login required.

WeChat Pay
Alipay
← Back to List