Demo your ChatKit workflows instantly by entering a workflow ID.
-
Install dependencies:
pip install -r requirements.txt
-
Configure environment:
cp .env.example .env # Edit .env and add your OPENAI_API_KEY -
Run the server:
python main.py
-
Open in browser:
http://localhost:8000
- Enter your workflow ID (e.g.,
wf_abc123...) - Click "Load Chat"
- Start chatting with your workflow
Share a direct link with a workflow ID:
http://localhost:8000?workflow=wf_abc123...
- Frontend: HTML + Alpine.js + ChatKit CDN
- Backend: FastAPI + OpenAI Python SDK
- Deployment: Single-file HTML, minimal dependencies
GET /- Serve the web interfacePOST /api/chatkit/session- Create ChatKit session with workflow ID
Run with auto-reload:
uvicorn main:app --reload