-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
107 lines (90 loc) · 4.74 KB
/
Copy path.env.example
File metadata and controls
107 lines (90 loc) · 4.74 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# Agent Patterns Environment Configuration
# Copy this file to .env and fill in your actual API keys
# =============================================================================
# LLM API Keys
# =============================================================================
# OpenAI API Key (for GPT models)
OPENAI_API_KEY=your-openai-api-key-here
# Anthropic API Key (for Claude models)
ANTHROPIC_API_KEY=your-anthropic-api-key-here
# =============================================================================
# Model Configuration - Thinking Role
# Primary reasoning and planning model (typically most capable/expensive)
# Provider options: openai | anthropic
# =============================================================================
THINKING_MODEL_PROVIDER=anthropic
THINKING_MODEL_NAME=claude-opus-4-1-20250805
# OpenAI options: gpt-4o | gpt-4o-mini | gpt-4-turbo | o1-preview | o1-mini
# Anthropic options: claude-opus-4-1-20250805 | claude-sonnet-4-5-20250929 | claude-sonnet-4-20250514 | claude-3-5-sonnet-20241022
# =============================================================================
# Model Configuration - Reflection Role
# Self-critique and evaluation model (can be same as thinking or different)
# Provider options: openai | anthropic
# =============================================================================
REFLECTION_MODEL_PROVIDER=anthropic
REFLECTION_MODEL_NAME=claude-sonnet-4-5-20250929
# OpenAI options: gpt-4o | gpt-4o-mini | gpt-4-turbo | o1-preview | o1-mini
# Anthropic options: claude-sonnet-4-5-20250929 | claude-opus-4-1-20250805 | claude-sonnet-4-20250514 | claude-3-5-sonnet-20241022
# =============================================================================
# Model Configuration - Documentation Role
# Output generation and documentation (can use cheaper model)
# Provider options: openai | anthropic
# =============================================================================
DOCUMENTATION_MODEL_PROVIDER=anthropic
DOCUMENTATION_MODEL_NAME=claude-sonnet-4-5-20250929
# OpenAI options: gpt-4o-mini | gpt-4o | gpt-3.5-turbo
# Anthropic options: claude-sonnet-4-5-20250929 | claude-haiku-4-5-20251001 | claude-3-5-haiku-20241022
# =============================================================================
# Model Configuration - Planning Role
# Planning and task decomposition (typically expensive model)
# Provider options: openai | anthropic
# =============================================================================
PLANNING_MODEL_PROVIDER=anthropic
PLANNING_MODEL_NAME=claude-sonnet-4-5-20250929
# OpenAI options: gpt-4o | gpt-4o-mini | gpt-4-turbo | o1-preview | o1-mini
# Anthropic options: claude-sonnet-4-5-20250929 | claude-opus-4-1-20250805 | claude-sonnet-4-20250514
# =============================================================================
# Model Configuration - Execution Role
# Task execution and tool calling (can use cheaper model)
# Provider options: openai | anthropic
# =============================================================================
EXECUTION_MODEL_PROVIDER=anthropic
EXECUTION_MODEL_NAME=claude-sonnet-4-5-20250929
# OpenAI options: gpt-4o-mini | gpt-4o | gpt-3.5-turbo
# Anthropic options: claude-sonnet-4-5-20250929 | claude-haiku-4-5-20251001 | claude-3-5-haiku-20241022
# =============================================================================
# Optional: Model Parameters
# =============================================================================
# Temperature for different roles (0.0 to 1.0)
THINKING_TEMPERATURE=0.7
REFLECTION_TEMPERATURE=0.5
DOCUMENTATION_TEMPERATURE=0.7
PLANNING_TEMPERATURE=0.5
EXECUTION_TEMPERATURE=0.3
# Max tokens for responses
THINKING_MAX_TOKENS=2000
REFLECTION_MAX_TOKENS=1000
DOCUMENTATION_MAX_TOKENS=2000
PLANNING_MAX_TOKENS=1500
EXECUTION_MAX_TOKENS=1000
# =============================================================================
# Pattern-Specific Configuration
# =============================================================================
# Maximum iterations/trials for looping patterns
MAX_ITERATIONS=5
MAX_TRIALS=3
MAX_REFLECTION_CYCLES=2
# =============================================================================
# Logging and Debugging
# =============================================================================
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# Enable verbose output for debugging
VERBOSE=false
# =============================================================================
# Notes
# =============================================================================
# - Never commit your actual .env file with real API keys
# - Add .env to your .gitignore file
# - Each pattern can override these defaults in their constructor
# - Provider must be one of: openai, anthropic, or other LangChain-supported providers