|
| 1 | +# NimbleBrain Platform — Environment Variables |
| 2 | +# Copy this file to .env and fill in your values. |
| 3 | +# .env is gitignored and never committed. |
| 4 | + |
| 5 | +# ── Required ────────────────────────────────────────────────────────────────── |
| 6 | + |
| 7 | +# At least one LLM provider key is required. |
| 8 | +ANTHROPIC_API_KEY= |
| 9 | +OPENAI_API_KEY= |
| 10 | +GEMINI_API_KEY= |
| 11 | + |
| 12 | +# ── Telemetry (optional) ─────────────────────────────────────────────────────── |
| 13 | + |
| 14 | +# PostHog write-only API key. If unset, telemetry is disabled. |
| 15 | +# Server-side analytics. |
| 16 | +POSTHOG_API_KEY= |
| 17 | + |
| 18 | +# Disable telemetry entirely (overrides POSTHOG_API_KEY). |
| 19 | +# Set to "1" to opt out. |
| 20 | +# NB_TELEMETRY_DISABLED=1 |
| 21 | + |
| 22 | +# Respects the community standard https://consoledonottrack.com |
| 23 | +# DO_NOT_TRACK=1 |
| 24 | + |
| 25 | +# ── Server (optional) ───────────────────────────────────────────────────────── |
| 26 | + |
| 27 | +# HTTP port for the API server. Default: 3000 |
| 28 | +# PORT=3000 |
| 29 | + |
| 30 | +# Host URL used for generating absolute URLs (e.g. MCP server callbacks). |
| 31 | +# Default: http://localhost:${PORT} |
| 32 | +# NB_HOST_URL=https://your-domain.com |
| 33 | + |
| 34 | +# Comma-separated list of allowed CORS origins. Default: * (all origins) |
| 35 | +# ALLOWED_ORIGINS=https://your-domain.com |
| 36 | + |
| 37 | +# ── Paths (optional) ────────────────────────────────────────────────────────── |
| 38 | + |
| 39 | +# Working directory for conversations, skills, and bundle state. |
| 40 | +# Default: .nimblebrain/ (project-local) or ~/nimblebrain/ (global serve) |
| 41 | +# All other paths (config, skills, core/) are derived from this. |
| 42 | +# NB_WORK_DIR=/path/to/workdir |
| 43 | + |
| 44 | +# ── Home Bundle (optional) ──────────────────────────────────────────────────── |
| 45 | + |
| 46 | +# Display name shown in the Home briefing. |
| 47 | +# NB_HOME_USERNAME=Mat |
| 48 | + |
| 49 | +# IANA timezone for the Home briefing schedule (e.g. America/Honolulu). |
| 50 | +# NB_HOME_TIMEZONE=America/New_York |
| 51 | + |
| 52 | +# Override the model used for Home briefings. |
| 53 | +# NB_HOME_MODEL=claude-sonnet-4-5 |
| 54 | + |
| 55 | +# ── mpak (optional) ─────────────────────────────────────────────────────────── |
| 56 | + |
| 57 | +# mpak workspace directory. Default: ~/.mpak |
| 58 | +# MPAK_WORKSPACE=/path/to/mpak-workspace |
| 59 | + |
| 60 | +# ── MCP Session Limits (optional) ───────────────────────────────────────────── |
| 61 | + |
| 62 | +# Maximum concurrent MCP sessions. Default: 50 |
| 63 | +# MCP_MAX_SESSIONS=50 |
| 64 | + |
| 65 | +# MCP session TTL in milliseconds. Default: 3600000 (1 hour) |
| 66 | +# MCP_SESSION_TTL_MS=3600000 |
| 67 | + |
| 68 | +# ── Web Client (Vite, optional) ─────────────────────────────────────────────── |
| 69 | + |
| 70 | +# API base URL for the web client in development. |
| 71 | +# Default: /v1 (proxied to :3000 by Vite dev server) |
| 72 | +# VITE_API_BASE=/v1 |
| 73 | + |
| 74 | +# PostHog write-only API key for web client analytics. If unset, disabled. |
| 75 | +# VITE_POSTHOG_KEY= |
0 commit comments