Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Getting Started with OpenAI Agents in Python

via CodeSignal

Overview

Kick off your journey with the OpenAI Agents SDK by learning how to run your first agent, explore its results, and format outputs effectively. This course also introduces asynchronous and streamed execution to give you flexibility in building responsive applications.

Syllabus

  • Unit 1: Running Your First OpenAI Agent
    • Defining Agent Instructions
    • Choosing a Model for Your Agent
    • Tuning Your Agent’s Responses
    • Debugging an OpenAI Agent
    • Build Your Own Joke Agent
  • Unit 2: Inspecting and Understanding Agent Result Properties
    • Exploring Agent Result Properties
    • Exploring Agent Steps
    • Filtering Message Output Items
    • Exploring Language Model Raw Responses
    • Tracking Agent Usage Metrics
  • Unit 3: Structuring Agent Outputs with Pydantic Models
    • Structuring Agent Output with Pydantic
    • Debugging Structured Agent Output
    • Expanding Your Agent Output Model
    • Accessing Structured Agent Output Fields
    • Designing a Custom Travel Budget Model
  • Unit 4: Asynchronous and Streamed Agent Execution Modes
    • Async Agent Execution in Action
    • Running Multiple Agents in Parallel
    • Streaming Agent Events in Real Time
    • Displaying Streamed Agent Responses

Reviews

Start your review of Getting Started with OpenAI Agents in Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.