openai-chatkit-backend-python
CommunityBuild a self-hosted Python backend for ChatKit.
System Documentation
What problem does it solve?
This skill enables building a self-hosted Python backend for ChatKit using the OpenAI Agents SDK.
Core Features & Use Cases
- Provides a stable, opinionated backend architecture that separates ChatKit transport from Agents SDK reasoning.
- Enables custom endpoints (e.g., /chatkit/api) with streaming support via Runner.run_streamed() and stream_agent_response().
- Supports plug-in of tools, widgets, and client-side interactions while keeping keys and config on the server.
Quick Start
Install the required packages: pip install openai-chatkit agents fastapi uvicorn Create a minimal FastAPI app exposing /chatkit/api and wire ChatKit events to an Agent via create_model() factory. Implement a single, centralized model factory (create_model) and ensure the backend uses Runner.run_streamed() for streaming responses. Run the server and point the ChatKit frontend to your /chatkit/api endpoint.
Dependency Matrix
Required Modules
None requiredComponents
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: openai-chatkit-backend-python Download link: https://github.com/Hamza123545/Todo_giaic_five_phases/archive/main.zip#openai-chatkit-backend-python Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.