Skip to Content
Hands-On RAG for Production
book

Hands-On RAG for Production

by Ofer Mendelevitch, Forrest Sheng Bao
May 2026
Intermediate to advanced
358 pages
10h 52m
English
O'Reilly Media, Inc.
Content preview from Hands-On RAG for Production

Chapter 7. From RAG to AI Agents

The definition of a software agent first emerged from the fields of distributed AI and computer science in the 1970s and 1980s. A foundational concept was Carl Hewitt’s Actor Model, first proposed in 1973, which defined self-contained, interactive components (“Actors”) that communicate through asynchronous message passing.

While not explicitly called “agents” at first, Actors embodied the core principles of autonomy and concurrent operation. By the 1980s, researchers used the term “agent” to describe a software entity with specific characteristics: it was autonomous (in control of its own actions), had “social” abilities (could interact with other agents), was reactive (responded to its environment), and was proactive (took initiative to meet its goals). These early agents emerged from the field of symbolic AI, operating on “hand-coded” rules and logical inference within highly structured, limited environments.

The 1990s became the “age of intelligent agents,” where these concepts were formalized and put into practice. A key development was the Belief-Desire-Intention (BDI) model, an architecture that gave agents a more human-like reasoning structure. An agent would maintain beliefs about the state of the world, have desires (goals to achieve), and form intentions (committed plans of action). This era saw the rise of early practical agents, such as information agents that could filter emails or search nascent databases, and the first multi-agent ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Building LLMs for Production

Building LLMs for Production

Louis-Francois Bouchard, Louie Peters
LLMs in Production

LLMs in Production

Matthew Sharp, Christopher Brousseau

Publisher Resources

ISBN: 9798341621701Errata Page