mrkeyoor.com_
Tue 01 Sept 17:41 UTC
AI Toolsevaluationupdated 26 Aug 2026

chatbot-template review

chatbot-template is a small Next.js starter for a streaming AI chat interface built with the Vercel AI SDK and shadcn components. It gives developers a working model picker, markdown messages, citations, server and browser tools, and a human questionnaire without making them design the chat loop first.

+68stars / 7d
Verdict

Our chatbot-template run installed 686 packages in 28 seconds and built in 21 seconds, but it had no test target, so it is a quick prototype base rather than a verified production baseline. Use it when your team wants to study or customize the Vercel AI SDK tool-part pattern and will add the missing access and spend controls before launch. Choose a fuller starter if authentication, persistence, or CI must arrive with the first clone.

We ran it

Lab card: what happened when we ran chatbot-templateScreenshot of chatbot-template (github.com/shadcn-ui/chatbot-template)
Install✓ · 28s686 packages · 601 MB
Build✓ · 21s
Testsn/ano test script
Repo61 files~2,948 lines of source · 0.4 MB · 0 CI workflows

Answers from our run

Does chatbot-template build from source?

Dependencies installed in 28 seconds (686 packages), and the build succeeded in 21 seconds. We cloned commit 8d39394 into a clean Debian container with 3 CPUs and no project-specific setup.

Does chatbot-template have tests you can run?

Not through a standard command: the project exposes no test script or target that our harness could run.

Who should not use chatbot-template?

Anyone planning to deploy the starter unchanged to public traffic: its /api/chat route is unauthenticated and every request can spend AI Gateway credits.

What are the alternatives to chatbot-template?

Vercel Chatbot, assistant-ui, Chatbot UI. Our chatbot-template run installed 686 packages in 28 seconds and built in 21 seconds, but it had no test target, so it is a quick prototype base rather than a verified production baseline.

Setup4/5Built in 21 seconds after a 28-second pnpm install
Docs4/5README explains tools, credentials, extension points, and spend risk
Community3/5825 stars and 4 combined issues and PRs after an August 2026 push
Maturity2/5No tests, CI workflow, Dockerfile, or tagged release

Who it’s for

Next.js teams that want a clean reference for AI SDK streaming and typed tool parts.
Developers already willing to use Vercel AI Gateway for model access and billing.
Prototype builders who need a polished chat screen with web search and a user-answerable tool.
Product teams prepared to add authentication, rate limits, storage, and their own business tools.

Who it’s NOT for

Anyone planning to deploy the starter unchanged to public traffic: its /api/chat route is unauthenticated and every request can spend AI Gateway credits.
Teams that need accounts or saved conversations on day one: the 61-file checkout contains no database layer, authentication flow, or chat-history store.
Projects that require a tested starter baseline: our scan found no test script, tests directory, or CI workflow.
Operators avoiding Vercel AI Gateway: local use needs its API key, while a Vercel deployment authenticates to the gateway through OIDC.
Buyers expecting tagged upgrade points: GitHub returned no latest release for this repository, so adoption means tracking commits.

Setup reality

Our sandbox installed 686 pnpm packages in 28 seconds and used 601 MB. The production build succeeded in 21 seconds. There was no test script or target, so tests were skipped rather than passed.

A Vercel deployment uses OIDC and your team's AI Gateway credits. Local development needs AI_GATEWAY_API_KEY, obtained directly or through vercel link and vercel env pull. The listed models and default live in one TypeScript file.

The 61-file template has no authentication, rate limiter, database, CI workflow, Dockerfile, or tests directory. Its public chat route caps each response, but the README says those per-request limits do not protect total spend. Production owners must add those controls themselves.

The template gives typed chat tools, not a finished chat product

The useful part of chatbot-template is its compact example of the Vercel AI SDK message model. Responses stream into a Next.js client, markdown is rendered through shadcn/typeset, and each tool result gets its own component. Web search shows sources, a GitHub lookup renders repository facts, and ask_user pauses for an answer in the interface before the model continues. That is enough code to study the whole request path without opening a large application.

The checkout measured only 61 files and about 2,948 source lines, yet its pnpm install pulled 686 packages and used 601 MB. Most of the weight comes from the modern Next.js and AI SDK environment rather than business features. There is no user system, database, conversation archive, billing layer, or admin view. Treat the repository as an implementation reference with a polished screen, not as a small SaaS waiting for a logo.

A public route can spend gateway credits without authentication

The README is unusually direct about the main deployment hazard. /api/chat accepts public requests without authentication, and every accepted request uses the owner's AI Gateway credits. Request validation, an allowed-model list, an output-token cap, a tool-step cap, and cancellation on disconnect limit one request. They do not stop a caller from making many valid requests. The project tells adopters to add rate limiting, a spend ceiling, and authentication where the bot is private.

That work sits outside the 21-second build we completed. A production team needs to decide who may call the route, where identities live, how quotas are counted, and what happens when a budget is reached. Vercel Firewall or an external rate-limit store are suggested paths, but neither is installed here. Copying the deploy button before making those decisions exposes a paid model endpoint whose own documentation says it is open.

What happened when we ran it

Our run at commit 8d39394 installed 686 pnpm packages in 28 seconds. Installation succeeded and occupied 601 MB on disk, while the repository itself was only 0.4 MB checked out. The production build then completed successfully in 21 seconds inside an unprivileged Node 22 Debian container with 3 CPUs and 8 GB of RAM. No secret was present during these repository checks.

Tests were skipped because package.json contains no test script or target. Our scan also found no tests directory and no CI workflow file. A successful build proves that TypeScript and Next.js could produce the application under the measured conditions. It does not prove tool-call behavior, browser interaction, request validation, provider search, or the questionnaire flow. Those paths need tests after a team turns the example into a product.

Gateway setup is short, while model behavior remains provider-specific

A deployment on Vercel can authenticate to AI Gateway through OIDC, using the team's gateway credits without placing an API key in the project configuration. Local development needs AI_GATEWAY_API_KEY, either created in the dashboard or pulled after linking the directory with the Vercel CLI. The 28-second dependency install and single environment variable make the documented local route easy to reproduce before sending a paid request.

The model list is a TypeScript array, and its first entry becomes the default. Tool availability can vary with that model ID because the web-search helper selects a provider-native tool. A recent commit fixed a questionnaire follow-up that had omitted the selected model and silently returned to the default provider. That fix is a useful warning for extensions: every automatic continuation must carry the same model choice and request context as the initial message.

Typed parts make custom tools easier to inspect

Each tool has a Zod input schema, optional server execution, and a matching message-part renderer. The GitHub example enforces an owner/name shape, sets a 5-second timeout, and returns either typed repository data or an error. The questionnaire omits server execution because the browser supplies its result. Type inference connects those definitions to the UI, so renaming a tool field can become a build error instead of an unexplained empty component.

August commits show attention, while releases offer no upgrade markers

GitHub recorded the last push on August 11, 2026, and showed 825 stars plus 4 combined issues and pull requests when fetched. The issues endpoint returned no open issues among that combined total. Recent commits covered documentation and preserved the selected model across a questionnaire follow-up. Those facts show recent work and a small discussion queue, although they do not say how often future changes will land.

GitHub returned no latest release, so there is no tagged version to pin as an adoption milestone. The package is private and labeled 0.0.1 in its manifest. For a starter, commit-based consumption is common, but a team should record the exact revision it copied. Our commit built in 21 seconds; later commits need their own build and interaction checks, especially when the AI SDK message protocol or provider tools change.

Use it to learn the pattern, then own the missing product layers

chatbot-template is strongest as readable source for streaming messages, model-aware tools, citations, and a human response inside the tool loop. The 2,948-line size keeps those ideas visible. Its 601 MB install, public paid route, absent persistence, and missing automated tests set the boundary just as clearly. A developer can understand the core in an afternoon, but launching it safely is a separate engineering task.

Our successful 28-second install and 21-second build justify cloning it for a prototype or internal spike. They do not justify an unchanged public deployment. Add identity, quotas, spend alerts, storage if conversations matter, and tests around every tool state. If those pieces are already firm requirements, Vercel Chatbot starts closer to the destination; if the interface must live inside an existing app, assistant-ui may be the cleaner dependency.

Alternatives

ProjectWhat it isPick it when
Vercel ChatbotA fuller Next.js AI chatbot with authentication, persistence, and production-oriented features.pick this instead when saved chats and user accounts should exist before your product-specific work begins.
assistant-uiA React library for assembling AI chat interfaces around different runtimes.pick this instead when you need reusable chat primitives inside an existing application rather than a complete starter.
Chatbot UIA self-hostable chat application intended to work with multiple model providers.pick this instead when you want an application with broader model and workspace features rather than a minimal code example.

What people are saying

  1. [velocity-scout] shadcn-ui/chatbot-template

Sources

  1. chatbot-template README
  2. Public chat route source
  3. Typed tool registry
  4. Model selection follow-up fix

More ai tools reviews

claudian · SkillSpector · robin · mjlab · MoGe · awesome-design-md · the whole board →