This repository contains examples of AI agents that leverage the OpenAI Agents SDK built-in tools for agent-related tasks.
These examples demonstrate how agents can help with developing, researching, and setting up other agents.
An agent that researches the latest developments in AI agents and autonomous systems using the WebSearchTool.
Key Features:
- Performs searches to gather current information about AI agent technologies
- Analyzes research results to identify trends, frameworks, and challenges
- Produces a structured report with detailed findings and references
- Uses the WebSearchTool with specific research instructions for AI agent development
Use Cases:
- Staying up-to-date with rapidly evolving agent technologies
- Researching specific agent frameworks or approaches
- Gathering information about best practices in agent development
- Identifying challenges and future directions in the field
An agent that helps developers find relevant agent patterns and code examples using the FileSearchTool.
Key Features:
- Searches through vector-stored documentation to find relevant agent patterns
- Provides structured results with pattern descriptions and implementation details
- Suggests use cases where specific patterns would be most effective
- Includes code examples to help with implementation
Use Cases:
- Finding the right agent pattern for a specific use case
- Understanding implementation details of agent patterns
- Learning from existing code examples
- Getting recommendations on agent architecture design
An agent that sets up and configures an agent development environment using the ComputerTool.
Key Features:
- Navigates GitHub repositories and documentation using browser automation
- Takes screenshots to help visualize the repository structure
- Identifies key examples and getting started guides
- Helps create initial project structure for a new agent
Use Cases:
- Setting up a development environment for agent building
- Learning repository structure through guided navigation
- Finding key examples in complex codebases
- Visual demonstration of agent development workflows
- Install the OpenAI Agents SDK:
pip install openai-agents- Set your OpenAI API key:
export OPENAI_API_KEY=your_api_key_here- Run any of the examples:
python examples/web_search_example.py
python examples/file_search_example.py
python examples/computer_use_example.py- Python 3.9+
- OpenAI API key
- For computer use example: Playwright (
pip install playwright && playwright install) - For file search example: Vector store with agent documentation
These diagrams were generated using Mermaid and illustrate the architecture and workflow of each example agent.