# ============================================================ # Patter SDK — Environment Variables (local mode) # ============================================================ # Copy this file: cp .env.example .env # Then fill in your keys below. # === Telephony Provider (required — pick one) === # Twilio TWILIO_ACCOUNT_SID=ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx TWILIO_AUTH_TOKEN=your-twilio-auth-token TWILIO_PHONE_NUMBER=+1xxxxxxxxxx # Telnyx (alternative to Twilio — full GA support for DTMF, transfer, recording) # TELNYX_API_KEY=KEY... # TELNYX_CONNECTION_ID=... # TELNYX_PHONE_NUMBER=+1xxxxxxxxxx # === Voice Provider === # OpenAI Realtime (default — all-in-one STT + LLM + TTS) OPENAI_API_KEY=sk-... # Pipeline mode (use instead of OpenAI Realtime for custom STT/TTS) # DEEPGRAM_API_KEY=your-deepgram-key # ELEVENLABS_API_KEY=your-elevenlabs-key # === Custom LLM (optional — for pipeline mode with on_message) === # ANTHROPIC_API_KEY=sk-ant-... # === Server === # WEBHOOK_URL=your-domain.com # omit to auto-tunnel via Cloudflare # PORT=8000