Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Create The moon dev #709

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
Loading
from
Open

Create The moon dev #709

wants to merge 1 commit into from

Conversation

ashi70688
Copy link

Set Up Your Environment:
Create a new project directory and set up a virtual environment:

bash
Copy
Edit
mkdir my_agent_project
cd my_agent_project
python -m venv .venv
source .venv/bin/activate
Install the Agents SDK:

bash
Copy
Edit
pip install openai-agents
Set Your OpenAI API Key:
Ensure you have an OpenAI API key and set it as an environment variable:

bash
Copy
Edit
export OPENAI_API_KEY=your-api-key
Create Your Agent:
Define your agent using the SDK:

python
Copy
Edit
from agents import Agent

agent = Agent(
name="MyCustomAgent",
instructions="Provide detailed explanations for complex topics.",
)
Submit a Pull Request (PR)
After developing and testing your agent:

Push your changes to your forked repository.

Navigate to the original openai-agents-python repository and click on "New Pull Request".

Select your fork and branch, and provide a clear description of your agent, its purpose, and any specific instructions or configurations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.