This is a POC for an AI chatbot built with React and Express.
- HTTP Streaming.
- Live Message Cancellation – Stop AI responses mid-stream if needed.
- Message Role Support – Maintains structured chat roles (user, assistant, system).
- Typing Indicator – Displays a loading state while AI is generating a response.
- Auto-Scrolling – Keeps the chat scrolled to the latest message.
- Fully Customizable UI
- Submit messages using the Enter key or submit button.
- Send messages to the AI agent via a controlled input field
- Frontend: React + TypeScript
- Backend: Express.js
- AI: OpenAI API
cd client && npm installand runnpm run devcd server && npm installand runnpm run dev- Add your OpenAI API key to
server/.env.