Better Chatbot

Design and mediaProductivity and workflow

Formerly Better Chatbot. Navigator is an open-source AI workspace for agents, MCP and workflow automation.

Your AI app calls the Better Chatbot MCP server, which does the design and media and productivity and workflow work and sends the result back to the chat.

About Better Chatbot

Better Chatbot is a community MCP server from keinsaasforever, filed in our directory under design and media and productivity and workflow. Formerly Better Chatbot. Navigator is an open-source AI workspace for agents, MCP and workflow automation.

Better Chatbot runs on your own machine: your AI app starts it with the command npx -y @better-auth/cli and talks to it over standard input and output.

At a glance

Publisher
keinsaasforever (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @better-auth/cli
Written in
TypeScript
License
MIT
GitHub stars
1,197

How to set up Better Chatbot

  1. Install Node.js on the machine that runs your AI app, because Better Chatbot starts with npx and downloads its package on first run.
  2. Check the Better Chatbot README for keys or settings; the registry lists none that Better Chatbot requires.
  3. Add Better Chatbot to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Better Chatbot tools to confirm the connection.
  5. Run one read-only task with Better Chatbot first, and keep your app asking before each tool call until the results look right.

Better Chatbot compared with similar servers

  • uMouse by SonicloudTech has fewer GitHub stars than Better Chatbot (1.2k against 1.2k); both are community servers, and both run locally.
  • Feima Design by feimacode has more GitHub stars than Better Chatbot (1.2k against 1.2k); both are community servers, and both run locally.
  • Crucible by codepawl has fewer GitHub stars than Better Chatbot (1.1k against 1.2k); both are community servers, and both run locally.

Before you connect Better Chatbot

  • Give Better Chatbot its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Better Chatbot tool call until you trust what it does with them.
  • Treat text that Better Chatbot fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Better Chatbot on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Better Chatbot

How marketing and sales teams put Better Chatbot to work, by company size. Pick the size closest to yours and start Better Chatbot on one use case.

Small business

  • A small business can use Better Chatbot to resize and adapt one design for every channel instead of hiring for each version.
  • Owners can ask Better Chatbot to pull brand assets and make quick ad and social variations that still look on brand.
  • A busy owner can use Better Chatbot to turn a brain dump into tasks with due dates, and get a short list of what matters today.
  • Better Chatbot runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Creative teams can connect Better Chatbot so agents produce variants for testing while designers keep control of the master files.
  • Marketing teams can use Better Chatbot to hand off designs to web and ads with specs attached, cutting review rounds.
  • Marketing ops can connect Better Chatbot to build launch checklists from a template and post status updates without a weekly meeting.
  • Start Better Chatbot on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can use Better Chatbot with brand rules and approved assets only, so generated work stays inside the brand system.
  • Large creative ops teams can use Better Chatbot to localize and version assets for many markets with review built in.
  • Enterprise PMOs can use Better Chatbot to roll up status across many teams into one view for leadership, with links back to each source task.
  • Better Chatbot is a community server, so have security review the code and pin a version before Better Chatbot touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Better Chatbot README

From keinsaasforever/better-chatbot on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

keinsaas Navigator – Community Edition

formerly better-chatbot

An open-source AI chat and agent platform you can host yourself.

Talk to any model, attach your files, connect MCP tool servers, build workflows, and give agents a place to work, on infrastructure you control.

Deploy to Vercel

Two required values, a few optional ones. The button clones the repository, creates a free Supabase project for the database and file uploads, and asks for:

Variable
BETTER_AUTH_SECRET Required. Any long random string (openssl rand -base64 32).
AI_GATEWAY_API_KEY Required. From vercel.com/ai-gateway. Serves every model in the catalog, including realtime voice.
COMPOSIO_API_KEY Optional. Lets users connect Gmail, Slack, GitHub and more. Free key
TENSORX_API_KEY Optional. EU-hosted models from our partner TensorX.
ASSEMBLYAI_API_KEY Optional. Voice transcription via AssemblyAI.
EXA_API_KEY Optional. Web search via Exa.
E2B_API_KEY Optional. Sandboxes that run generated code, via E2B. Without it, code runs in the browser.
INNGEST_EVENT_KEY, INNGEST_SIGNING_KEY Optional. Scheduled agents and background jobs, via Inngest. Easiest: add the Inngest integration in Vercel, which sets both and connects the app.

The optional fields are pre-filled with optional; leave them like that and the feature stays off. You can add any key later under Settings → Environment Variables and redeploy. The database schema and the storage buckets are created during the build. Open the deployment and create an account; the first one becomes the administrator.

Free Supabase projects pause after a week without use. If your app stops loading after a quiet week, open the project in the Supabase dashboard and click Restore.

Updates come to you. After your first sign-in, the app asks once to Turn on automatic updates: it opens GitHub with the update check ready, and you click Commit changes. From then on your copy checks every week. When there is a new version, GitHub emails you a short guide: try the preview Vercel builds, then click Merge. Nothing changes in your live app until you do.

Details and optional features: docs/self-hosting.md.

Quick start (Docker)

Three variables. That is the whole configuration to get chatting:

git clone https://github.com/keinsaasforever/better-chatbot.git
cd better-chatbot
cp .env.example .env
POSTGRES_URL=postgres://postgres:postgres@postgres:5432/better_chatbot
BETTER_AUTH_SECRET=   # npx @better-auth/cli@latest secret
AI_GATEWAY_API_KEY=   # https://vercel.com/ai-gateway
docker compose -f docker/compose.yml up -d --build

Open http://localhost:3000 and create an account. The first account becomes the administrator.

Why one model key? Models are served through the Vercel AI Gateway, which fronts Anthropic, OpenAI, Google, Mistral, xAI, DeepSeek, Moonshot and more. You manage one key and one bill instead of seven, and you can switch models mid-conversation without touching configuration. If you would rather not use a gateway at all, point the app at Ollama, LM Studio, or any OpenAI-compatible endpoint, see Models.

Prefer running it directly? See docs/self-hosting.md.

See it in action

Web search

Ask about anything current and get an answer with its sources. Needs the optional EXA_API_KEY.

Charts and tables

One sentence in, a chart or an interactive table out.

Code execution

Python and JavaScript run in a sandbox; results come back as tables and charts. Needs the optional E2B_API_KEY.

Agents

Mention an agent with @ and it takes over the conversation with its own instructions and tools.

Legal document review

An example from the agent library: paste a clause or attach a contract, and the Legal Document Reviewer flags the risks and suggests changes.

Image generation

Generate images right inside the conversation.

Tools and MCP servers

Connect your apps and any MCP server. The catalog of 250+ apps comes with the optional Composio integration.

TensorX: EU-hosted, zero data retention

Pick a model under TensorX (0 Data Retention) and your prompts go straight to EU infrastructure that keeps nothing. Needs the optional TENSORX_API_KEY; see Partners.

Local models

At the end of the model menu, Add local Model connects Ollama, LM Studio or any OpenAI-compatible server. Your data stays on your hardware.

Voice input

Click the microphone, speak, and your words are transcribed into the message box by AssemblyAI. Needs the optional ASSEMBLYAI_API_KEY.

Desktop app (beta)

The keinsaas Navigator desktop app for Windows and macOS, with local (stdio) MCP servers and native notifications. It connects to the cloud or to your own instance; see What you get.

What you get

Chat that does things. Streaming conversations with tool calling, file attachments, image generation, and a sandboxed code runner. Mention an agent, workflow, or tool with @ to pull it into the conversation.

Agents. Give an agent a role, instructions, and a set of tools. Share it with your workspace or keep it private.

Skills. Reusable capabilities an agent loads on demand, so a large toolbox does not have to sit in every prompt.

Projects with retrieval. Group chats, documents, and tools around a piece of work. Uploaded documents are chunked, embedded, and searched with pgvector, no external service required. Point a project at a knowledge base if you want hosted retrieval instead.

Workflows. Build a graph of steps, LLM calls, conditions, HTTP requests, code, templates, in a visual editor, publish it as a tool, and call it from any chat.

MCP tool servers. Connect any Model Context Protocol server over HTTP or stdio, with OAuth support, per-tool customization and a cached tool list. Self-hosted instances can run stdio servers; the desktop app runs them locally.

Scheduled tasks. Have an agent run on a schedule and report back.

Voice. Realtime voice conversations through the gateway, plus transcription.

Voice device. Pair an M5Stack Atom Echo S3R, press its button and talk: what you say is transcribed and handed to your agent with its tools, or turned into a new agent or a scheduled task. Pairing and device management are in the app; the device streams its audio through a small WebSocket bridge, which is not published for self-hosting yet (#429).

Desktop app (beta for self-hosting). The keinsaas Navigator desktop app (download at keinsaas.com) adds local (stdio) MCP servers, which a server on Vercel cannot run, plus native notifications. On first launch it asks where to connect: pick My own server and enter your instance's address, e.g. https://my-chatbot.vercel.app. Connecting it to a self-hosted instance is in beta; tell us in Discord what works and what does not. You can switch servers any time under Change Server… in the app menu.

Model routing. Pick a model per message, or let the router choose from the catalog based on the task.

Upgrading from 1.x

This is a new major version. The layout is now a monorepo, the environment is different, and the schema has moved on considerably.

Back up your database first. Then:

pnpm install
pnpm tsx scripts/upgrade/from-better-chatbot-1.ts --dry-run
pnpm tsx scripts/upgrade/from-better-chatbot-1.ts --yes

The upgrade preserves your users, chats, agents, MCP servers and workflows. Archives become projects, and the threads inside them stay linked. It is a one-way migration, this is why the backup matters.

If you were setting per-provider API keys (OPENAI_API_KEY, ANTHROPIC_API_KEY and friends), replace them with a single AI_GATEWAY_API_KEY, or configure a local provider.

Setup

Vercel

The Deploy button above. Setting up an existing clone by hand is described in docs/self-hosting.md.

Docker Compose

The quick start above. The bundled stack includes Postgres with pgvector. Add --profile redis if you want resumable chat streams.

Local development
pnpm install            # writes .env from .env.example
pnpm docker:pg          # Postgres with pgvector on :5432
pnpm db:migrate         # apply the schema
pnpm dev                # http://localhost:3000

Postgres must have the pgvector extension, document embeddings are stored as vector(1536). The bundled image has it; managed Postgres usually offers it as a toggle.

Useful commands:

Command What it does
pnpm check Lint, typecheck and unit tests, run before committing
pnpm test:e2e Playwright end-to-end tests
pnpm db:migrate Apply pending migrations
pnpm db:studio Browse the database
pnpm docker:redis Redis for resumable streams

Optional integrations

Everything below is off until you configure it, except file uploads on Vercel, which the Supabase integration sets up for you. The server prints which features are disabled at startup, so you always know why something is missing.

Feature Set Without it
File uploads Nothing on Vercel: the Supabase integration sets it. Docker and local: SUPABASE_URL, NEXT_PUBLIC_SUPABASE_URL, SUPABASE_SERVICE_ROLE_KEY (github.com/keinsaasforever/better-chatbot/blob/main/docs) Attachments, avatars and generated images are disabled
Knowledge bases AGENTSET_API_KEY Knowledge bases unavailable; project documents still search locally with pgvector
Background jobs INNGEST_SIGNING_KEY, INNGEST_EVENT_KEY Scheduled tasks need your own cron (see below); the project brain runs right after each change instead of in the background
Resumable streams REDIS_URL A stream ends when the viewer navigates away
Code sandbox E2B_API_KEY Generated code runs in the in-browser worker only
Web search EXA_API_KEY The web search tool is unavailable
EU-hosted models TENSORX_API_KEY TensorX models (zero data retention) do not appear in the model picker
Voice transcription ASSEMBLYAI_API_KEY Realtime voice still works; transcription does not
Browser notifications NEXT_PUBLIC_VAPID_PUBLIC_KEY, VAPID_PRIVATE_KEY No notifications while the app is closed
Connected apps COMPOSIO_API_KEY Users cannot connect Gmail, Slack, GitHub and other apps
Observability SUPERLOG_PUBLIC_TOKEN Traces and logs stay local

Running without Inngest. Scheduled tasks and the sandbox reaper are plain HTTP endpoints. Set SCHEDULED_TASK_SECRET and call them from any cron:

curl -X POST https://your-instance/api/scheduled-tasks/cron \
  -H "X-Scheduled-Task-Auth: $SCHEDULED_TASK_SECRET"

Models

The gateway is the default and covers the whole catalog. You can also:

  • Run models locally. Connect Ollama, LM Studio, or any OpenAI-compatible endpoint from the model picker. Nothing leaves your machine, and it needs no server configuration, each account sets up its own.
  • Use TensorX. EU-hosted inference with zero data retention, reached directly rather than through the gateway. Set TENSORX_API_KEY.
  • Add any OpenAI-compatible provider with OPENAI_COMPATIBLE_DATA: pnpm openai-compatiable:init && pnpm openai-compatiable:parse.

Partners

TensorX, EU-hosted model inference with zero data retention. The Community Edition talks to TensorX directly rather than through a gateway, so prompts go straight to TensorX's EU infrastructure. Create a key at tensorx.ai, set TENSORX_API_KEY, and its models appear in the model picker next to the gateway's. See its trust and security page and DPA.

TensorX is optional. Without the key everything else works as before.

Community

This edition, and the hosted one

This repository is the Community Edition of keinsaas Navigator, formerly known as better-chatbot. The repository keeps its name, so existing links, forks and automatic updates keep working. Everything above is here, in full, with no usage caps and no telemetry.

What Navigator adds is what teams need and single users do not: shared team workspaces with member management and invitations, per-member AI budgets and org-wide model policy, billing, a managed workflow builder, and a Slack bot. If you are running this for yourself or a small group, you are not missing anything, that is the point.

License

MIT. See LICENSE.

Originally forked from cgoinglove/better-chatbot, whose work this is built on.

Questions about Better Chatbot

What is the Better Chatbot MCP server?

Formerly Better Chatbot. Navigator is an open-source AI workspace for agents, MCP and workflow automation. Better Chatbot is maintained by keinsaasforever on GitHub at keinsaasforever/better-chatbot, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Better Chatbot MCP server?

Add Better Chatbot to your AI app's MCP config with the command npx -y @better-auth/cli. In Claude Code, run claude mcp add --transport stdio better-chatbot -- npx -y @better-auth/cli. To run Better Chatbot this way you need Node.js installed.

Does Better Chatbot need an API key?

The registry lists no required keys for Better Chatbot. Check the Better Chatbot README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Better Chatbot an official MCP server?

No. Better Chatbot is a community server maintained by keinsaasforever. Community servers can be excellent; read the code and the open issues before you give Better Chatbot access to company data.

What license is Better Chatbot under?

Better Chatbot is released under the MIT license, according to its GitHub repository. The license covers the code of Better Chatbot; the service it connects to has its own terms.