Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
openai
openai-agents-python
Repository navigation
Code
Issues
28
(28)
Pull requests
11
(11)
Only collaborators can create PRs
Actions
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
openai-agents-python
examples
basic
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 20, 2026
docs: demonstrate fail-closed trace redaction (#5109)
seratch
authored
b1213bf
View commit details
Copy full SHA for b1213bf
View code at this point
Browse repository at this point
Commits on Aug 4, 2026
docs: fix spelling in GPT-5 example (#4168)
wesleyzhangwq
authored
08fa43c
View commit details
Copy full SHA for 08fa43c
View code at this point
Browse repository at this point
Commits on Aug 2, 2026
docs: improve example code details
seratch
committed
b5944a4
View commit details
Copy full SHA for b5944a4
View code at this point
Browse repository at this point
Commits on Jul 27, 2026
docs: use decorators module throughout examples (#3946)
seratch
authored
a6ce52d
View commit details
Copy full SHA for a6ce52d
View code at this point
Browse repository at this point
Commits on Jul 9, 2026
docs: stabilize tool guardrail and web search examples
seratch
committed
28026bc
View commit details
Copy full SHA for 28026bc
View code at this point
Browse repository at this point
feat: add GPT-5.6 model defaults and migrate examples (#3774)
seratch
authored
1332083
View commit details
Copy full SHA for 1332083
View code at this point
Browse repository at this point
Commits on May 28, 2026
fix: #3512 type tool-end hook results as object (#3518)
seratch
authored
9211356
View commit details
Copy full SHA for 9211356
View code at this point
Browse repository at this point
Commits on May 10, 2026
feat: improve examples auto-run coverage and artifact handling (#3328)
seratch
authored
a6a4cc5
View commit details
Copy full SHA for a6a4cc5
View code at this point
Browse repository at this point
Commits on Apr 25, 2026
Update examples and defaults to GPT-5.5 (#3016)
alfozan
authored
c88f339
View commit details
Copy full SHA for c88f339
View code at this point
Browse repository at this point
Commits on Apr 15, 2026
Sandbox Agents (#2889)
Show description for 2d665c9
24 people
authored
2d665c9
View commit details
Copy full SHA for 2d665c9
View code at this point
Browse repository at this point
Commits on Mar 12, 2026
feat: add opt-in model retry policies (#2651)
seratch
authored
3a52673
View commit details
Copy full SHA for 3a52673
View code at this point
Browse repository at this point
Commits on Mar 6, 2026
docs: refresh docs and examples to gpt-5.4 (#2615)
seratch
authored
8d1094d
View commit details
Copy full SHA for 8d1094d
View code at this point
Browse repository at this point
docs: improve examples for auto runs
seratch
committed
9b1f6ed
View commit details
Copy full SHA for 9b1f6ed
View code at this point
Browse repository at this point
Commits on Feb 23, 2026
feat: add Responses websocket model and stream_ws example (#2530)
seratch
authored
c4a2fcb
View commit details
Copy full SHA for c4a2fcb
View code at this point
Browse repository at this point
Commits on Jan 13, 2026
feat: add examples auto-run skill and refresh example scripts (#2303)
Show description for c06a8bb
seratch
authored
c06a8bb
View commit details
Copy full SHA for c06a8bb
View code at this point
Browse repository at this point
Update examples (#2300)
seratch
authored
f8153b9
View commit details
Copy full SHA for f8153b9
View code at this point
Browse repository at this point
Commits on Jan 10, 2026
Add runner script for examples and refresh sample outputs (#2289)
seratch
authored
8bc4264
View commit details
Copy full SHA for 8bc4264
View code at this point
Browse repository at this point
Commits on Dec 22, 2025
Add AgentHookContext with turn_input for agent hooks (#2213)
ihower
authored
659f706
View commit details
Copy full SHA for 659f706
View code at this point
Browse repository at this point
Commits on Dec 12, 2025
Print called tool's name in `examples/basic/stream_items.py` (#2174)
habema
authored
71fa12c
View commit details
Copy full SHA for 71fa12c
View code at this point
Browse repository at this point
Commits on Nov 5, 2025
Docs: Add per-request usage to docs and example script (#2026)
habema
authored
69c3357
View commit details
Copy full SHA for 69c3357
View code at this point
Browse repository at this point
Commits on Nov 4, 2025
docs: clarify on_tool_start and on_tool_end hooks for local tools only (#2037)
ihower
authored
d659a73
View commit details
Copy full SHA for d659a73
View code at this point
Browse repository at this point
Commits on Oct 28, 2025
docs: improve typing in lifecycle hook example code (#2002)
seratch
authored
4ba2e8a
View commit details
Copy full SHA for 4ba2e8a
View code at this point
Browse repository at this point
Commits on Oct 16, 2025
Image, file output types for functions (#1898)
Show description for 680554c
rm-openai
authored
680554c
View commit details
Copy full SHA for 680554c
View code at this point
Browse repository at this point
Commits on Sep 26, 2025
Adding tool input and output guardrails (#1792)
Show description for 22a63aa
steven10a
authored
22a63aa
View commit details
Copy full SHA for 22a63aa
View code at this point
Browse repository at this point
Add agent hooks to lifecycle_example (#1809)
seratch
authored
ac64c02
View commit details
Copy full SHA for ac64c02
View code at this point
Browse repository at this point
Commits on Sep 22, 2025
Add tool call arguments in ToolContext for RunHooks (#1765)
Show description for 5e1db14
ihower
authored
5e1db14
View commit details
Copy full SHA for 5e1db14
View code at this point
Browse repository at this point
Update dynamic_system_prompt.py example to use dataclass for simiplicity (#1774)
Show description for d91e39c
SheikhMuhammadHamza-HS
and
seratch
authored
d91e39c
View commit details
Copy full SHA for d91e39c
View code at this point
Browse repository at this point
Enhance function tool schemas with Annotated types (#1777)
Show description for 566b188
MuhammadHassaanArain
and
seratch
authored
566b188
View commit details
Copy full SHA for 566b188
View code at this point
Browse repository at this point
Commits on Sep 17, 2025
feat: #1731 Enable developers to use Annotated types for function tool param description (#1753)
Show description for aed6359
seratch
authored
aed6359
View commit details
Copy full SHA for aed6359
View code at this point
Browse repository at this point
Commits on Sep 12, 2025
Wait for input guardrails in streaming runs (#1730)
rm-openai
authored
efa88f7
View commit details
Copy full SHA for efa88f7
View code at this point
Browse repository at this point
Commits on Sep 2, 2025
fix(run): fire on_llm_start / on_llm_end in Runner.run() for streaming & non-streaming (aligns with docs) (#1619)
erikanstine
authored
6904dcb
View commit details
Copy full SHA for 6904dcb
View code at this point
Browse repository at this point
Commits on Aug 29, 2025
Fix #1564 Add conversations API support (#1587)
Show description for 164acb5
seratch
and
rm-openai
authored
164acb5
View commit details
Copy full SHA for 164acb5
View code at this point
Browse repository at this point
Commits on Aug 25, 2025
Fix: Emit tool_called events immediately in streaming runs (#1300)
Show description for e8d311b
habema
and
seratch
authored
e8d311b
View commit details
Copy full SHA for e8d311b
View code at this point
Browse repository at this point
Commits on Aug 21, 2025
Add SQLAlchemy session backend for conversation history management (#1357)
Show description for dcf9cf7
habema
authored
dcf9cf7
View commit details
Copy full SHA for dcf9cf7
View code at this point
Browse repository at this point
Commits on Aug 19, 2025
Add documentation for token usage tracking (#1518)
Show description for ebc5443
habema
and
seratch
authored
ebc5443
View commit details
Copy full SHA for ebc5443
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.