-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
37 lines (32 loc) · 1.44 KB
/
.env.example
File metadata and controls
37 lines (32 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# OpenAI Agents SDK + GEPA Demo - Environment Variables
# Copy this file to .env and fill in your API keys
# =============================================================================
# Cloud Model Configuration (Optional - only needed for cloud-based models)
# =============================================================================
# OpenAI API Key
# Get your key from: https://platform.openai.com/api-keys
# OPENAI_API_KEY=sk-...
# Anthropic API Key (if using Claude models)
# Get your key from: https://console.anthropic.com/
# ANTHROPIC_API_KEY=sk-ant-...
# Google AI API Key (if using Gemini models)
# Get your key from: https://makersuite.google.com/app/apikey
# GOOGLE_API_KEY=...
# =============================================================================
# Cost Warnings
# =============================================================================
#
# ⚠️ IMPORTANT: GEPA optimization uses cloud APIs and will incur costs!
#
# Each optimization run:
# - Evaluates test scenarios multiple times
# - Makes many API calls to improve the agent
# - Costs vary by provider and model
#
# Tips to reduce costs:
# 1. Use local models (Ollama) - completely free!
# Run: python demo_local.py and python optimize_local.py
# 2. Test with demo_cloud.py first (cheaper) before running optimize_cloud.py
# 3. Only run optimization when needed (not on every code change)
#
# =============================================================================