openai-agents-python

A lightweight, powerful framework for multi-agent workflows

21 articles 21.6k View on GitHub ↗
21 articles
How to Implement Multi-Agent Workflows with Agent-to-Agent Delegation in openai-agents-python

Learn how to implement multi-agent workflows with agent-to-agent delegation in openai-agents-python. Master handoff and context transfer for seamless agent collaboration.

how-to-guide
Apr 17, 2026
How to Migrate from Chat Completions to Responses API with set_default_openai_api in openai‑agents‑python

Easily migrate from Chat Completions to the Responses API in openai-agents-python. Update your default API setting once and simplify your provider instances for a smoother workflow.

migration-guide
Apr 17, 2026
How to Use CodeInterpreterTool for Sandboxed Code Execution in openai-agents-python

Learn to use CodeInterpreterTool for secure, sandboxed code execution within openai-agents-python. Empower your agents with computational capabilities while protecting your host system.

how-to-guide
Apr 17, 2026
How to Enable and Configure Tracing Sensitive Data Exclusion in **openai-agents-python**

Learn to enable and configure tracing sensitive data exclusion in openai-agents-python. Secure your traces by setting environment variables or run config options.

how-to-guide
Apr 17, 2026
How to Use WebSearchTool and FileSearchTool for Information Retrieval in openai-agents-python

Learn to use WebSearchTool and FileSearchTool in openai-agents-python for effective information retrieval. Integrate these tools into your agent setup for powerful querying.

how-to-guide
Apr 17, 2026
How to Manage Conversation History with Handoff History Mappers in openai-agents-python

Manage conversation history in openai-agents-python using handoff history mappers. Collapse transcripts into one message or customize context for the next agent.

how-to-guide
Apr 17, 2026
How to Use ComputerTool and AsyncComputer for Browser Automation in openai-agents-python

Master browser automation with ComputerTool and AsyncComputer in openai-agents-python. Control real browsers for navigation, clicking, typing, and screenshots. Learn how today.

how-to-guide
Apr 17, 2026
How to Handle and Customize Error Handling with RunErrorHandlers in openai-agents-python

Master error handling in openai-agents-python with RunErrorHandlers. Intercept errors like MaxTurnsExceeded and customize outputs for a smoother user experience.

how-to-guide
Apr 17, 2026
Tool Input and Output Guardrails vs Regular Guardrails in openai-agents-python

Discover the difference between tool input/output guardrails and regular guardrails in openai-agents-python. Gain granular control over agent behavior and content rejection without halting the process.

deep-dive
Apr 17, 2026
How to Use RunHooks and AgentHooks to Intercept Agent Lifecycle Events in openai-agents-python

Intercept agent lifecycle events in openai-agents-python using RunHooks and AgentHooks. Easily customize agent behavior without altering core logic. Learn how now!

how-to-guide
Apr 17, 2026
How to Stream Agent Responses and Handle Streaming Events in openai-agents-python

Learn to stream agent responses and handle streaming events with openai-agents-python. Use Runner.run_streamed() to access typed events like LLM deltas, tool calls, and agent handoffs.

how-to-guide
Apr 17, 2026
How to Configure ModelRetrySettings and Custom Retry Policies in openai-agents-python

Learn to configure ModelRetrySettings and custom retry policies in openai-agents-python. Control failed model calls with max retries, backoff, and custom policies.

how-to-guide
Apr 17, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →