OPENAI_API_KEY (REQUIRED)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━The OpenAI API provides Whisper for automatictranscription of YouTube videos and audio files.Essential for /ingest to work with videos.Get your key at:https://platform.openai.com/api-keysEnter your OpenAI API key:
VOYAGE_API_KEY (RECOMMENDED)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━Voyage AI provides advanced semantic search.Allows Conclave and agents to find evidencein your ingested materials.Get your key at:https://dash.voyageai.com/api-keysEnter your Voyage AI API key (or press Enter to skip):
ANTHROPIC_API_KEY (OPTIONAL)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━NOT needed if you use Claude Code with Max/Pro.Only required for standalone scripts outsideClaude Code.Get your key at:https://console.anthropic.com/settings/keysEnter your Anthropic API key (or press Enter to skip):
GOOGLE_CLIENT_ID + GOOGLE_CLIENT_SECRET (OPTIONAL)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━For importing content directly from Google Drive(PDFs, documents, spreadsheets).Configure at:https://console.cloud.google.com/apis/credentialsEnter your Google Client ID (or press Enter to skip):
# Mega Brain Configuration# Generated: 2026-03-06T10:30:00Z# OpenAI API (REQUIRED)OPENAI_API_KEY=sk-...# Voyage AI API (RECOMMENDED)VOYAGE_API_KEY=pa-...# Anthropic API (OPTIONAL)# ANTHROPIC_API_KEY=# Google Drive (OPTIONAL)# GOOGLE_CLIENT_ID=# GOOGLE_CLIENT_SECRET=
If .env already exists, setup will ask before overwriting:
If optional API keys fail validation, setup continues:
⚠️ Voyage AI connection failed: Invalid API keyYou can continue without Voyage AI, but semanticsearch will not be available.Reconfigure later by running /setup again.Continue? [Y/n]
If user cancels mid-setup, partial progress is saved:
⚠️ Setup cancelled by userPartial configuration saved to .env: ✓ OPENAI_API_KEY ✗ VOYAGE_API_KEY (not configured)Run /setup again to complete configuration.
mega-brain/├── .env # Your configuration (gitignored)├── .env.example # Template with descriptions└── bin/templates/ └── env.example # Used by setup wizard