Home/Inference & Serving/langchain-chat-websockets
langchain-chat-websockets logo

langchain-chat-websockets

pors/langchain-chat-websockets

LangChain LLM chat with streaming response over websockets

GraphCanon updated 6d · GitHub synced 6d

96 stars8 forksLast push 2y HTML Apache-2.0

Decision brief

Async live chat with streaming responses over websockets using FastAPI and OpenAI API.

Good fit when

  • Need async, real-time chat response functionality integrated via websocket connections.
  • Using Docker for deployment simplifies setup across different environments.

Avoid when

  • Project doesn't require asynchronous interaction or streaming responses over websockets.
  • Prefer alternatives that allow customization beyond FastAPI and OpenAI integration.

Observed Jul 12, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Dormant (988d since push)
As of 6d
Provenance
Not a fork · Personal account
As of 6d
Security (OSV)
50 low (50 low)
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

git clone https://github.com/pors/langchain-chat-websockets

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

A repository that provides an implementation of LangChain for facilitating asynchronous live chat responses via websocket connections, leveraging the FastAPI framework and OpenAI's API.

Capability facts

Deploy
Self-host

Source: dockerfile:Dockerfile · Aug 15, 2026

Docker
Dockerfile present

Source: dockerfile:Dockerfile · Aug 15, 2026

Languages
html

Source: github.language · Aug 15, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

LangChain integrationLangChain

Source: README excerpt (regex_v1, Aug 15, 2026)

To run the LangChain chat application using Docker Compose, follow these steps:
Source link
OpenAI APIOpenAI API

Source: README excerpt (regex_v1, Aug 15, 2026)

3. Open the newly created `.env` file in a text editor and add your OpenAI API key:
Source link

Tags

README

Run with Docker Compose

To run the LangChain chat application using Docker Compose, follow these steps:

  1. Make sure you have Docker installed on your machine.

  2. Create a file named .env file

  3. Open the newly created .env file in a text editor and add your OpenAI API key:

    OPENAI_API_KEY=your_openai_api_key_here
    

    Replace your_openai_api_key_here with your actual OpenAI API key.

  4. Run the following command to build the Docker image and start the FastAPI application inside a Docker container:

    docker-compose up --build
    
  5. Access the application at http://localhost:8000.

Thanks to @hwchase17 for showing the way in chat-langchain

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.