Skip to content

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.

@github-actions
Copy link
Contributor

This PR is stale because it has been open for 10 days with no activity.

@github-actions github-actions bot added the stale label May 28, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jun 4, 2025

This PR was closed because it has been inactive for 7 days since being marked as stale.

@github-actions github-actions bot closed this Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant