-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
56 lines (48 loc) · 1.88 KB
/
Copy path.env.example
File metadata and controls
56 lines (48 loc) · 1.88 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
# AgentX Environment Configuration
# =================================
# Copy this file to .env.local and fill in your actual values
# NEVER commit .env.local to version control
# Provider API Keys
# -----------------
# Get your API keys from:
# - Anthropic: https://console.anthropic.com/
# - OpenAI: https://platform.openai.com/api-keys
# - Google: https://console.cloud.google.com/apis/credentials
ANTHROPIC_API_KEY=sk-ant-your-key-here
OPENAI_API_KEY=sk-your-key-here
GOOGLE_API_KEY=your-key-here
# LLM Model Configuration (Optional)
# ----------------------------------
# LLM_MODEL_ANTHROPIC=claude-sonnet-4-20250514
# LLM_MODEL_OPENAI=gpt-4o
# LLM_TEMPERATURE=0.7
# LLM_MAX_TOKENS=4096
# Redis (for queues/locks)
# ------------------------
# Default: localhost:6379
# Production: Use managed Redis service (e.g., Redis Cloud, AWS ElastiCache)
REDIS_URL=redis://localhost:6379
# PostgreSQL (for persistence)
# ----------------------------
# ⚠️ SECURITY: Change default password in production!
# Development: postgres:postgres@localhost:5432/agentx
# Production: Use strong password and managed service (e.g., AWS RDS, Supabase)
DATABASE_URL=postgresql://agentx:YOUR_STRONG_PASSWORD_HERE@localhost:5432/agentx
# Optional: API Server Configuration
# ----------------------------------
# AGENTX_API_PORT=3000
# AGENTX_API_KEY=your-api-key-here
# CORS_ALLOWED_ORIGINS=https://yourdomain.com
# Optional: GitHub Webhook Security
# ----------------------------------
# Get from: https://github.com/{owner}/{repo}/settings/hooks
# GITHUB_WEBHOOK_SECRET=your-webhook-secret-here
# Optional: Security Configuration
# --------------------------------
# AGENTX_SECRET_AUDIT_LOG=/var/log/agentx/audit.log
# NODE_ENV=production
# Security Notes:
# - Use .env.local for real keys (gitignored)
# - Use placeholder keys in .env for development
# - Rotate API keys every 90 days
# - See docs/security/ENV_SECURITY.md for details