-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
193 lines (139 loc) · 5.28 KB
/
env.example
File metadata and controls
193 lines (139 loc) · 5.28 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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# Eliza 3D Agent Framework - Environment Configuration
# Copy this file to .env and fill in your values
# ===== REQUIRED =====
# OpenAI API Key (required for AI responses)
OPENAI_API_KEY=your_openai_api_key_here
# ===== HYPERFY AUTHENTICATION =====
# Optional: Manual JWT token override (leave empty for auto-generation)
HYPERFY_AUTH_TOKEN=
# Hyperfy world WebSocket URL
HYPERFY_WORLD_URL=wss://chill.hyperfy.xyz/ws
# ===== AGENT CONFIGURATION =====
# Agent name (appears in Hyperfy)
AGENT_NAME=Eliza
# Enable debug mode for detailed logging
DEBUG_MODE=false
# ===== ADVANCED SETTINGS =====
# JWT signing secret (for token generation)
HYPERFY_JWT_SECRET=hyperfy-default-secret
# Token expiry time in hours (default: 168 = 7 days)
HYPERFY_TOKEN_EXPIRY_HOURS=168
# File to store generated tokens
HYPERFY_TOKEN_FILE=hyperfy_token.json
# Connection settings
HYPERFY_RECONNECT_ATTEMPTS=5
HYPERFY_HEARTBEAT_INTERVAL=30
# ===== OPTIONAL FEATURES =====
# Enable/disable voice recognition and synthesis
VOICE_ENABLED=true
# Enable/disable LangChain AI features
LANGCHAIN_ENABLED=true
# Enable/disable physics simulation
PHYSICS_ENABLED=true
# =============================================================================
# AI PROVIDER API KEYS
# =============================================================================
# Anthropic API Key (for Claude models)
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# Google API Key (for speech recognition and other Google services)
GOOGLE_API_KEY=your_google_api_key_here
# Azure Speech Services (for voice capabilities)
AZURE_SPEECH_KEY=your_azure_speech_key_here
AZURE_SPEECH_REGION=your_azure_region_here
# =============================================================================
# HYPERFY WORLD CONNECTION
# =============================================================================
# Agent Name in Hyperfy
HYPERFY_AGENT_NAME=MyAgent
# =============================================================================
# VOICE CONFIGURATION
# =============================================================================
# Enable voice capabilities (true/false)
ENABLE_VOICE=false
# Voice recognition engine (google, sphinx, mock)
VOICE_RECOGNITION_ENGINE=mock
# Text-to-speech engine (pyttsx3, azure, google, openai, mock)
VOICE_TTS_ENGINE=mock
# Voice confidence threshold (0.0-1.0)
VOICE_CONFIDENCE_THRESHOLD=0.7
# Voice language code
VOICE_LANGUAGE=en-US
# =============================================================================
# AI CONFIGURATION
# =============================================================================
# Primary AI provider (openai, anthropic, langchain, mock)
AI_PROVIDER=mock
# Fallback AI provider (optional)
AI_FALLBACK_PROVIDER=
# AI temperature (0.0-2.0)
AI_TEMPERATURE=0.7
# Maximum tokens per AI response
AI_MAX_TOKENS=150
# Enable LangChain integration (true/false)
USE_LANGCHAIN=false
# =============================================================================
# PHYSICS AND WORLD SETTINGS
# =============================================================================
# Enable physics simulation (true/false)
ENABLE_PHYSICS=false
# Physics gravity
PHYSICS_GRAVITY=-9.81
# Default movement speed
MOVEMENT_SPEED=1.0
# =============================================================================
# LOGGING CONFIGURATION
# =============================================================================
# Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
LOG_LEVEL=INFO
# Log to file (true/false)
LOG_TO_FILE=true
# Log file path
LOG_FILE=eliza_agent.log
# =============================================================================
# AGENT BEHAVIOR
# =============================================================================
# Agent unique identifier
AGENT_ID=my_agent_1
# Debug mode (true/false)
DEBUG=false
# Enable proactive behavior (true/false)
ENABLE_PROACTIVE_BEHAVIOR=true
# Agent update frequency (Hz)
UPDATE_FREQUENCY=60.0
# =============================================================================
# CHARACTER PERSONALITY
# =============================================================================
# Character name
CHARACTER_NAME=MyAgent
# Character personality traits
CHARACTER_PERSONALITY=friendly, helpful, curious
# Greeting cooldown in seconds
GREETING_COOLDOWN=300.0
# =============================================================================
# DEVELOPMENT/TESTING SETTINGS
# =============================================================================
# Dry run mode - simulates connections without actually connecting (true/false)
DRY_RUN=false
# Enable emote system (true/false)
ENABLE_EMOTES=true
# =============================================================================
# EXAMPLE CONFIGURATIONS
# =============================================================================
# For development with mocked services:
# AI_PROVIDER=mock
# VOICE_RECOGNITION_ENGINE=mock
# VOICE_TTS_ENGINE=mock
# ENABLE_PHYSICS=false
# DRY_RUN=true
# For production with OpenAI:
# AI_PROVIDER=openai
# OPENAI_API_KEY=sk-your-actual-openai-key
# VOICE_RECOGNITION_ENGINE=google
# VOICE_TTS_ENGINE=openai
# ENABLE_PHYSICS=true
# DRY_RUN=false
# For Alice-like character:
# CHARACTER_NAME=Alice
# CHARACTER_PERSONALITY=curious, whimsical, philosophical, wonder-filled
# AI_PROVIDER=anthropic
# ANTHROPIC_API_KEY=your-anthropic-key