A professional, intuitive, and streamlined GUI application for creating, testing, and managing OpenAI agents using the OpenAI Agents SDK. Build powerful AI agents with custom tools, handoffs, and guardrails without writing code.
IMPORTANT: This project is created by J. Gravelle (https://j.gravelle.us | [email protected]) and is not affiliated with, endorsed by, or sponsored by OpenAI. It is an independent tool designed to work with the OpenAI Agents SDK.
- Intuitive Agent Builder: Step-by-step wizard interface for creating agents
- Visual Tool Configuration: Add and configure tools with a user-friendly interface
- Agent Dashboard: Manage all your agents in one place
- Clone & Edit: Easily duplicate and modify existing agents
- Custom Instructions: Create detailed system prompts for your agents
- Model Selection: Choose from OpenAI's latest models including GPT-4o
- Tool Integration: Add web search, file search, and custom function tools
- Agent Handoffs: Configure specialist agents for delegation
- Guardrails: Set up input and output validation mechanisms
- Built-in Test Environment: Test your agents directly in the application
- Real-time Chat Interface: Interact with your agents and see tool usage
- Code Generation: Automatically generate Python code for the OpenAI Agents SDK
- Export Options: Download or copy code for use in your applications
- Dark/Light Mode: Toggle between dark and light themes
- Responsive Design: Works on desktop and tablet devices
- Local Storage: Agents are saved locally for privacy and convenience
- API Key Management: Securely store and validate your OpenAI API key
- Node.js (v14.x or higher)
- npm (v6.x or higher)
- OpenAI API key
- Clone the repository
git clone https://github.com/yourusername/openai-agent-builder.git
cd openai-agent-builder
- Install dependencies
npm install
- Start the development server
npm start
- Open your browser and navigate to
http://localhost:3000
To create a production build:
npm run build
The build files will be created in the build/
directory and can be served using any static file server.
- When you first launch the application, you'll be prompted to enter your OpenAI API key
- Your API key is stored locally in your browser and is never sent to our servers
- You can test your API key with the included test script:
./test-agent.bat
- Click the "Create Agent" button on the dashboard
- Follow the step-by-step wizard:
- Basic Details: Set name, description, and model
- Instructions: Define your agent's system prompt
- Tools: Add capabilities like web search or custom functions
- Handoffs: Configure specialist agents for delegation
- Guardrails: Set up input and output validation
- Code Preview: View and export the generated code
- Test Agent: Try out your agent in a chat interface
- Use the built-in test environment to interact with your agent
- See how your agent responds to different inputs
- Observe tool usage and handoffs in real-time
- Refine your agent based on test results
- Generate Python code for your agent using the Code Preview tab
- Copy or download the code
- Use the code in your own applications with the OpenAI Agents SDK
- Follow the OpenAI Agents SDK documentation for advanced usage
This application follows the OpenAI Agents SDK architecture as outlined in the OpenAI Agents SDK Reference Guide. The key components include:
- Agent: Core component for defining agents with instructions, tools, and other capabilities
- Runner: Used for executing agents with user inputs
- Tools: Function tools, web search, file search, and other capabilities
- Handoffs: Delegation to specialist agents for specific tasks
- Guardrails: Input and output validation mechanisms
- Tracing: Monitoring and debugging agent execution
- React Frontend: Built with React and Material UI for a responsive user interface
- Local Storage: Agents and settings are stored in browser local storage
- OpenAI API Integration: Direct integration with OpenAI's API for agent execution
- Code Generation: Templates for generating Python code for the OpenAI Agents SDK
The application uses the following key components:
- apiService.js: Core service that interfaces with the OpenAI Agents SDK
- AgentBuilder.js: Multi-step form for creating and configuring agents
- TestAgent.js: Testing environment that uses the SDK to run agents
- CodePreview.js: Generates Python code for using the agents in your own applications
- Dashboard.js: Manages the list of agents and provides CRUD operations
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with React and Material UI
- Powered by the OpenAI Agents SDK
- Inspired by the growing need for accessible AI agent creation tools
Build powerful AI agents without writing code
Report Bug ·
Request Feature