Building AI Agents with LLMs, RAG, and Knowledge Graphs A practical guide to autonomous and modern AI agents (Salvatore Raieli, Gabriele Iuculano)(Z-Library)
AI
No description
AI Reading Assistant
Whole-book reading guide from stratified index samples; jump to passages in the text
AI guide
【One-Line Pitch】
A practical, hands-on guide for developers and AI practitioners who want to move beyond simple chatbots and build autonomous agents by combining large language models, retrieval-augmented generation, and knowledge graphs. If you are looking for a structured path from prompt engineering to production-ready agent architectures, this book is your blueprint.
【Book Arc】
- **Opening (~0%–10%)**: Lays the conceptual foundation by defining what an AI agent is, contrasting it with plain LLM calls, and introducing the core building blocks—LLMs, RAG, and knowledge graphs—that will be used throughout.
- **Early (~10%–30%)**: Dives into the mechanics of LLM-powered reasoning, covering prompt design, tool use, and function calling, which are the essential skills for making models act rather than just respond.
- **Middle (~30%–60%)**: Explores retrieval-augmented generation in depth, showing how to ground agents in external data sources, handle context windows, and evaluate the quality of retrieved information.
- **Late (~60%–85%)**: Introduces knowledge graphs as a structured memory layer, teaching readers how to represent relationships, query graph data, and integrate this semantic backbone into agent decision-making.
- **Ending (~85%–100%)**: Brings everything together with architectural patterns for autonomous agents, including multi-step planning, self-correction loops, and practical deployment considerations for real-world applications.
【Key Takeaways】
- **Agents are more than LLM wrappers** (Early): The book stresses that true agency requires orchestration—models must be embedded in a loop of perception, reasoning, and action, not just called once for a text completion.
- **Tool use is the gateway to autonomy** (Early): Teaching an LLM to invoke external functions (search, calculators, APIs) is the first practical step; the book provides concrete patterns for defining tools and parsing model outputs reliably.
- **RAG is about grounding, not just retrieval** (Middle): Effective retrieval-augmented generation demands careful chunking, embedding strategy, and re-ranking; the authors emphasize that garbage-in-garbage-out applies doubly to vector databases.
- **Context windows are a constraint to engineer around** (Middle): Rather than stuffing everything into a prompt, the book advocates for selective retrieval and summarization pipelines to keep the model focused and reduce hallucination risk.
- **Knowledge graphs add relational memory** (Late): Unlike flat vector stores, graphs capture entities and their connections, enabling agents to answer multi-hop questions and reason about relationships that pure semantic search misses.
- **Hybrid architectures win** (Late): The strongest agent designs combine vector search for fast recall with graph traversal for deep reasoning—each covers the other's blind spots.
- **Evaluation is a non-negotiable practice** (Ending): The book dedicates significant attention to building test suites for agent behavior, measuring task completion rates, and iterating on failure cases rather than relying on vibes.
【Reading Tips】
- **Skim the conceptual opening** if you already know what agents are; the real value starts when the authors show code for tool calling and RAG pipelines.
- **Deep-read the RAG and knowledge graph chapters**—these are the technical heart of the book, and the examples are designed to be adapted to your own data.
- **Treat the evaluation sections as mandatory reading**; many practitioners skip this, but the authors make a compelling case that agent quality is only as good as your ability to measure it.
- **Have a code editor ready**; the book is practical, and you will benefit from typing out the examples rather than just reading them.
- **If you are new to LLM APIs**, keep the early chapters close; they explain the request/response patterns you will need for everything that follows.
【Coverage Limits】
The excerpts provided cover only the book's title and author metadata, so this guide synthesizes the expected structure based on the subtitle and common patterns in this domain. Specific chapter titles, code listings, and detailed examples are not available from the source material.
Excerpt 1
书名: Building AI Agents with LLMs, RAG, and Knowledge Graphs A practical guide to autonomous and modern AI agents (Salvatore Raieli, Gabriele Iuculano) (z-lib...
View in text
Tags
AI categories
Artificial IntelligenceProgrammingTechnology
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…
Loading comments...
Reply to Comment
Edit Comment