Primary navigation

Agents

Codex Prompting Guide

Codex Prompting Guide

Codex models advance the frontier of intelligence and efficiency and our recommended agentic coding model. Follow this guide closely to ensure you’re getting th

cookbook
Context Engineering & Coding Agents with Cursor

Context Engineering & Coding Agents with Cursor

Session on structuring context for agent workflows inside the Cursor editor.

video
Live Demo Showcase: Tools That 10x Your Codebase

Live Demo Showcase: Tools That 10x Your Codebase

Live walkthrough of Codex-powered tooling that accelerates software delivery.

video
ChatKit advanced samples

ChatKit advanced samples

Advanced samples showcasing the capabilities of ChatKit (part of AgentKit).

code
ChatKit starter app

ChatKit starter app

Integrate ChatKit with an Agent Builder workflow in your application.

code
Agents SDK — Python

Agents SDK — Python

Python SDK for developing agents with OpenAI.

code
Agents SDK — TypeScript

Agents SDK — TypeScript

TypeScript SDK for developing agents with OpenAI.

code
Agents SDK quickstart

Agents SDK quickstart

Step-by-step guide to quickly build agents with the OpenAI Agents SDK.

guide
Agents SDK quickstart

Agents SDK quickstart

Quickstart project for building agents with the Agents SDK.

code
Background mode guide

Background mode guide

Guide to running tasks in the background with Responses.

guide
Build hour — agentic tool calling

Build hour — agentic tool calling

Build hour giving an overview of agentic tool calling.

video
Build hour — built-in tools

Build hour — built-in tools

Build hour giving an overview of built-in tools available in the Responses API.

video
Building agents guide

Building agents guide

Official guide to building agents using the OpenAI platform.

guide
Building guardrails for agents

Building guardrails for agents

Guide to implementing safeguards and guardrails in agent applications.

guide
Computer Use API — starter app

Computer Use API — starter app

Sample app showcasing Computer Use API integration.

code
Conversation state guide

Conversation state guide

Guide for managing conversation state with the Responses API.

guide
OpenAI models page

OpenAI models page

Overview of the models available on the OpenAI platform.

guide
Orchestrating multiple agents

Orchestrating multiple agents

Guide to coordinating multiple agents with shared context.

guide
Realtime agent demo

Realtime agent demo

Video introduction to the TypeScript Agents SDK.

video
Realtime tool delegation guide

Realtime tool delegation guide

Guide on delegating tasks through tools in realtime agents.

guide
Responses API — tools and features

Responses API — tools and features

Overview video of available tools and capabilities in the Responses API.

video
Responses guide

Responses guide

Introduction to the Responses API and its endpoints.

guide
Responses starter app

Responses starter app

Starter application demonstrating OpenAI Responses API with tools.

code
Responses vs. chat completions guide

Responses vs. chat completions guide

Comparison of the Responses API and Chat Completions.

guide
Tools overview guide

Tools overview guide

Guide covering realtime delegation through tools.

guide
Tracing module

Tracing module

Guide to monitoring and debugging agents with tracing.

guide
Unlock agentic power — Agents SDK

Unlock agentic power — Agents SDK

Video demonstrating advanced capabilities of the Agents SDK.

video
Voice agents guide

Voice agents guide

Guide to building voice agents using speech-to-speech API.

guide
CS agents demo

CS agents demo

Demo showcasing customer service agents orchestration.

code
Realtime agents starter app

Realtime agents starter app

Starter app demonstrating realtime agent capabilities.

code
Support agent demo

Support agent demo

Demo showing a customer support agent with a human in the loop.

code
Eval Driven System Design - From Prototype to Production

Eval Driven System Design - From Prototype to Production

Cookbook for eval-driven design of a receipt parsing automation workflow.

cookbook
Multi-Agent Portfolio Collaboration with OpenAI Agents SDK

Multi-Agent Portfolio Collaboration with OpenAI Agents SDK

Cookbook for multi-agent portfolio analysis workflows using the OpenAI Agents SDK.

cookbook
o3/o4-mini Function Calling Guide

o3/o4-mini Function Calling Guide

Cookbook to improve o3/o4-mini function calling with prompt best practices.

cookbook
Evals API Use-case - Responses Evaluation

Evals API Use-case - Responses Evaluation

Cookbook to evaluate new models against stored Responses API logs.

cookbook
Multi-Tool Orchestration with RAG approach using OpenAI's Responses API

Multi-Tool Orchestration with RAG approach using OpenAI's Responses API

Cookbook to route queries across tools with RAG using the Responses API.

cookbook
Doing RAG on PDFs using File Search in the Responses API

Doing RAG on PDFs using File Search in the Responses API

Cookbook to search PDFs with the Responses API file search tool.

cookbook
Orchestrating Agents: Routines and Handoffs

Orchestrating Agents: Routines and Handoffs

Cookbook for orchestrating agent workflows with routines and handoffs.

cookbook