# ============================================
# Crucix Intelligence Engine — Configuration
# ============================================
# Copy this file to .env and fill in your keys.
# Keys are optional — sources without keys degrade gracefully.

# === OSINT Source API Keys ===
FRED_API_KEY=              # Federal Reserve Economic Data (free: fred.stlouisfed.org/docs/api)
FIRMS_MAP_KEY=             # NASA FIRMS fire data (free: firms.modaps.eosdis.nasa.gov/api)
EIA_API_KEY=               # Energy Information Administration (free: api.eia.gov/register)
AISSTREAM_API_KEY=         # Maritime AIS data (aisstream.io)
ACLED_EMAIL=               # Armed Conflict Location & Event Data (acleddata.com/user/register)
ACLED_PASSWORD=            # OAuth2 password grant (API keys deprecated Sept 2025)

# === Server Configuration ===
PORT=3117                          # Dashboard server port
REFRESH_INTERVAL_MINUTES=15        # Auto-refresh interval (minutes)

# === LLM Layer (optional) ===
# Enables AI-enhanced trade ideas and breaking news Telegram alerts.
# Provider options: anthropic | openai | gemini | codex
LLM_PROVIDER=
LLM_API_KEY=               # Not needed for codex (uses ~/.codex/auth.json)
LLM_MODEL=                 # Optional override. Each provider has a sensible default (claude-sonnet-4-6 / gpt-5.4 / gemini-3.1-pro / gpt-5.3-codex)

# === Telegram Alerts (optional, requires LLM) ===
# Create a bot via @BotFather, get chat ID via @userinfobot
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=
