-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
60 lines (46 loc) · 2.29 KB
/
Copy path.env.example
File metadata and controls
60 lines (46 loc) · 2.29 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
# Example environment variables for the MAGI system
# Copy this file to .env and fill in your API keys
# Recommended - Your name and the AI's name - identifies you both in primary commands and initial thought processes
YOUR_NAME=User
AI_NAME=Magi
# Recommended - OpenRouter API key
OPENROUTER_API_KEY=your_openrouter_api_key_here
# Recommended - OpenAI API key
OPENAI_API_KEY=your_openai_api_key_here
# Optional - Anthropic API key for Claude models
# ANTHROPIC_API_KEY=your_anthropic_api_key_here
# Optional - Google API key for Gemini models
# GOOGLE_API_KEY=your_google_api_key_here
# Optional - ElevenLabs API key for TTS voices
# ELEVENLABS_API_KEY=your_elevenlabs_api_key_here
# Optional - X.AI API key for Grok models
# XAI_API_KEY=your_xai_api_key_here
# Optional - DeepSeek API key for DeepSeek models
# DEEPSEEK_API_KEY=your_deepseek_api_key_here
# Optional - Brave API key for web search
# BRAVE_API_KEY=your_brave_api_key_here
# Optional - Telegram integration
# TELEGRAM_BOT_TOKEN=your_telegram_bot_token_here
# TELEGRAM_ALLOWED_CHAT_IDS=123456789,987654321
# Optional - Which directories on your machine should Magi have access to? Separate with a comma.
# Currently only directories within the parent directory of magi can be accessed.
# It is HIGHLY recommended that you enable access to the magi directory, as managing its own code is a core feature of MAGI
# PROJECT_PARENT_PATH=/home/yourusername/code
# PROJECT_REPOSITORIES=magi,your-project
# Database connection details - used by all services
DATABASE_HOST=host.docker.internal
DATABASE_PORT=5432
DATABASE_USER=postgres
DATABASE_PASSWORD=postgres
DATABASE_NAME=postgres
# What level of code changes is Magi allowed to automatically merge without human review?
# Choose: none | low_risk | moderate_risk | all
# The setting is for new projects you create with Magi
AUTO_MERGE_MAGI_PROJECTS=all
# This setting is for external projects in your PROJECT_REPOSITORIES list
AUTO_MERGE_EXISTING_PROJECTS=low_risk
# Optional - Home directory file/folder mappings
# Specify which local files/folders in your home dir should be synced to magi's home dir in containers
# Example: .gitconfig,.llm.env,.config/some-tool
# Note: You may violate Terms of Service of coding CLI applications by linking their auth files (e.g. .claude,.claude.json,.codex,.gemini)
# HOME_LINKS=