-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
172 lines (144 loc) · 3.82 KB
/
.env.example
File metadata and controls
172 lines (144 loc) · 3.82 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# QAgent Environment Variables
# Copy this file to .env.local and fill in values
# NEVER commit .env.local to version control
# ===================
# Browserbase (Browser Automation)
# https://browserbase.com/
# ===================
BROWSERBASE_API_KEY=
BROWSERBASE_PROJECT_ID=
# ===================
# Stagehand (AI Browser Control)
# Uses Browserbase for execution
# ===================
# Stagehand uses BROWSERBASE_API_KEY above
# ===================
# OpenAI (LLM for Patch Generation)
# https://platform.openai.com/
# ===================
OPENAI_API_KEY=
# ===================
# Anthropic (Backup LLM)
# https://console.anthropic.com/
# ===================
ANTHROPIC_API_KEY=
# ===================
# Redis (Vector Knowledge Base)
# https://redis.io/cloud/
# ===================
REDIS_URL=redis://localhost:6379
# For Redis Cloud: redis://default:password@host:port
# ===================
# Vercel (Deployment)
# https://vercel.com/account/tokens
# ===================
VERCEL_TOKEN=
VERCEL_PROJECT_ID=
VERCEL_TEAM_ID=
# ===================
# Weights & Biases (Observability)
# https://wandb.ai/settings
# ===================
WANDB_API_KEY=
WANDB_PROJECT=qagent
WANDB_ENTITY=
# ===================
# Google Cloud (Agent Orchestration)
# https://console.cloud.google.com/
# ===================
GOOGLE_CLOUD_PROJECT=
GOOGLE_APPLICATION_CREDENTIALS=
# ===================
# GitHub (Code Operations)
# For committing and pushing fixes
# ===================
GITHUB_TOKEN=
GITHUB_REPO=
# For MCP GitHub server (can be same as GITHUB_TOKEN)
GITHUB_PERSONAL_ACCESS_TOKEN=
# ===================
# GitHub OAuth (Dashboard)
# Create a GitHub OAuth App: https://github.com/settings/developers
# ===================
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
# ===================
# GitHub Webhooks
# For continuous monitoring via push events
# Used as a legacy fallback when a repo-specific monitoring webhook secret
# has not been provisioned yet
# Generate with: openssl rand -hex 32
# ===================
GITHUB_WEBHOOK_SECRET=
# ===================
# Session Security
# Generate with: openssl rand -hex 32
# ===================
SESSION_SECRET=
# ===================
# Application Settings
# ===================
NODE_ENV=development
NEXT_PUBLIC_APP_URL=http://localhost:3000
TARGET_URL=http://localhost:3000
DEBUG=false
# ===================
# Agent Settings
# ===================
MAX_ITERATIONS=5
PATCH_TIMEOUT_MS=30000
DEPLOY_TIMEOUT_MS=120000
TEST_TIMEOUT_MS=60000
AUTO_MERGE_PATCH_PRS=true
PATCH_PR_MERGE_METHOD=squash
# ===================
# Monitoring Settings
# ===================
# Required secret for authenticating cron job requests
# Generate with: openssl rand -hex 32
CRON_SECRET=
# Secret for internal-only API routes such as notification dispatch
# Generate with: openssl rand -hex 32
INTERNAL_API_KEY=
# Maximum concurrent runs (for queue processing)
MAX_CONCURRENT_RUNS=3
# Number of days to retain run history
RUN_RETENTION_DAYS=30
# ===================
# Daytona (Cloud Sandbox)
# https://app.daytona.io/
# ===================
DAYTONA_API_KEY=
DAYTONA_API_URL=https://app.daytona.io/api
# ===================
# Feature Flags
# ===================
ENABLE_REDIS_CACHE=true
ENABLE_WEAVE_LOGGING=true
ENABLE_TRACE_TRIAGE=false
ENABLE_REDTEAM=false
# ===================
# MCP Server Integrations (Optional)
# ===================
# PostgreSQL (for persistent storage)
DATABASE_URL=
# Slack (notifications)
# Create a Slack App: https://api.slack.com/apps
SLACK_BOT_TOKEN=
SLACK_TEAM_ID=
# Linear (issue tracking)
# https://linear.app/settings/api
LINEAR_API_KEY=
# Sentry (error tracking)
# https://sentry.io/settings/account/api/auth-tokens/
SENTRY_AUTH_TOKEN=
SENTRY_ORG=
# ===================
# Weave Project Configuration
# ===================
WEAVE_PROJECT=qagent
# ===================
# Google Gemini (ADK LLM)
# https://ai.google.dev/
# ===================
GOOGLE_API_KEY=