A modern chat interface built with React and Shadcn UI for interacting with AI agents through the phidata framework.
- ๐ค Multiple AI Agent Support
- ๐ฌ Real-time Streaming Chat Interface
- ๐จ Clean, Modern UI with Shadcn Components
- ๐ Markdown Support with Syntax Highlighting
- ๐ ๏ธ Tool Call Support
- Frontend Framework: React
- UI Components: Shadcn UI
- Styling: Tailwind CSS
- Markdown: Marked.js
- Icons: Lucide React
- Node.js (v16 or higher)
- npm or yarn
- A running phidata backend server
- Clone the repository:
git clone https://github.com/pvanand07/phidata-playground-ui.git-
Navigate to the project directory:
cd phidata-playground-ui -
Install dependencies:
npm install # or yarn install -
Configure your phidata backend url: Update
PROD_URLinsrc\api\phidata.jswith your phidata backend url -
Start the development server:
npm run dev # or yarn dev
src/
โโโ api/
โ โ
โ โโโ phidata.js # Phidata service integration
โโโ components/
โ โโโ ChatBot.jsx # Main chat interface
โ โโโ ChatMessages.jsx # Message rendering
โ โโโ MessageInput.jsx # User input component
โโโ styles/
โ โโโ markdown.css # Markdown styling
- Supports multiple AI agents.
- Remembers the last used agent.
- Easy switching between agents.
This project is licensed under the MIT License - see the LICENSE file for details.
- Phidata for the AI framework.
- Shadcn UI for the beautiful components.
- Tailwind CSS for the styling system.
