Skip to main content

liteChat

A lightweight, self-hosted chat UI for local and cloud LLMs. It runs as one small binary with one SQLite file: no Python, Node or database server at runtime. This package installs that binary as the litechat command.

liteChat

Install and run

pipx install litechat-py      # or: uv tool install litechat-py, or pip install litechat-py
litechat

Or run it once without installing: uvx --from litechat-py litechat.

Open http://localhost:3000 and choose a password. liteChat finds AI servers running on the machine, such as Ollama, llama.cpp or LM Studio, and adds them in one click. You can also add OpenAI-compatible APIs and Anthropic.

Options: --port 8080, --host 127.0.0.1 (this machine only), --data <folder>, --password <pw>; litechat --help lists them all. Chats are stored in ~/.local/share/litechat on Linux, ~/Library/Application Support/litechat on macOS and %LocalAppData%\litechat on Windows, unless you pass --data.

Wheels are available for Linux (x86-64, ARM64, ARMv7), macOS 12+ (Intel and Apple Silicon) and Windows (x86-64, ARM64). For other platforms, use a release download or the Docker image.

Use it from Python

import litechat

# run a server in the background (127.0.0.1, any free port)...
with litechat.Server(password="secret") as server:
    client = server.client()
    client.add_provider("Ollama", "http://localhost:11434/v1")

    print(client.ask("Why is the sky blue?", model="qwen3.5:4b"))

    chat = client.new_chat(model="qwen3.5:4b")
    for piece in chat.stream("Tell me a story"):
        print(piece, end="", flush=True)

# ...or connect to one that's already running
client = litechat.Client("http://localhost:3000", password="secret")

Chats made from Python show up in the web app, and the other way round. The library uses only the standard library. Full guide: docs/python.md.

The import name is litechat; an unrelated PyPI package is also called litechat, so don't install both in one environment.

Features

  • Streaming chat with branching: edit messages, regenerate replies, switch between versions
  • Replies generate on the server, so they survive closed tabs
  • Tools through MCP servers
  • Images, PDF, DOCX and code attachments
  • Full-text search, and optional search by meaning
  • Import from ChatGPT and Open WebUI; export to JSON or Markdown

Documentation, Docker setup and source code: https://github.com/erinoooo/litechat

Metadata

Release files for litechat-py 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for litechat-py 0.3.0
File Actions
litechat_py-0.3.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for litechat_py-0.3.0-py3-none-win_arm64.whl
litechat_py-0.3.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for litechat_py-0.3.0-py3-none-win_amd64.whl
litechat_py-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64, Linux musl 1.1+ x86-64 Details for litechat_py-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl
litechat_py-0.3.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl Python 3 none Linux musl 1.1+ ARMv7l, Linux glibc 2.17+ ARMv7l Details for litechat_py-0.3.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl
litechat_py-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64, Linux musl 1.1+ ARM64 Details for litechat_py-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
litechat_py-0.3.0-py3-none-macosx_12_0_x86_64.whl Python 3 none macOS 12.0+ x86-64 Details for litechat_py-0.3.0-py3-none-macosx_12_0_x86_64.whl
litechat_py-0.3.0-py3-none-macosx_12_0_arm64.whl Python 3 none macOS 12.0+ ARM64 Details for litechat_py-0.3.0-py3-none-macosx_12_0_arm64.whl

Total release size: 45.7 MB

Release files / litechat_py-0.3.0-py3-none-win_arm64.whl

Download URL litechat_py-0.3.0-py3-none-win_arm64.whl
Size 6.2 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
5101d3fb472b8ea9e9d14fbb15fa34f7ed38c81e33bb673c3b55d4f606140026
BLAKE2b-256 checksum
How to use checksums
9b80439a0342ccffae2d8fc5c75431f201b65aca2047b47c8eed518081526875
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / litechat_py-0.3.0-py3-none-win_amd64.whl

Download URL litechat_py-0.3.0-py3-none-win_amd64.whl
Size 6.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
f458c28da42b84e61e35e554de6a53ddea7c08802fa21d02c588af6124a8fb3d
BLAKE2b-256 checksum
How to use checksums
6652b2a9865b85ee7c68a80961ec3d3b1790224a9d17ab8a6324fff3854b173c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / litechat_py-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl

Download URL litechat_py-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl
Size 6.8 MB
Tags Linux glibc 2.17+ x86-64 Linux musl 1.1+ x86-64 Python 3
SHA-256 checksum
How to use checksums
f71a7fa4f7fe7f605f70fa500bffc81e49374150f05e1552475f4122b9f7ceec
BLAKE2b-256 checksum
How to use checksums
5be71dc86a51dc263f3af2b17bea72b9a28d6207907647ae8e818dc5ad5ac525
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / litechat_py-0.3.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl

Download URL litechat_py-0.3.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl
Size 6.5 MB
Tags Linux glibc 2.17+ ARMv7l Linux musl 1.1+ ARMv7l Python 3
SHA-256 checksum
How to use checksums
042db86e4543319a0a2467857ffcf4aba8a6d46a22e7a1979422be88b3fb8195
BLAKE2b-256 checksum
How to use checksums
467e582ffca4c8d04125f47f494ff9f9c429d19821d5ae1462fba86d9bfbddae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / litechat_py-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl

Download URL litechat_py-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Size 6.3 MB
Tags Linux glibc 2.17+ ARM64 Linux musl 1.1+ ARM64 Python 3
SHA-256 checksum
How to use checksums
df7a6bdde262597328166ba4f94e221fd0f1bcd33ecc8ec42eb0cf21f6cff38c
BLAKE2b-256 checksum
How to use checksums
ff3dc0a042c5bbce807a88eccb398b9d8c7822859be587e7f51935aa2eb46997
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / litechat_py-0.3.0-py3-none-macosx_12_0_x86_64.whl

Download URL litechat_py-0.3.0-py3-none-macosx_12_0_x86_64.whl
Size 6.8 MB
Tags Python 3 macOS 12.0+ x86-64
SHA-256 checksum
How to use checksums
a6a69739721fe8d389bad82da0fece6ae9bae1d1ef58dcea50dbe17949a3f872
BLAKE2b-256 checksum
How to use checksums
8c50258a5808f7964e9931eee8b9eb2570cee400194d7299dd8eeea48cb8bf06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / litechat_py-0.3.0-py3-none-macosx_12_0_arm64.whl

Download URL litechat_py-0.3.0-py3-none-macosx_12_0_arm64.whl
Size 6.4 MB
Tags Python 3 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
f312c79d1ce9b3929e030d25c4f4ed1d1f9ca2ee347ca3a684f44bb8bb8e2081
BLAKE2b-256 checksum
How to use checksums
5920d4ada166dc6d8466f69d2b3dddb1c92de13b161ec9f7ce50b2e11bac86d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Security for litechat-py 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for litechat_py-0.3.0-py3-none-win_arm64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page