-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathexample.env
More file actions
62 lines (55 loc) · 4.89 KB
/
example.env
File metadata and controls
62 lines (55 loc) · 4.89 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
# Edge Agents Environment Variables
# Organized by function usage
# ===== Required Environment Variables (env_test.ts) =====
SUPABASE_URL=https://your-project-id.supabase.co # Used by all functions for Supabase connection
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key # Used by all functions for admin access to Supabase
SUPABASE_JWT_SECRET=your-jwt-secret # Used for JWT token generation and validation
SUPABASE_PROJECT_ID=your-project-id # Used by edge_deployment for project identification
MCP_SECRET_KEY=your-mcp-secret-key # Used by mcp-server for authentication
# ===== Agent Functions =====
# agent_alpha, agent_beta, agent_stream, agent_websocket, agentic_inbox_agent
OPENROUTER_API_KEY=your-openrouter-api-key # Used by all agent functions for LLM API access
OPENROUTER_MODEL=openai/o3-mini-high # Used by all agent functions to specify LLM model
AGENT_NAME=agent-name # Used to identify the agent in logs and messages
# ===== Management Functions =====
# agent-manager, edge_deployment, meta-function-generator
RECIPIENT=agent-manager # Used by agent-manager for message routing
POSTGRES_PASSWORD=your-secure-postgres-password # Used for database authentication (NO DEFAULT)
MESSAGE=Hello from message-sender! # Used by agent-manager/send-message.ts for testing
VITE_SUPABASE_PROJECT_ID=your-project-id # Used by edge_deployment for project identification
SUPABASE_SERVICE_KEY=your-service-key # Alternative name for service role key
SB_URL=https://your-project-id.supabase.co # Alternative name for Supabase URL
SB_SERVICE_KEY=your-service-key # Alternative name for service key
SB_ACCESS_KEY=your-access-key # Used by meta-function-generator
SB_ACCESS_TOKEN=your-access-token # Used by test-function
# ===== Communication Functions =====
# resend, send-contact-notification
RESEND_API_KEY=your-resend-api-key # Used by resend and send-contact-notification
DEFAULT_RECIPIENT=user@example.com # Used by resend for default email recipient
NOTIFICATION_FROM_EMAIL=notifications@agentics.org # Used by resend for notification sender
FEEDBACK_FROM_EMAIL=feedback@agentics.org # Used by resend for feedback sender
FEEDBACK_REPLY_TO_DOMAIN=agentics.org # Used by resend for reply-to domain
FROM_EMAIL=contact@example.com # Used by send-contact-notification
# ===== Integration Functions =====
# github-api, mcp-server, stripe_check-subscription-status, stripe_create-portal-session
GITHUB_TOKEN=your-github-token # Used by github-api for GitHub API access
GITHUB_ORG=your-github-org # Used by github-api for organization access
STRIPE_SECRET_KEY=sk_test_your_stripe_secret_key # Used by Stripe functions for API access
DEFAULT_RETURN_URL=https://agentics.org/dashboard/membership # Used by stripe_create-portal-session
DEFAULT_TEST_EMAIL=test@example.com # Used by stripe_create-portal-session
DEFAULT_TEST_NAME=Test Customer # Used by stripe_create-portal-session
# ===== Utility Functions =====
# _shared/cors.ts, env_test, test-function
CORS_ORIGIN=https://agentics.org # Used by _shared/cors.ts for CORS headers
VARIABLE_NAME=test-value # Example variable for testing
# ===== Alternative Variable Names =====
API_URL=https://your-project-id.supabase.co # Alternative for SUPABASE_URL
SERVICE_KEY=your-service-key # Alternative for SUPABASE_SERVICE_KEY
USER_PASSWORD=your-secure-user-password # Used for authentication examples (NO DEFAULT)
SUPABASE_ANON_KEY=your-anon-key # Used for client-side Supabase access
SUPABASE_ACCESS_TOKEN=your-access-token # Used for authenticated Supabase access
VITE_SUPABASE_URL=https://your-project-id.supabase.co # Client-side version of SUPABASE_URL
VITE_SUPABASE_ANON_KEY=your-anon-key # Client-side version of SUPABASE_ANON_KEY
VITE_SUPABASE_SERVICE_ROLE_KEY=your-service-role-key # Client-side version of SUPABASE_SERVICE_ROLE_KEY
VITE_OPENROUTER_API_KEY=your-openrouter-api-key # Client-side version of OPENROUTER_API_KEY
VITE_OPENROUTER_MODEL=openai/o3-mini-high # Client-side version of OPENROUTER_MODEL