$npx skillfedfor your agent

assistant-stream

With conditionsPyPI Dynamic ContentReleased Aug 202691.3K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — assistant_stream-0.0.36-py3-none-any.whl
v0.0.36 · released 2026-08-04 · Python <4.0,>=3.10 · 1 runtime deps: starlette

Yes, if you are building a Python backend for an AI chat application using Starlette and need server-side streaming. The package has low install friction, active maintenance, no known vulnerabilities, and a permissive MIT license. It is a focused tool for a specific use case (streaming responses to assistant-ui frontends) rather than a general-purpose library, so install it only if you are actually building that stack.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later (package specifies >=3.10,<4.0).
  • Low friction install with a single runtime dependency (starlette).
  • Active maintenance with recent releases; last commit 2026-08-14 and 11656 GitHub stars indicate ongoing development.

License · maintenance · safety

permissive license (permissive) — MIT license permits commercial and private use with minimal restrictions; permissive treatment means you can integrate this into proprietary applications without licensing obligations.

last release 2026-08-04 (10 days) · last repo commit 2026-08-14 · 11,656 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 91,292 downloads/mo, #13,527 on PyPI

Verify before relying

pip install assistant-stream

from assistant_stream import StreamingResponse
from starlette.applications import Starlette

app = Starlette()

@app.route('/chat', methods=['POST'])
async def chat(request):
    return StreamingResponse(generate_stream())
  • Whether this package provides the complete streaming infrastructure or is a thin wrapper around Starlette's native streaming capabilities.
  • What specific streaming protocol or format (SSE, chunked transfer, etc.) is used for message delivery.
  • Whether integration with the React assistant-ui library requires additional setup beyond this package.
Same gist for agents: .md · .json

What it is and what it does

assistant-stream is a Python package that adds server-side streaming capabilities to Starlette-based backends, designed to work with the assistant-ui React library for building AI chat applications. It handles the server-side mechanics of streaming responses from language models or AI backends to connected clients in real time, complementing the React frontend's ability to display streaming messages as they arrive.

The package sits in the backend layer of an AI chat stack: you use it to stream responses from your LLM or AI service through a Starlette web server to the browser. It abstracts away the complexity of managing persistent connections and chunked response delivery, letting you focus on the business logic of generating chat responses. With only Starlette as a runtime dependency, it has minimal install friction and integrates into existing Python web applications.

Use it for

  • Stream LLM responses in real time from a Python backend to a React chat interface without waiting for the full response to generate.
  • Build a production chat service where users see tokens or message chunks arrive progressively, improving perceived responsiveness.
  • Integrate with Vercel AI SDK or LangGraph backends to stream tool calls and structured outputs to the frontend as they execute.
  • Add streaming to an existing Starlette application without replacing the entire web framework or rewriting request handling.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building a Python backend for an AI chat application using Starlette and need server-side streaming.

The package has low install friction, active maintenance, no known vulnerabilities, and a permissive MIT license. It is a focused tool for a specific use case (streaming responses to assistant-ui frontends) rather than a general-purpose library, so install it only if you are actually building that stack.

Install

assistant-stream on PyPI

Before you install

Low friction install with a single runtime dependency (starlette). Active maintenance with recent releases; last commit 2026-08-14 and 11656 GitHub stars indicate ongoing development.

Requires Python 3.10 or later (package specifies >=3.10,<4.0).

License in practice

MIT license permits commercial and private use with minimal restrictions; permissive treatment means you can integrate this into proprietary applications without licensing obligations.

Quickstart

pip install assistant-stream

from assistant_stream import StreamingResponse
from starlette.applications import Starlette

app = Starlette()

@app.route('/chat', methods=['POST'])
async def chat(request):
    return StreamingResponse(generate_stream())

Verify before relying

  • Whether this package provides the complete streaming infrastructure or is a thin wrapper around Starlette's native streaming capabilities.
  • What specific streaming protocol or format (SSE, chunked transfer, etc.) is used for message delivery.
  • Whether integration with the React assistant-ui library requires additional setup beyond this package.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release <4.0,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
starlette
MaintenanceActively maintained 10 days since the last release
Last repo commit
First released
Downloads91,292 / month, #13,527 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: assistant_stream-0.0.36-py3-none-any.whl

Tags

Capabilities
server-sent events streamingai chat backend streamingstarlette async streamingreal-time chat responsesllm response streaming python
Topics
streamingai-chatstarlette

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “ai chat backend streaming”

Give your agent the search over MCP, or paste the wish link into any chat.

More Dynamic Content packages

MarkupSafe Worth it
PyPI · Dynamic Content · released Sep 2025

MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.

BSD-3-Clausecompiled wheel · 3.9+aging
797.1Mdownloads / mo
Jinja2 Worth it
PyPI · Dynamic Content · released Mar 2025

Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.

BSD-3-Clausepure Python · 3.7+aging
718.6Mdownloads / mo
soupsieve Worth it
PyPI · Python Modules · released Aug 2026

Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.

Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.

MITpure Python · 3.10+
428.6Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo
Flask Worth it
PyPI · Application Frameworks · released Feb 2026

Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.

BSD-3-Clausepure Python · 3.9+
211.4Mdownloads / mo
Mako Worth it
PyPI · Dynamic Content · released Aug 2026

Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.

MITpure Python · 3.10+
201.7Mdownloads / mo

See also sse-starlette · omnigent-ui-sdk · vanna · livekit-plugins-openai · livekit-plugins-google · shinychat · agent-framework-chatkit · ag-ui-langgraph · pipecat-ai-prebuilt · uipath-langchain-client