Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Next.js chat template for eve with password-only starter mode and optional production auth, Neon persistence, and Upstash rate limiting.
eve Chat Template is a Next.js boilerplate for building a chat application powered by eve, the AI agent platform from Vercel Labs, that runs in a password-protected starter mode out of the box and can be upgraded to a multi-user production app with Sign in with Vercel, Neon, and Upstash.
The eve Chat Template is a boilerplate that gives you a text chat interface connected to an eve agent through same-origin routes under /eve/v1. It takes a user's text prompt as input and returns streamed assistant responses rendered with Streamdown, including reasoning and tool calls. The template runs on Next.js and is maintained by Vercel Labs. It supports three deployment modes: a starter mode that only needs a shared password, a production mode that uses Sign in with Vercel plus Neon and Upstash, and a local development mode that uses a local identity without additional services.
EVE_CHAT_PASSWORD environment variable; production mode activates when Neon, Upstash, and Sign in with Vercel variables are all present; local development runs with pnpm dev and no extra services.UPSTASH_REDIS_REST_URL and related variables.lib/db for production mode; run them with pnpm db:migrate./eve/v1/slack and Notion, Linear, and Sentry MCP connections, enabled by installing connectors with the Vercel CLI./chat/[id] resumes the same durable conversation after a refresh.Developers who want to ship an eve-powered chatbot quickly will find this template useful because it provides working auth, persistence, and UI out of the box. Teams that need a production chat application with multi-user login and cross-device history can upgrade from the password-only starter to the full Neon and Upstash setup. Product builders who want the agent to act on external tools can attach Notion, Linear, or Sentry connectors without writing custom integration code.
./scripts/setup.sh script to provision Neon and Upstash, register Sign in with Vercel, pull environment variables, and run migrations for a multi-user deployment.vercel connect create to add a Slack channel trigger or MCP connections for Notion, Linear, and Sentry, then let the eve agent call those tools during conversations.The template detects which deployment mode to use based on the environment variables present. In starter mode, the app only needs EVE_CHAT_PASSWORD; the browser stores chats and session cursors in localStorage, so chats are tied to that browser and not shared. Production mode takes precedence when the complete Neon, Upstash, and Sign in with Vercel environment is present, and the app fails closed if neither mode is fully configured. For local development, running pnpm dev with no extra configuration uses the local development identity.
Starter mode uses a shared password for access and stores chats in browser localStorage, while production mode uses Sign in with Vercel for per-user authentication and Neon for cross-device chat persistence. Production mode also adds Upstash Redis rate limiting. The app automatically switches to production when all required environment variables are set.
No. The template intentionally does not include file uploads, Vercel Blob, guest mode, NextAuth/Auth.js, or AI Elements. The feature set is focused on text chat with eve agents, session persistence, and optional tool connections.
You can create a Slack connector with vercel connect create slack --name eve-chat-template --triggers and attach it to your project. The template includes a channel route at /eve/v1/slack. For manual setup, put the connector UID in the SLACK_CONNECTOR environment variable.
