Loading
Loading
An AI chatbot that searches the web and streams answers with citations.
Personal project. Full source is public on GitHub.
Standard chatbots are limited to stale training data. I wanted an assistant that knows when to reach for the live web and answers with citations, not guesses.
Implemented tool-calling so the model chooses between its own knowledge and a live web-search tool (Tavily).
Streamed responses token by token on the Edge runtime for instant feedback.
Persisted conversations in Supabase (PostgreSQL) so history survives reloads.
Built the whole app in Next.js with the App Router, TypeScript and Tailwind.
The model decides when to call a web-search tool, and cites its sources.
Token-by-token streaming on the Edge runtime for real-time feedback.
Conversations saved to Supabase Postgres across sessions.
Tell me about your project and I'll reply myself.