# ============================================================================ # Loupe — environment template # Copy to `.env` and fill in only what you plan to use. # Loupe is model-agnostic: any one provider below is enough to run. # ============================================================================ # --- PDF parser (MinerU) ----------------------------------------------------- # MorphMind hosts a managed MinerU at the URL we ship in production. For # self-hosting, run MinerU yourself (https://github.com/opendatalab/MinerU) # and point this at your instance. MINERU_API_URL= # --- Cloud LLM providers ----------------------------------------------------- # Fill in the keys for the providers you actually want to use. # Each is independent — leave blank to disable. ANTHROPIC_API_KEY= OPENAI_API_KEY= DEEPSEEK_API_KEY= MOONSHOT_API_KEY= MINIMAX_API_KEY= # --- Local LLM providers (privacy-by-design path) --------------------------- # Run Loupe end-to-end on your own machine. Paper text never leaves the host. # Recommended for unpublished manuscripts under embargo. # Ollama (https://ollama.com). Pull a model first, e.g.: # ollama pull qwen2.5:32b # Then list it under OLLAMA_MODELS so the picker surfaces it. OLLAMA_BASE_URL= OLLAMA_MODELS= # Generic OpenAI-compatible local endpoint — for vLLM, LM Studio, llama.cpp's # server, Together, Groq, Fireworks, OpenRouter, or your private gateway. # Address picked models as `local:` from the frontend. LOCAL_OPENAI_BASE_URL= LOCAL_OPENAI_API_KEY= LOCAL_OPENAI_MODELS= # --- Defaults ---------------------------------------------------------------- # The active text model the pipeline calls. Change to any of: # claude-opus-4-7, claude-sonnet-4-6, gpt-4.1, deepseek-v3, kimi-k2.5, # minimax-m2.7, ollama:, local: # Restart the backend after changing. DEFAULT_MODEL=claude-sonnet-4-6 DATA_DIR=./data