# WebSocket support is now available for Python Functions

> Source: <https://vercel.com/changelog/websocket-support-is-now-available-for-python-functions>
> Published: 2026-07-23 00:00:00+00:00

Vercel now supports WebSocket connections for Python applications.

WebSockets enable bidirectional communication between client- and server-side code, powering real-time features like interactive AI streaming, real-time chat, and multiplayer live collaboration. Both ASGI and WSGI applications are supported, including frameworks like FastAPI, Django, and Flask.

Explore the [FastAPI AI Chat](https://github.com/vercel/examples/tree/main/websockets/fastapi-ai-chat) and [Flask AI Chat](https://github.com/vercel/examples/tree/main/websockets/flask-ai-chat) examples, or [read the WebSockets documentation](https://vercel.com/docs/functions/websockets#python-frameworks) to get started.
