Laojin GlobalAI · GO GLOBAL
Back to tutorials
OpenAI Agents SDK Quickstart: pip install, Agent + Runner
OpenAI Agents SDKBeginner2026-09-04

OpenAI Agents SDK Quickstart: pip install, Agent + Runner

Creator:OpenAI

Package openai-agents, import agents. Not ChatGPT. Official Quickstart: venv, OPENAI_API_KEY, Runner.run.

Open the official tutorial
ItemDetails
ProviderOpenAI Agents SDK
LevelBeginner
Date2026-09-04
Official sourceOpenAI Agents SDK
Topics#agents · #engineering · #openai

Install

Official Quickstart:

bash python -m venv .venv source .venv/bin/activate pip install openai-agents export OPENAI_API_KEY=...

Don't commit the key.

First Agent

python from agents import Agent, Runner

Use the official async example. Package name is openai-agents; import path is agents.

Official source: openai.github.io/openai-agents-python/quickstart/. Hub: /en/openai-agents-sdk.
Note: This is an original Laojin Global companion to the official tutorial, not a replacement for provider documentation. Use the official link for current models, SDKs, pricing, quotas, and safety policies.

Sources & Further Reading

This page is grounded in the authoritative sources below — verifiable and citable by AI engines and readers.

Citation: Please attribute Laojin Global (laojinchuhai.com) and keep the original link.

Made by Laojin · AI that ships

AllModelsAPIOne key for many models

AllModelsAPI is a multi-model API gateway: one key reaches many models through an OpenAI-compatible interface — point your existing code at a new base URL and you're migrated. It's not a demo: our own production workloads run on it every day.

More from Laojin: Sellenca · 365AIOrg · 365Loopa · 365 Ops · 365Skill

Related

Linked by topic, people and hubs