openai · OpenAI Platform Docs
Quickstart
A step-by-step guide to building an agentic workflow using the SDK, covering installation, basic agent execution, state management, tool integration, and multi-agent delegation via specialist handoffs.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Quickstart
A step-by-step guide to building an agentic workflow using the SDK, covering installation, basic agent execution, state management, tool integration, and multi-agent delegation via specialist handoffs.
When To Use
Use when you need to implement a basic agentic loop, manage conversation state between turns, or transition from a single agent to a multi-agent system using tools and specialist handoffs.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/quickstart-workflow-guide.md | A markdown guide providing instructions and code examples for installing the SDK and creating, running, and extending an agent using TypeScript and Python. | Questions about a markdown guide providing instructions and code examples for installing the SDK and creating, running, and extending... |
examples/quickstart-openai-agents-quickstart.bash | Bash commands for installing the openai-agents library and setting the OPENAI_API_KEY environment variable. | Exact payloads, commands, or snippets shown in Bash commands for installing the openai-agents library and setting the OPENAIAPIKEY environment variable. |
examples/quickstart-openai-agents-typescript-quickstart.typescript | A TypeScript code example demonstrating how to initialize an Agent and execute a run using the @openai/agents library. | Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to initialize an Agent and execute a run using the @openai/agents library. |
examples/quickstart-openai-agents-python-quickstart.python | A Python script demonstrating how to initialize an Agent and use the Runner to execute a conversation. | Exact payloads, commands, or snippets shown in A Python script demonstrating how to initialize an Agent and use the Runner to execute a conversation. |
examples/quickstart-openai-agents-typescript-quickstart-2.typescript | A TypeScript implementation demonstrating how to initialize an Agent with tools and execute a run using the @openai/agents library. | Exact payloads, commands, or snippets shown in A TypeScript implementation demonstrating how to initialize an Agent with tools and execute a run using the @openai/a... |
examples/quickstart-openai-agents-python-quickstart-2.python | A Python script demonstrating how to initialize an Agent with a function tool and run it using the Runner class. | Exact payloads, commands, or snippets shown in A Python script demonstrating how to initialize an Agent with a function tool and run it using the Runner class. |
examples/quickstart-openai-agents-typescript-quickstart-3.typescript | A TypeScript implementation demonstrating how to initialize and run multiple specialized agents using the @openai/agents library. | Exact payloads, commands, or snippets shown in A TypeScript implementation demonstrating how to initialize and run multiple specialized agents using the @openai/age... |
examples/quickstart-openai-agents-quickstart.python | A Python implementation demonstrating how to initialize and run an agentic workflow using the OpenAI Agents framework. | Exact payloads, commands, or snippets shown in A Python implementation demonstrating how to initialize and run an agentic workflow using the OpenAI Agents framework. |
What This Skill Covers
- Use this page when you want the shortest path to a working SDK-based agent. The examples below use the same high-level concepts in both TypeScript and Python...
- Main sections:
Install the SDK,Create and run your first agent,Carry state into the next turn,Give the agent a tool,Add specialist agents.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.openai.com/api/docs/guides/agents/quickstart.md
