skillfed

agent-framework-chatkit

OpenAI ChatKit integration for Microsoft Agent Framework.

agent-framework-chatkit v1.0.0b260730 444.0K downloads/30d#6,625 on PyPI12,804
Permissive license Active released

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-chatkit

uv

uv add agent-framework-chatkit

poetry

poetry add agent-framework-chatkit

Installing 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

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Typing :: Typed

Tags

agent framework chatkit integrationmicrosoft agent framework openaichatkit python agent backendconvert agent responses to chatkitagent framework streaming chatchatkit thread message conversionagentic chat ui integration
agent-frameworkchatkit-integrationstreaming-chat

More Application Frameworks packages

Further reading