Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Building Agents with OpenAI  Agents SDK

You're reading from   Building Agents with OpenAI Agents SDK Create practical AI agents and agentic systems through hands-on projects

Arrow left icon
Product type Paperback
Published in Oct 2025
Publisher Packt
ISBN-13 9781806112012
Length 276 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Henry Habib Henry Habib
Author Profile Icon Henry Habib
Henry Habib
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Part 1: AI Agents
2. Introduction to AI Agents FREE CHAPTER 3. Introduction to OpenAI Agents SDK 4. Environment Setup and Developing Your First Agent 5. Part 2: OpenAI Agents SDK
6. Agent Tools and MCPs 7. Memory and Knowledge 8. Multi-Agent Systems and Handoffs 9. Model and Context Management 10. Agent System Management 11. Part 3: Build AI Agents
12. Building AI Agents and Agentic Systems 13. Other Books You May Enjoy
14. Index

Core primitives

As we mentioned before, the OpenAI Agents SDK introduces a handful of core concepts (normally called primitives) that we can use to build agent systems. These are the building blocks for any agent-driven application using the SDK.To understand what primitives are, let’s say you’re designing a robot assistant to help manage a smart home. The assistant should be able to turn off lights, adjust the thermostat, respond to voice commands, and notify you if a window is left open. Instead of building everything from scratch, the SDK gives you a small set of foundational pieces: one for defining what the agent knows (state), one for what it can do (tools), one for how it thinks (policy), and so on. These are the primitives. You combine them like assembling distinct parts of a machine to create a functioning agent.Think of primitives as LEGO bricks in a LEGO set. They’re the smallest standard pieces you use to build anything. The SDK might later...

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Building Agents with OpenAI  Agents SDK
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon