cd /news/ai-tools/show-hn-askdare-the-next-js-successo… · home › topics › ai-tools › article
[ARTICLE · art-182081] src=github.com ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

Show HN: Askdare, the Next.js successor to our Assistants API chatbot library

Boldare released Askdare, an open-source Next.js chatbot library that replaces its Assistants API-based predecessor and runs on the official OpenAI SDK with one route, one script tag and no database. Version 0.8 adds a CLI eval command, `npx @boldare/askdare eval`, that runs test cases from `evals/*.eval.json` against a running app with checks for facts, citations, handoffs, forms and tools, a 3-run baseline, per-case regressions, CI exit codes and optional graded checks from a chosen grader model, plus named prompt versions and A/B tests. The package installs via `npm install @boldare/askdare zod` and `npx @boldare/askdare init`, which writes the chat route, a starter bot and `.env.local`; a one-click Vercel deploy needs only an OpenAI key.

key takeaway

Askdare 0.8's `npx @boldare/askdare eval` runs `evals/*.eval.json` cases against a running app with a 3-run baseline, per-case regression checks and CI exit codes, so chatbot answer quality can be gated in a pipeline.

read6 min views13 publishedDec 4, 2026
Show HN: Askdare, the Next.js successor to our Assistants API chatbot library
Image: Michielbdejong (auto-discovered)

An AI chatbot for any website, served by your Next.js app on the official OpenAI SDK.

One route, one script tag, no database required.

Live demo · Deploy in 5 minutes · Documentation · npm · Changelog

One-click deploy to Vercel. Bring an OpenAI key, we'll do the rest.

No Next.js app yet? Deploy the starter: your own repository, your OpenAI key, no database and no code to write. askdare.vercel.app/deploy walks you through it and makes the CHAT_SECRET for you. Heroku and the details.

In a Next.js 16 app:

npm install @boldare/askdare zod
npx @boldare/askdare init

init writes the chat route, a bot to start from and .env.local, and adds the chat to your layout. Put your OpenAI key and model in .env.local, run the app, and the chat is there. The bot is a few lines you own:

// askdare.config.ts
import { defineBot } from '@boldare/askdare';

export const bots = [
  defineBot({
    id: 'support',
    model: process.env.ASKDARE_MODEL ?? '',
    instructions: 'You answer questions about our product. If you do not know, say so.',
    security: { allowedOrigins: ['https://www.example.com'] },
    widget: { theme: 'aura', greeting: 'Hi! How can I help?' },
  }),
];

Getting started takes you from an empty app to a working chat in about 15 minutes.

Or try it first, in five minutes, without your own app.

Knowledge base · Tools · Tool cards · Reply options · Attachments · Voice input · The chat inside your page (React) · Your own page in the widget · Answer ratings · Handoff to a person · Forms and leads · Admin console and dashboard · Testing answers · Prompt versions · Tools from an MCP server · Launcher greeting · Observability · Chat events · Guardrails · Human check · Accessibility · Own your data · Security

New in 0.8, quality and reach:

  • Testing answers :npx @boldare/askdare eval runs test cases fromevals/*.eval.json against your running app, with checks for facts, citations, handoffs, forms and tools, a 3-run baseline and per-case regressions, exit codes for CI, and optional graded checks from a grader model you pick. The console's newTests view runs them too, and drafts a case from a 👎 answer. SeeTesting answers .
  • Prompt versions and A/B tests : named versions of a bot's instructions indefineBot , a split of new conversations by visitor,version on every report and admin record, compared in the dashboard and withaskdare eval --version . SeePrompt versions .
  • More tools :httpTool calls one endpoint of your own API behind a fixed URL template; web search as a fallback when your documents have nothing (off by default); the visitor approves a tool call in the chat before it runs; and tools from a remote MCP server with the new@boldare/askdare-mcp . Remote calls have their own limits. SeeTools andWeb search .
  • Attachments in your own storage : with your own conversation store and a file store, such ass3Files() from the new@boldare/askdare-s3 (AWS S3, Cloudflare R2 or MinIO), visitors' files stay in your bucket and every turn sends them inline, so nothing is kept at OpenAI. SeeAttachments .
  • Model settings : reasoning effort and verbosity next to the model ID, checked bydoctor against the model. SeeConfiguration .
  • The console for teams : roles (viewer ,reviewer ,developer ,owner ) and a scope to some bots, and an owner deletes a conversation for a deletion request. SeeAdmin and theread-only demo console .

New in 0.7, support-grade:

Handoff to a person : a "Talk to a person" button and ahandoff tool the model calls when it can't help, withwebhookHandoff() (signed with Standard Webhooks) oremailHandoff() delivering the request. It is one-way: a person from your team answers the visitor by email. Outside your office hours, the handoff's form takes a message instead. SeeHandoff . #

Admin console and dashboard : a console at/api/chat/admin , off by default, with each bot's configuration,doctor , a playground and conversation reviews, signed in withADMIN_SECRET or an identity token. Records live in an admin store (memory, Postgres or Upstash), and the new@boldare/askdare-admin adds a dashboard: cost per bot, day and model, ratings, unanswered questions, leads and handoffs. Deleting a conversation deletes its records. SeeAdmin .- A greeting next to the launcher and an unread badge :widget.launcherGreeting invites visitors after a few seconds, and answers that arrive while the chat is closed are counted on the launcher. SeeEmbedding .

New in 0.6, own your data:

  • Conversations in your own Postgres :postgresConversations() from the new@boldare/askdare-postgres , withmigrate for the tables and a sweep for your retention. Turns go to OpenAI withstore: false : it still processes every request, but keeps no conversation. SeeOwn your data .
  • Knowledge in pgvector :pgvectorIndex withaskdare kb sync --index , searched by the built-insearch_knowledge tool, with the same cited sources and no per-search fee. SeeKnowledge base .
  • Answers that survive a dropped connection : the chat picks an answer up where it stopped, from memory on one server or from Upstash on several (upstashTurnLog() ). SeeConfiguration .
  • The whole history : older messages load in pages as the visitor scrolls up (LoadEarlier ). SeeReact .
  • Compaction and transcripts : opt-inlimits.compactAt keeps long conversations in your store affordable, andonTranscript hands each finished turn to your code. SeeConfiguration .
  • Still at OpenAI : OpenAI processes every model request, and attachments stay in OpenAI Files. SeeWhat stays at OpenAI and thechangelog .

Pick a theme, set your brand's colors, or restyle any part with your own CSS, the way BLDR does. Switch between them on the website, then read Themes and Styling.

The guides are on askdare.vercel.app/docs, with search and a chat that answers from them. The same pages are in docs/, and they ship in the package, so they match the version you installed.

Coming from @boldare/openai-assistant? It stopped working when OpenAI shut down the Assistants API, and askdare is its successor: see Migrating.

Package What it is
@boldare/askdare The library: bots, the chat route, the embeddable chat and the CLI
@boldare/askdare-upstash Rate limits, budgets and answer resume shared by every server instance, and an admin store, in Upstash Redis
@boldare/askdare-otel OpenTelemetry spans for every chat turn, following the GenAI conventions
@boldare/askdare-postgres Conversations, a pgvector knowledge index and an admin store in your own Postgres
@boldare/askdare-admin The admin dashboard: cost, ratings, unanswered questions, leads, handoffs and conversation reviews, inside the admin console
@boldare/askdare-s3 Visitors' attachments in your own bucket on AWS S3, Cloudflare R2 or MinIO, instead of OpenAI Files
@boldare/askdare-mcp Tools from a remote MCP server, with askdare as the client: an allowlist, approval for tools that may write, fingerprints checked by doctor

Contributing · Security policy · MIT license · Made by Boldare

── more in #ai-tools 4 stories · sorted by recency
── more on @boldare 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-askdare-the-…] indexed:0 read:6min 2026-12-04 · —