-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathexample.env
More file actions
100 lines (82 loc) · 3.2 KB
/
Copy pathexample.env
File metadata and controls
100 lines (82 loc) · 3.2 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
# =============================================
# CORE PROVIDER SETTINGS (REQUIRED)
# =============================================
# Choose your default LLM provider
DEFAULT_PROVIDER=groq # Options: groq, anthropic, openai, google
# API Keys for LLM Providers (At least ONE matching DEFAULT_PROVIDER is REQUIRED)
GROQ_API_KEY=
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
GOOGLE_API_KEY=
# Default Model Name (Optional - uses provider default if unset)
# Example: For Groq, you might use llama3-70b-8192
# DEFAULT_MODEL=
# =============================================
# MONITORING (OPTIONAL)
# =============================================
# LangSmith Settings (for monitoring and debugging)
# LANGSMITH_TRACING=true
# LANGSMITH_ENDPOINT="https://api.smith.langchain.com"
# LANGSMITH_API_KEY=your_langsmith_api_key
# LANGSMITH_PROJECT=AgentConnect
# =============================================
# ADVANCED FEATURES (OPTIONAL)
# =============================================
# For Telegram Agent Functionality
# TELEGRAM_BOT_TOKEN=
# For Web Search Capabilities (e.g., Research Agent)
# TAVILY_API_KEY=
# =============================================
# PAYMENT CAPABILITIES (OPTIONAL)
# =============================================
# Coinbase Developer Platform (CDP) API Key for Agent Payments
# Required only if you enable payment features
# CDP_API_KEY_NAME=your_cdp_api_key_name
# CDP_API_KEY_PRIVATE_KEY=your_cdp_api_key_private_key
# =============================================
# API SERVER SETTINGS (OPTIONAL)
# =============================================
# API_HOST=127.0.0.1
# API_PORT=8000
# DEBUG=True
# ALLOWED_ORIGINS=http://localhost:5173 # Frontend URL for CORS
# =============================================
# RATE LIMITING SETTINGS (OPTIONAL)
# =============================================
# LLM Token Limits (applied per agent)
# MAX_TOKENS_PER_MINUTE=5500
# MAX_TOKENS_PER_HOUR=100000
# WebSocket Rate Limiting (per connection)
# WS_RATE_LIMIT_TIMES=30
# WS_RATE_LIMIT_SECONDS=60
# API Endpoint Rate Limiting (per IP)
# API_RATE_LIMIT_TIMES=100
# API_RATE_LIMIT_SECONDS=60
# =============================================
# SESSION MANAGEMENT (OPTIONAL)
# =============================================
# Session Timeout (seconds)
# SESSION_TIMEOUT=3600
# WebSocket Timeout (seconds)
# WEBSOCKET_TIMEOUT=300
# Maximum messages allowed per session
# MAX_MESSAGES_PER_SESSION=1000
# Maximum inactive time before session closure (seconds)
# MAX_INACTIVE_TIME=1800
# Maximum total duration of a session (seconds)
# MAX_SESSION_DURATION=86400
# Maximum concurrent sessions allowed per user
# MAX_SESSIONS_PER_USER=5
# =============================================
# AUTHENTICATION (OPTIONAL)
# =============================================
# A random secret key will be generated if not provided
# For persistent sessions across restarts, set a fixed key
# AUTH_SECRET_KEY=your_very_secure_random_secret_key_here
# ACCESS_TOKEN_EXPIRE_MINUTES=30
# REFRESH_TOKEN_EXPIRE_DAYS=7
# =============================================
# LOGGING (OPTIONAL)
# =============================================
# LOG_LEVEL=INFO # Options: DEBUG, INFO, WARNING, ERROR, CRITICAL
# LOG_FORMAT='%(asctime)s - %(name)s - %(levelname)s - %(message)s' # Example format