Get started with the OpenAI Agents SDK and discover how AI agents actually work! This practical course teaches you to build and run your own agents in TypeScript, understand their conversation flows, and see how they use built-in and custom tools to accomplish tasks.
Overview
Syllabus
- Unit 1: Getting Started with OpenAI Agents
- Running Your First Agent
- Using Runner Instances for Agent Control
- Fix the Agent Execution Method
- Implementing Streaming Agent Execution
- Create Your Own Custom Agent
- Unit 2: Deep Dive into Agent Results
- Accessing Agent Result Properties
- Exploring Agent Steps with newItems
- Accessing Agent Conversation History
- Chaining Agents with Context Passing
- Tracking the Agent Responsible for Final Output
- Unit 3: Managing Multi-Turn Agentic Conversations
- Starting a Multi-Turn Conversation with Conversation History
- Update Conversation History with Agent Results
- Extending Multi-Turn Conversations with Agent History
- Updating Conversation History After Multi-Turn Interactions
- Managing Multi-Turn Conversations with Query Arrays
- Unit 4: Extending Agent Capabilities with Tools
- Adding Built-in Tools to Your Agent
- Viewing Agent Tool Usage Step by Step
- Creating Custom Function Tools for Agents
- Updating Function Tool Parameters and Inspecting Tool Metadata
- Building an Agent with Multiple Tools