agent-framework-chatkit
OpenAI ChatKit integration for Microsoft Agent Framework.
What it is and what it does
This package is a bridge layer that lets you run a Microsoft Agent Framework agent as the backend for an OpenAI ChatKit chat interface. It handles the translation between the two systems: converting ChatKit thread messages into the format Agent Framework expects, and converting Agent Framework's streamed responses back into ChatKit events that the frontend can display.
The package provides three main helpers: `simple_to_agent_input` to quickly convert a ChatKit thread into Agent Framework messages, `stream_agent_response` to stream agent outputs back to ChatKit, and `ThreadItemConverter` as an extensible class for custom message transformations. It depends on agent-framework-core and openai-chatkit. The frontend UI itself requires internet access to OpenAI's CDN and is not self-hostable, though the backend components are fully open source.
Use it for:
- Build a chat application where an Agent Framework agent with custom tools responds to user messages through a ChatKit UI.
- Stream long-running agent operations (tool calls, reasoning steps) to a ChatKit frontend in real time.
- Convert existing ChatKit thread history into Agent Framework message format to maintain conversation context across agent runs.
- Extend ThreadItemConverter to handle domain-specific message types or metadata from ChatKit threads.
- Deploy an agentic backend that integrates with OpenAI's ChatKit platform without building custom frontend code.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Bridges Microsoft Agent Framework agents with OpenAI ChatKit, converting between Agent Framework message formats and ChatKit thread events for integrated agentic chat applications.
Yes, if you are building an Agent Framework agent and want to expose it through ChatKit's UI. The package is actively maintained, has low install friction, and provides the exact integration layer needed. However, be aware that ChatKit's frontend requires internet connectivity to OpenAI's CDN—this is a hard blocker for air-gapped or highly regulated environments. The package is still in beta; verify that the threading and streaming behavior meets your production requirements before committing.
Install
agent-framework-chatkit on PyPI
pip
pip install agent-framework-chatkituv
uv add agent-framework-chatkitpoetry
poetry add agent-framework-chatkitInstalling agent-framework-chatkit
Before you install
Low friction install with two direct dependencies. Package is in beta (version 1.0.0b260730) but actively maintained—released 15 days ago with recent commits. Supports Python 3.10 through 3.13.
License in practice
MIT license (permissive). No restrictions on commercial or private use.
Quickstart
pip install agent-framework-chatkit --pre
from agent_framework_chatkit import simple_to_agent_input, stream_agent_response
# Convert ChatKit thread items to Agent Framework messages
agent_messages = await simple_to_agent_input(thread_items)
# Stream agent responses back to ChatKit events
async for event in stream_agent_response(response_stream, thread_id):
yield event
Requires Python 3.10+. ChatKit frontend requires internet connectivity to OpenAI's CDN (cdn.platform.openai.com); not suitable for air-gapped environments.
Verify before relying
- Whether ThreadItemConverter's extensibility covers all custom message types needed in production deployments
- Performance characteristics when streaming large conversation histories through simple_to_agent_input
- Compatibility guarantees between agent-framework-core and openai-chatkit versions
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — agent-framework-core, openai-chatkit |
| Maintenance | actively maintained — 15 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 444,031/month — #6,625 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: agent_framework_chatkit-1.0.0b260730-py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
openai-chatkitA backend SDK for building chat applications…
unclear · top 15,000 on PyPI
agent-framework-openaiProvides OpenAI and Azure OpenAI integration…
permissive · top 5,000 on PyPI
agent-frameworkBuilds and orchestrates AI agents powered by…
permissive · top 5,000 on PyPI
agent-framework-coreBuild, orchestrate, and deploy AI agents and…
permissive · top 5,000 on PyPI
agent-framework-devuiProvides a lightweight web UI and…
permissive · top 15,000 on PyPI
llama-index-agent-openaiIntegrates OpenAI language models with…
permissive · top 5,000 on PyPI
openai-agentsA framework for building multi-agent LLM…
permissive · top 1,000 on PyPI
agent-framework-ag-uiConnects Agent Framework agents and workflows…
permissive · top 15,000 on PyPI
livekit-plugins-azureIntegrates Azure AI services, particularly…
permissive · top 15,000 on PyPI
assistant-streamProvides server-side streaming support for AI…
permissive · top 15,000 on PyPI