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.2

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.2
File Actions
litechat_py-0.3.2-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for litechat_py-0.3.2-py3-none-win_arm64.whl
litechat_py-0.3.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for litechat_py-0.3.2-py3-none-win_amd64.whl
litechat_py-0.3.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl Python 3 none Linux musl 1.1+ x86-64, Linux glibc 2.17+ x86-64 Details for litechat_py-0.3.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl
litechat_py-0.3.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl Python 3 none Linux glibc 2.17+ ARMv7l, Linux musl 1.1+ ARMv7l Details for litechat_py-0.3.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl
litechat_py-0.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl Python 3 none Linux musl 1.1+ ARM64, Linux glibc 2.17+ ARM64 Details for litechat_py-0.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
litechat_py-0.3.2-py3-none-macosx_12_0_x86_64.whl Python 3 none macOS 12.0+ x86-64 Details for litechat_py-0.3.2-py3-none-macosx_12_0_x86_64.whl
litechat_py-0.3.2-py3-none-macosx_12_0_arm64.whl Python 3 none macOS 12.0+ ARM64 Details for litechat_py-0.3.2-py3-none-macosx_12_0_arm64.whl

Total release size: 45.7 MB

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

Download URL litechat_py-0.3.2-py3-none-win_arm64.whl
Size 6.2 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
dcffc0487a861fa2a4b4aa3ea9a793c669a6074070573ae7fde2823e38cc5383
BLAKE2b-256 checksum
How to use checksums
b5affb458d2d9ba9cf600289e97f209b0dff4fb2dfc27d4827f62aeb57f605c7
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.2-py3-none-win_amd64.whl

Download URL litechat_py-0.3.2-py3-none-win_amd64.whl
Size 6.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
72ebe809ae084c287406ded63ac7933e738c14b0ab38c20e4bc04e646f00cb5a
BLAKE2b-256 checksum
How to use checksums
3a46d49fbd823edf048072d8a750a7f121b04b90068c276c00d8b729f27609bc
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.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl

Download URL litechat_py-0.3.2-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
54d1eec82e7d484bd1f37fcf4f03a4c437737b5addb37f01443bcd65771ab07b
BLAKE2b-256 checksum
How to use checksums
2b9e3b22877dda523ea6395ff29e44bf9bf4c414de687f61f20d655e271d0d31
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.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl

Download URL litechat_py-0.3.2-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
a9c02e7c28e7184de2dfa43fc32922f838b517a73735d14f0e786ff8ae85ad05
BLAKE2b-256 checksum
How to use checksums
75e4e3db2f056313c712cf905579ad328586cc2c36306fcc40cf7ae8c1ffce62
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.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl

Download URL litechat_py-0.3.2-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
b485f7304da0290d563cc7a3e0ba5f4653c7dffff5dd9780834b743491483432
BLAKE2b-256 checksum
How to use checksums
f9fdce82970c0f66ee6fe1c891033a5bd1eeefb1a7066a84a602880527bdbf19
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.2-py3-none-macosx_12_0_x86_64.whl

Download URL litechat_py-0.3.2-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
f383c4550e9aebd5a9f52bec69fd3e209952ea099455208083d1df2884e22a9e
BLAKE2b-256 checksum
How to use checksums
cd5bbabec5ee8c1dc48c791750bb1e39e95926cf5f0607d72944d356743e892f
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.2-py3-none-macosx_12_0_arm64.whl

Download URL litechat_py-0.3.2-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
66297c308e1279f35e92091de63d14d058e76f60afbb23bbbab337995648f295
BLAKE2b-256 checksum
How to use checksums
5bcee9ebdebf72ef052566e82aa2e182346458ff806aad36c744443788b588e0
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.2

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.2-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