An AI-Powered Conversational Assistant with Real-Time Tool Intelligence. A modern, full-stack AI chat application that can fetch live weather data, search books, summarize YouTube videos, and look up Wikipedia facts — all while streaming responses token-by-token.
ChatBuddy is a modern, full-stack AI chat application that goes beyond simple question-answering. It's an intelligent assistant that can fetch live weather data, search books, summarize YouTube videos, and look up Wikipedia facts — all while streaming responses token-by-token for an instant, engaging user experience. Built with a focus on production-grade architecture, this project demonstrates how to build AI applications that are not only functional but also cost-efficient and scalable.
Instead of simple prompt → response chains, ChatBuddy uses LangGraph's stateful agent architecture. The AI can decide when to use tools vs. respond directly, execute tools and incorporate results into its response, and loop back for multi-step reasoning when needed.
Responses stream token-by-token directly to the browser. Users see the AI "thinking" in real-time, with visual indicators when tools are being used.
System prompts and tool definitions are cached using Anthropic's cache_control mechanism, reducing API costs on repeated conversations by avoiding redundant token processing.
Messages appear instantly (optimistic updates) while being persisted to Convex in the background. The app stays snappy while maintaining data consistency.
Real-time weather data for any city worldwide
Search books by title, author, or topic
Extract and summarize video content from URLs
Factual lookups for people, places, events, and concepts





