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_URL
insrc\api\phidata.js
with 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.