In this video, we explore OpenAI’s latest developer tools designed to help you build AI agents with ease. We break down the new Responses API—a stateful, multimodal alternative to the Assistants API—and the Agents SDK, which simplifies building AI agents with built-in loops, tool calling, handoffs, guardrails, and native tracing. You’ll see practical coding examples demonstrating file search, web search, multimodal inputs, and advanced AI workflows in action.
📌 Resources & Tutorials
Check out our newly released newsletter on Substack — The Median: https://dcthemedian.substack.com
Solution Notebook: https://bit.ly/41s1wQm
Course - Working with the OpenAI API: https://www.datacamp.com/courses/working-with-the-openai-api
OpenAI Agents SDK Docs: https://platform.openai.com/docs/guides/agents
Responses API Overview: https://platform.openai.com/docs/guides/responses
📕 Chapters
00:00 Introduction to OpenAI's New Tools
00:20 Jump to Coding Sections
00:38 Overview of the Responses API
01:00 Deprecation of the Assistants API
01:27 Key Features of the Responses API
01:49 Multimodal Capabilities & Future Updates
02:07 Comparing Responses API vs. Chat Completions API
02:34 OpenAI’s New Agents SDK Overview
03:00 Built-in Agent Loop & Tool Calling
03:26 Agent Handoffs & Delegation
03:46 Guardrails for Input Validation
04:07 Tracing & Observability for Agents
05:22 Getting Started with the Responses API
05:42 Installing Necessary Packages
06:02 Importing Required Libraries
07:24 Setting Up OpenAI API Key
09:02 Connecting API Key in Environment Variables
09:52 Generating Text with the Responses API
11:26 Using the Responses API for Image Analysis
15:34 Performing Web Search with the API
18:05 File Search with Vector Stores
22:26 Combining Web Search & Multimodal Input
26:36 Introduction to the Agents SDK
27:13 Building a Simple Agent (History Twitter Agent)
29:22 Using Tracing to Monitor Agent Activity
30:22 Creating a Math Tutor Agent
32:04 Using a Triage Agent for Task Delegation
34:41 Demonstrating Tracing in Action
36:16 Implementing Guardrails for AI Agents
37:51 Structuring Guardrail Output
40:17 Defining Guardrails for the Agent
41:17 Adding Guardrails to a Triage Agent
42:36 Testing Guardrail Functionality
43:46 Recap & Future Plans for the SDK
44:10 Closing Remarks & Call to Action
📱Follow Us on Social
Facebook: https://www.facebook.com/datacampinc/
Twitter: https://twitter.com/datacamp
LinkedIn: https://www.linkedin.com/school/datacampinc/
Instagram: https://www.instagram.com/datacamp/
#OpenAI #AIAgents #GPT4o #ResponsesAPI #AIDevelopment #MachineLearning #ArtificialIntelligence #Developers #AIChatbots #LLMs