Building Agents with OpenAI  Agents SDK
eBook - ePub

Building Agents with OpenAI Agents SDK

Create practical AI agents and agentic systems through hands-on projects

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Building Agents with OpenAI Agents SDK

Create practical AI agents and agentic systems through hands-on projects

About this book

Master OpenAI's Agents SDK to design production-ready AI agents and agentic systems that solve real-world problems with practical guidance Free with your book: DRM-free PDF version + access to Packt's next-gen Reader*

Key Features

  • Gain a complete understanding of the OpenAI Agents SDK features including models, tools, memory, guardrails, orchestration, tracing, and multi-agent systems
  • Progressively build AI agents through several hands-on projects that evolve from a simple workflow to a complex multi-agent system
  • Implement advanced agent capabilities such as RAG, MCPs, administration, workflow integration, and much more

Book Description

Everyone's talking about AI agents, but how do you build one that works in the real world? Not a toy demo, but an agent that solves real problems, saves time, and integrates into workflows. With vague frameworks, fragmented tooling, and endless hype, most developers are left without a clear path. The hardest part isn't technical; it is knowing where to start. This book gives you that starting point. It's a complete guide to building intelligent AI agents and agentic systems using the official OpenAI Agents SDK. It begins by grounding you in the core concepts, design principles, and architecture of AI agents, how they differ from other traditional systems, their advantages, and why that matters. Through practical step-by-step projects, you'll master every feature of the SDK—tools, memory, RAG, multi-agent orchestration, tracing, handoffs, and more—while contributing to an end-to-end agent system that grows in complexity. Projects include a custom support agent, invoice and inventory assistant, health advisor, sales trainer, and data analyst, giving you production-ready skills. By the end, you'll know how to design, build, and deploy agentic systems that interact with APIs, query databases, hand off to external systems, and drive meaningful outcomes. You won't just understand AI agents; you'll be ready to ship them. *Email sign-up and proof of purchase required

What you will learn

  • Understand the core principles of AI agents and why they matter
  • Use the OpenAI Agents SDK to build real, working agents from scratch
  • Design both single-agent and multi-agent systems
  • Integrate external tools, APIs, and data sources to extend agent capabilities
  • Add memory and stateful context to your agents so they can "remember" and adapt over time
  • Coordinate agent-to-agent handoff orchestrations
  • Secure, monitor, and scale agents in production

Who this book is for

This book is for LLM engineers, developers, tech-savvy professionals, analysts, and consultants who want to build practical agentic AI solutions using the OpenAI SDK. A basic understanding of Python and AI concepts is recommended, but no prior experience with agents is required. Whether you're exploring agents for the first time or want to deepen your skills with hands-on projects, this guide provides structured, production-ready knowledge.

]]>

Table of contents

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

Trusted by 375,005 students

Access to over 1.5 million titles for a fair monthly price.

Study more efficiently using our study tools.

Information

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.5M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1.5 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Building Agents with OpenAI Agents SDK by Henry Habib in PDF and/or ePUB format, as well as other popular books in Computer Science & Artificial Intelligence (AI) & Semantics. We have over 1.5 million books available in our catalogue for you to explore.