openai-agents-python
A lightweight, powerful framework for multi-agent workflows
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 Migrate from Chat Completions to Responses API with set_default_openai_api in openai‑agents‑pythonEasily 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.
How to Use CodeInterpreterTool for Sandboxed Code Execution in openai-agents-pythonLearn 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 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 Use WebSearchTool and FileSearchTool for Information Retrieval in openai-agents-pythonLearn 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 Manage Conversation History with Handoff History Mappers in openai-agents-pythonManage conversation history in openai-agents-python using handoff history mappers. Collapse transcripts into one message or customize context for the next agent.
How to Use ComputerTool and AsyncComputer for Browser Automation in openai-agents-pythonMaster browser automation with ComputerTool and AsyncComputer in openai-agents-python. Control real browsers for navigation, clicking, typing, and screenshots. Learn how today.
How to Handle and Customize Error Handling with RunErrorHandlers in openai-agents-pythonMaster error handling in openai-agents-python with RunErrorHandlers. Intercept errors like MaxTurnsExceeded and customize outputs for a smoother user experience.
Tool Input and Output Guardrails vs Regular Guardrails in openai-agents-pythonDiscover 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.
How to Use RunHooks and AgentHooks to Intercept Agent Lifecycle Events in openai-agents-pythonIntercept agent lifecycle events in openai-agents-python using RunHooks and AgentHooks. Easily customize agent behavior without altering core logic. Learn how now!
How to Stream Agent Responses and Handle Streaming Events in openai-agents-pythonLearn 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 Configure ModelRetrySettings and Custom Retry Policies in openai-agents-pythonLearn to configure ModelRetrySettings and custom retry policies in openai-agents-python. Control failed model calls with max retries, backoff, and custom policies.
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:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →