ChatKit Backend - SSE and Conversation Persistence

Community

Backend SSE streaming and persistence for ChatKit

Authornimranaz148
Version1.0.0
Installs0

System Documentation

What problem does it solve?

ChatKit Backend - SSE and Conversation Persistence provides backend infrastructure for streaming AI responses via Server-Sent Events and persistent conversations with messages using FastAPI and SQLModel.

Core Features & Use Cases

  • SSE streaming endpoint for real-time AI responses
  • Database models and migrations for conversations and messages
  • CRUD endpoints for conversations and messages
  • Conversation history and persistence with message tracking
  • Easy integration with frontend chatkit-frontend or similar UI

Quick Start

Install dependencies (Python 3.11+, FastAPI, SQLModel, Alembic) and set up a PostgreSQL instance, then run migrations and start the server with uvicorn. Access API docs at http://localhost:8000/docs. Use the SSE endpoint at http://localhost:8000/api/chat/stream?message=Hello

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ChatKit Backend - SSE and Conversation Persistence
Download link: https://github.com/nimranaz148/spec-driven-ToDo-App-2/archive/main.zip#chatkit-backend-sse-and-conversation-persistence

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.