# ============================================================================ # Authentication (Optional - Leave empty to disable auth) # ============================================================================ # Login email (required to enable auth) CLAUDE_OS_EMAIL=admin@example.com # Option 1: Plain password (development only - auto-hashed) CLAUDE_OS_PASSWORD=your_secure_password_here # Option 2: Pre-hashed password (production - recommended) # Generate: python3 -c "from passlib.context import CryptContext; print(CryptContext(schemes=['bcrypt']).hash('your_password'))" # CLAUDE_OS_PASSWORD_HASH=$2b$12$xyz... # JWT secret key (auto-generated if not set) # Generate: python3 -c "import secrets; print(secrets.token_urlsafe(32))" # CLAUDE_OS_SECRET_KEY=your-super-secret-key-min-32-chars # ============================================================================ # Ollama Configuration # ============================================================================ OLLAMA_HOST=http://localhost:11434 OLLAMA_MODEL=llama3.1:latest OLLAMA_EMBED_MODEL=nomic-embed-text # SQLite Database SQLITE_DB_PATH=data/claude-os.db # MCP Server Configuration MCP_SERVER_HOST=0.0.0.0 MCP_SERVER_PORT=8051 # RAG Configuration CHUNK_SIZE=1536 CHUNK_OVERLAP=256 TOP_K_RETRIEVAL=20 RERANK_TOP_N=10 # KB Type Configuration # Default type for new knowledge bases: generic, code, documentation, agent-os DEFAULT_KB_TYPE=generic