Building AI Agents with LLMs, RAG, and Knowledge Graphs

£35.99

Building AI Agents with LLMs, RAG, and Knowledge Graphs

A practical guide to autonomous and modern AI agents

Information retrieval Artificial intelligence Natural language and machine translation

Authors: Salvatore Raieli, Gabriele Iuculano

Dinosaur mascot

Language: English

Published by: Packt Publishing

Published on: 11th July 2025

Format: LCP-protected ePub

ISBN: 9781835080382


Key Features

Implement RAG and knowledge graphs for advanced problem-solving

Leverage innovative approaches like LangChain to create real-world intelligent systems

Integrate large language models, graph databases, and tool use for next-gen AI solutions

Book Description

This book addresses the challenge of building AI that not only generates text but also grounds its responses in real data and takes action. Authored by AI specialists with expertise in drug discovery and systems optimization, this guide empowers you to leverage retrieval-augmented generation (RAG), knowledge graphs, and agent-based architectures to engineer truly intelligent behavior. By combining large language models (LLMs) with up-to-date information retrieval and structured knowledge, you'll create AI agents capable of deeper reasoning and more reliable problem-solving.

Inside, you'll find a practical roadmap from concept to implementation. You’ll discover how to connect language models with external data via RAG pipelines for increasing factual accuracy and incorporate knowledge graphs for context-rich reasoning. The chapters will help you build and orchestrate autonomous agents that combine planning, tool use, and knowledge retrieval to achieve complex goals. Concrete Python examples and real-world case studies reinforce each concept and show how the techniques fit together.

By the end of this book, you’ll be able to build intelligent AI agents that reason, retrieve, and interact dynamically, empowering you to deploy powerful AI solutions across industries.

Email sign-up and proof of purchase required

What you will learn

Learn how LLMs work, their structure, uses, and limits, and design RAG pipelines to link them to external data

Build and query knowledge graphs for structured context and factual grounding

Develop AI agents that plan, reason, and use tools to complete tasks

Integrate LLMs with external APIs and databases to incorporate live data

Apply techniques to minimize hallucinations and ensure accurate outputs

Orchestrate multiple agents to solve complex, multi-step problems

Optimize prompts, memory, and context handling for long-running tasks

Deploy and monitor AI agents in production environments

Who this book is for

If you are a data scientist or researcher who wants to learn how to create and deploy an AI agent to solve limitless tasks, this book is for you. To get the most out of this book, you should have basic knowledge of Python and Gen AI. This book is also excellent for experienced data scientists who want to explore state-of-the-art developments in LLM and LLM-based applications.

Show moreShow less