Understand Deployment Modes: Client vs Server
mainDeep Research Web UI supports two primary deployment modes depending on your hosting environment and how you want to manage API keys:
- Client Mode: Users enter their own API keys directly in the browser. This is ideal for static deployments (e.g., EdgeOne Pages, GitHub Pages) using
pnpm generate. It is highly secure as configuration and requests stay local to the user's browser. - Server Mode: API keys are configured via server-side environment variables. Users do not need to enter keys in the UI. This requires an SSR/Nitro runtime (e.g., a Docker container) and is not compatible with purely static deployments.