Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions The moon dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
mkdir my_agent_project
cd my_agent_project
python -m venv .venv
source .venv/bin/activate

pip install openai-agents

export OPENAI_API_KEY=your-api-key

from agents import Agent

agent = Agent(
name="MyCustomAgent",
instructions="Provide detailed explanations for complex topics.",
)