smythos-chatbot-test
v2.6.8
Published
SmythOS Embeddable AI Chatbot - React Component & Script
Maintainers
Readme
chatbot-embodiment-client
An embeddable chatbot widget for SmythOS AI agents. This is a lightweight, modern chat interface built with React and Vite that provides a seamless conversational experience for interacting with SmythOS agents.
Features
- 🚀 Lightweight & Fast - Built with Vite and optimized for quick loading
- 💬 Rich Messaging - Supports markdown rendering with syntax highlighting for code blocks
- 📎 File Attachments - Upload and share files within conversations
- 🔐 Multiple Auth Methods - API Key, OAuth, and custom authentication support
- 🎨 Modern UI - Built with Tailwind CSS for a clean, responsive design
- 🔌 Easy Embedding - Single JS file deployment for simple integration
Development
Create a .env file and set:
VITE_APP_ENV="development"
VITE_API_URL="agentid.agent.stage.smyth.ai" # your agent domainThen run:
bun install
bun run devBuilding
For building the client only:
bun run buildFor building and syncing to sre-embodiment-server:
bun run build:syncFor building, syncing, and bumping version (release):
bun run build:releaseThe build:sync command will automatically copy the built dist/chatbot-v2.js file to the sre-embodiment-server's src/static/embodiment/chatBot/ directory.
