# AI provider used by docs API routes (chat, samples). Read by lib/ai/provider.ts. # OPENAI_BASE_URL is optional; leave it unset to hit the default OpenAI API, # or point it at any OpenAI-compatible gateway. OPENAI_API_KEY=sk-... OPENAI_BASE_URL= # Assistant Cloud project base URL. Required when running the artifacts/docs # runtime samples that call the cloud (apps/docs/contexts/*RuntimeProvider.tsx). # Get it from the assistant-cloud dashboard -> your project -> Settings -> Frontend API URL. NEXT_PUBLIC_ASSISTANT_BASE_URL= # Public site URL used for Open Graph metadataBase. Falls back to # https://www.assistant-ui.com in production and http://localhost:3000 in dev. NEXT_PUBLIC_APP_URL= # Optional. PostHog project key. When unset, analytics are disabled. NEXT_PUBLIC_POSTHOG_API_KEY= # Optional. Personal access token used to raise GitHub API rate limits when # fetching repo stats, releases, contributors, and stargazers (lib/github.ts). GITHUB_TOKEN= # Optional. AUI-X Prism tracing key (lib/prism-server.ts). Leave unset to # disable Prism tracing. AUIX_PRISM_API_KEY= # Xulux coding agent — Blaxel cloud sandbox (app/api/xulux). # Required to provision sandboxes for scaffolding. # Optional. Set to "1" to enable the AI playground (XuluxApp / Xulux chat routes). # When unset, /playground defaults to the non-AI UI Builder and all /api/xulux routes return 404. NEXT_PUBLIC_AUI_AI_PLAYGROUND_ENABLED= BL_WORKSPACE= BL_API_KEY= # Optional sandbox overrides: BL_SANDBOX_TEMPLATE= BL_REGION= # Xulux agent usage budget (/api/xulux/chat only). # Enabled by default: $1/chat, $2/day, 8 turns/chat, 10 chats/day. # Uses Upstash Redis when UPSTASH_REDIS_REST_URL is set; otherwise in-memory (single instance). # Set to "0" to disable gating entirely. # XULUX_USAGE_BUDGET_ENABLED=0 # Optional. Force in-memory store even when Upstash is configured (local/tests). # XULUX_USAGE_BUDGET_STORE=memory # Defaults: $1/chat, $2/day, 8 turns/chat, 10 chats/day # XULUX_CHAT_BUDGET_USD=1 # XULUX_DAILY_BUDGET_USD=2 # XULUX_MAX_TURNS_PER_CHAT=8 # XULUX_MAX_CHATS_PER_DAY=10