# Praxis — Environment Configuration (v0.2) # Copy to `.env` and fill in real values. # Voice-service keys are in .ciagent/.env.secrets (not this file). # Proxmox deployment vars are sourced from ~/coreci/.ciagent/.env.secrets (D-026). # ─── Voice services ────────────────────────────────────────────────────────── # Deepgram Nova-3 ASR (D-013). Get from https://console.deepgram.com/ DEEPGRAM_API_KEY= # Cartesia Sonic TTS (D-014, primary). Get from https://cartesia.ai/ CARTESIA_API_KEY= # Ollama Cloud direct API (D-020). Get from https://ollama.com/ → Settings → API Keys OLLAMA_API_KEY= # ─── TTS selection (D-014) ──────────────────────────────────────────────────── # cartesia (default, cloud, ~120ms first-audio) | piper (self-hosted, ~80ms, R4 mitigation) PRAXIS_TTS=cartesia # ─── Ollama Cloud endpoints (D-020) ─────────────────────────────────────────── # Direct API mode (no local daemon). Pipecat's OLLamaLLMService uses the OpenAI-compatible path. OLLAMA_BASE_URL=https://ollama.com/v1 OLLAMA_CHAT_URL=https://ollama.com/api/chat # Role-play fast path (256K ctx, low-latency) OLLAMA_ROLEPLAY_MODEL=gemma4:cloud # Debrief + branch classifier (1M ctx, no-think mode for latency) OLLAMA_DEBRIEF_MODEL=deepseek-v4-flash:cloud # ─── Server ─────────────────────────────────────────────────────────────────── PRAXIS_HOST=0.0.0.0 PRAXIS_PORT=8789 # In Docker: /app/data/praxis.db (volume-mounted). Local dev: ./praxis.db PRAXIS_DB_PATH=./praxis.db PRAXIS_SCENARIOS_DIR=./scenarios # Client dist directory (for FastAPI StaticFiles serving, D-023) PRAXIS_CLIENT_DIST=client/dist # ─── Deepgram live options (D-013) ──────────────────────────────────────────── DEEPGRAM_MODEL=nova-3 DEEPGRAM_LANGUAGE=en DEEPGRAM_REGION=na # ─── Cartesia voice (D-006 — one voice for role-play + mentor) ──────────────── CARTESIA_VOICE_ID=a3536a36-1d18-4efb-a95a-7c44b7b5e384 # ─── Proxmox LXC deployment (v0.2) ──────────────────────────────────────────── # These are sourced from ~/coreci/.ciagent/.env.secrets (D-026 — same cluster). # Listed here for documentation; do NOT duplicate in .ciagent/.env.secrets. # PROXMOX_API_URL=https://proxmox:8006/api2/json # PROXMOX_API_TOKEN=root@pam!praxis-deploy=SECRET # PROXMOX_NODE=ns1003845 # PROXMOX_STORAGE=local # PROXMOX_TEMPLATE_VOLID=local:vztmpl/debian-12-standard_12.2-1_amd64.tar.zst # PROXMOX_LXC_VMID=auto # PROXMOX_TLS_SKIP_VERIFY=true # PROXMOX_MEMORY_MB=4096 # ─── CI/Gitea (operational — not voice) ─────────────────────────────────────── # GITEA_TOKEN is provisioned in .ciagent/.env.secrets (not this file). # PRAXIS_VERSION (git ref to deploy, default: main)