-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
77 lines (65 loc) · 2.3 KB
/
Copy path.env.example
File metadata and controls
77 lines (65 loc) · 2.3 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
# LangSmith Configuration (for tracing and monitoring)
LANGSMITH_TRACING="true"
LANGSMITH_ENDPOINT="https://api.smith.langchain.com"
LANGSMITH_API_KEY="<your-api-key>"
LANGSMITH_PROJECT="learning-agent"
LANGCHAIN_CALLBACKS_BACKGROUND="false" # Ensure tracing completes for background tasks
# LLM Configuration
# API Keys (set the one for your chosen provider)
OPENAI_API_KEY="<your-openai-api-key>"
ANTHROPIC_API_KEY=your_anthropic_api_key_here
API_KEY=your_generic_api_key_here # Can be used instead of provider-specific keys
# Choose your preferred LLM provider: openai, anthropic, ollama, google-genai, mistralai, groq, together, fireworks, cohere
LLM_PROVIDER=openai
LLM_MODEL=gpt-4-turbo-preview
# Embedding Configuration (optional - defaults to LLM provider)
# EMBEDDING_PROVIDER=openai
# EMBEDDING_MODEL=text-embedding-ada-002
# Additional provider API keys (only set if using these providers)
# GOOGLE_API_KEY=your_google_api_key
# MISTRAL_API_KEY=your_mistral_api_key
# COHERE_API_KEY=your_cohere_api_key
# GROQ_API_KEY=your_groq_api_key
# TOGETHER_API_KEY=your_together_api_key
# FIREWORKS_API_KEY=your_fireworks_api_key
# VOYAGE_API_KEY=your_voyage_api_key
# HUGGINGFACE_API_KEY=your_huggingface_api_key
# Local model configuration (for Ollama)
# OLLAMA_BASE_URL=http://localhost:11434
# Agent Configuration
MAX_PARALLEL_AGENTS=10
LEARNING_CONFIDENCE_THRESHOLD=0.9
PATTERN_RETENTION_DAYS=90
ENABLE_LEARNING=true
AUTO_APPLY_PATTERNS=true
# UI Configuration
TERMINAL_WIDTH=120
SHOW_PROGRESS_BARS=true
USE_COLORS=true
DEBUG_MODE=false
# Performance Configuration
TASK_TIMEOUT_SECONDS=300
CHECKPOINT_INTERVAL_SECONDS=60
MAX_RETRIES=3
RETRY_DELAY_SECONDS=5
# Storage Configuration
LEARNING_DB_PATH=.agent
MAX_DB_SIZE_MB=1024
ENABLE_COMPRESSION=true
# Logging Configuration
LOG_LEVEL=INFO
LOG_FILE=learning_agent.log
LOG_FORMAT=json
# GitHub MCP Server (no secrets committed)
# Create a GitHub Personal Access Token with minimum scopes you need
# and export it locally as an env var before running Codex:
# export GITHUB_PERSONAL_ACCESS_TOKEN=ghp_xxx
# The example config in `github_mcp.json` references this variable.
# GITHUB_PERSONAL_ACCESS_TOKEN=
# Browser MCP (Playwright)
# Headless mode and lifecycle
BROWSER_HEADLESS=true
BROWSER_KEEP_ALIVE=false
# Viewport in pixels
BROWSER_VIEWPORT_WIDTH=1280
BROWSER_VIEWPORT_HEIGHT=720