-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
134 lines (111 loc) · 4.95 KB
/
Copy pathenv.example
File metadata and controls
134 lines (111 loc) · 4.95 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
# =============================================================================
# CodexWeb Environment Variables
# =============================================================================
# Copy this file to .env and fill in your actual values
# Never commit your actual .env file to version control
# =============================================================================
# AI/ML API Keys
# =============================================================================
# OpenRouter API Configuration - Used for all AI operations (orchestrator, master agent, embeddings)
OPENROUTER_API_KEY=your_openrouter_api_key_here
OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
# Google Gemini API Key - Used for browser automation tasks (if needed)
GEMINI_API_KEY=your_gemini_api_key_here
# =============================================================================
# Browser Automation
# =============================================================================
# Anchor Browser API Key - Used for browser session management
ANCHOR_API_KEY=your_anchor_api_key_here
# E2B API Key - Used for sandbox environment (if using E2B)
E2B_API_KEY=your_e2b_api_key_here
# =============================================================================
# GitHub OAuth Configuration
# =============================================================================
# GitHub OAuth App credentials
GITHUB_CLIENT_ID=your_github_client_id_here
GITHUB_CLIENT_SECRET=your_github_client_secret_here
GITHUB_REDIRECT_URI=http://localhost:8000/auth/github/callback
# GitHub Personal Access Token for operations (prioritized over OAuth tokens)
GITHUB_TOKEN=your_github_personal_access_token_here
NEXT_PUBLIC_GITHUB_TOKEN=your_github_personal_access_token_here
# =============================================================================
# Azure AI Search (Optional - for memory features)
# =============================================================================
# Azure AI Search endpoint and API key for user memory features
AZURE_AI_SEARCH_ENDPOINT=your_azure_search_endpoint_here
AZUREAI_SEARCH_API_KEY=your_azure_search_api_key_here
# =============================================================================
# Appwrite Configuration (Frontend)
# =============================================================================
# Appwrite project settings (configured in frontend code)
# These are typically set in the frontend code, but you can override here if needed
# APPWRITE_ENDPOINT=https://fra.cloud.appwrite.io/v1
# APPWRITE_PROJECT_ID=your_appwrite_project_id_here
# =============================================================================
# Server Configuration
# =============================================================================
# Backend server settings
BACKEND_HOST=localhost
BACKEND_PORT=8000
# Frontend server settings
FRONTEND_HOST=localhost
FRONTEND_PORT=3000
NEXT_PUBLIC_FRONTEND_URL=http://localhost:3000
# Sandbox settings
SANDBOX_URL=http://localhost:3000
# =============================================================================
# Development Settings
# =============================================================================
# Environment mode
NODE_ENV=development
FLASK_ENV=development
# Debug settings
DEBUG=true
LOG_LEVEL=INFO
# =============================================================================
# Security
# =============================================================================
# Secret key for sessions (generate a secure random string)
SECRET_KEY=your_secret_key_here
# =============================================================================
# Instructions for Setup
# =============================================================================
#
# 1. Copy this file to .env
# 2. Fill in your actual API keys and values
# 3. Never commit .env to version control
# 4. Required variables for basic functionality:
# - OPENROUTER_API_KEY (OpenRouter API key)
# - OPENROUTER_BASE_URL (OpenRouter base URL)
# - GEMINI_API_KEY
# - ANCHOR_API_KEY
# - GITHUB_CLIENT_ID
# - GITHUB_CLIENT_SECRET
# - GITHUB_TOKEN (for GitHub operations)
#
# 5. Optional variables for enhanced features:
# - AZURE_AI_SEARCH_ENDPOINT & AZUREAI_SEARCH_API_KEY (for memory features)
# - E2B_API_KEY (for E2B sandbox)
#
# 6. GitHub OAuth Setup:
# - Go to GitHub Settings > Developer settings > OAuth Apps
# - Create new OAuth App
# - Homepage URL: http://localhost:3000
# - Authorization callback URL: http://localhost:8000/auth/github/callback
# - Copy Client ID and Client Secret to .env
#
# 7. Anchor Browser Setup:
# - Sign up at https://anchor.browser.com
# - Get your API key
# - Add to ANCHOR_API_KEY
#
# 8. OpenRouter Setup:
# - Sign up at https://openrouter.ai
# - Get your API key
# - Add to OPENROUTER_API_KEY
# - Set OPENROUTER_BASE_URL to https://openrouter.ai/api/v1
# - Model used: o3-mini
#
# 9. Google Gemini Setup:
# - Get API key from https://makersuite.google.com/app/apikey
# - Add to GEMINI_API_KEY