WebSage AI is an intelligent chatbot built using Grok API with Tool Calling support.
It uses the Tavily API for web search, allowing the chatbot to fetch real-time information when required.
π This project is part of my Generative AI (GenAI) learning journey where I explored how to build AI-powered apps with tool calling.
- Full-stack chatbot (Frontend + Backend)
- Grok API integration
- Tool calling with Tavily Web Search
- Real-time responses
- Modern frontend with React + Vite
- Backend built with Node.js + Express
WebSageAI/
βββ backend/ # Node.js + Express API server
βββ frontend/ # React + Vite frontend
βββ README.md # Project documentation
- Frontend: React, Vite, TailwindCSS
- Backend: Node.js, Express
- AI: Grok API
- Tool Calling: Tavily Web Search API
git clone https://github.com/ANKITKUMARBARIK/WebSage_AI.git
cd WebSageAIcd backend
npm install
# Add your API keys in .env file
# GROK_API_KEY=your_grok_api_key
# TAVILY_API_KEY=your_tavily_api_key
npm startcd frontend
npm install
npm run dev- User enters a query in the frontend UI.
- Request is sent to the backend and processed by Grok API.
- If Grok triggers a tool call, Tavily API is called.
- Results are combined and sent back to the frontend as chatbot response.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
MIT License