# ── Navi Code — local terminal-first configuration example ───────────────────── # Copy this file to .env and adjust values for your local setup. # Navi Code runs without auth; every request is treated as the local admin user. NAVI_AUTH_ENABLED=false # Default profile for terminal coding. Must match a profile directory under navi/profiles/. NAVI_DEFAULT_PROFILE_ID=navi_code # Global persona file for Navi Code. NAVI_PERSONA_FILE=persona_navi_code.txt # ── LLM ───────────────────────────────────────────────────────────────────────── OLLAMA_HOST=http://localhost:11434 OLLAMA_DEFAULT_MODEL=gemma4:26b-a4b-it-q4_K_M OLLAMA_NUM_CTX=8192 OLLAMA_THINK=true # ── Database ──────────────────────────────────────────────────────────────────── # PostgreSQL 15+ with pgvector extension. DATABASE_URL=postgresql://navi:navipass@localhost:5432/navidb # ── Local sandboxing ──────────────────────────────────────────────────────────── # "*" means unrestricted access. Safe only on a single-user local machine. FS_ALLOWED_PATHS=* TERMINAL_ALLOWED_COMMANDS=* # ── Public URL (not critical in terminal mode; used only if any tool builds links) PUBLIC_URL=http://localhost:8000 # ── Files / storage ───────────────────────────────────────────────────────────── SESSION_FILES_DIR=session_files TOOLS_DIR=tools CONTEXT_PROVIDERS_DIR=context_providers # ── Logging ───────────────────────────────────────────────────────────────────── LOG_LEVEL=INFO