# Copy to .env. Sample mode stays on localhost and uses fictional data. # Every mode requires a server-only CopilotKit Intelligence project key. WORKSPACE_MODE=sample AGENT_BACKEND=sample PORT=8787 HOST=127.0.0.1 PUBLIC_API_URL=http://localhost:8787 ALLOWED_ORIGINS=http://localhost:8081,http://127.0.0.1:8081 DATA_DIR=.openmuse TASK_WORKER_ENABLED=true # General delegated work: select AGENT_BACKEND=model and a provider/model. # MODEL=openai/your-model-id # OPENAI_API_KEY= # ANTHROPIC_API_KEY= # GOOGLE_API_KEY= # Optional OpenAI-compatible Responses API endpoint: # OPENAI_BASE_URL= # Live Google workspace: WORKSPACE_MODE=live, AGENT_BACKEND=model. # OPENMUSE_ACCESS_KEY= # random secret, at least 24 characters # TOKEN_ENCRYPTION_KEY= # 32 random bytes encoded as base64 # GOOGLE_CLIENT_ID= # GOOGLE_CLIENT_SECRET= # OAuth callback is PUBLIC_API_URL + /api/google/callback # Optional separate task worker; all processes share DATA_DIR for PDF files. # DATABASE_URL=postgresql://... # Set TASK_WORKER_ENABLED=false on the API when using pnpm dev:worker. # Browser worker (separate from the task worker): # BROWSER_WORKER_URL=http://127.0.0.1:8790 # WORKER_TOKEN= # same random 32+ character secret in API and browser worker WORKER_DATA_DIR=.openmuse/browser-profiles WORKER_HOST=127.0.0.1 # An optional external raw AG-UI agent replaces conversational routing only. # AGENT_BACKEND=agui # AGENT_URL=https://your-agent.example/run # AGENT_TOKEN= # OpenBot's Intelligence runtime is not this raw AG-UI URL. See its adapter docs. # CopilotKit Intelligence is required in every mode. Create or select a project # with the commands below, then keep the generated key server-only. # npx copilotkit@latest login # npx copilotkit@latest project select CPK_INTELLIGENCE_API_KEY= # Optional private Docker Linux computer (separate from the browser). # Build first: docker build -t openmuse-computer:local apps/computer # Docker must be reachable from the API and any separate task worker. COMPUTER_ENABLED=false COMPUTER_IMAGE=openmuse-computer:local # Stable deployment name shared by API and worker; defaults to a hash of PUBLIC_API_URL. # COMPUTER_DEPLOYMENT_ID=my-openmuse # Optional scoped Docker engine, e.g. DOCKER_CONTEXT=colima-openmuse