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.
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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 45.7 MB
Release files / litechat_py-0.3.1-py3-none-win_arm64.whl
| Download URL | litechat_py-0.3.1-py3-none-win_arm64.whl |
|---|---|
| Size | 6.2 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
faf25d73ed4a4ae3f8bc607cf3e0481c1e728345d4f51053981edab2a808552e
|
|
BLAKE2b-256 checksum How to use checksums |
5478ff47082bf4ba3a8588a7ca7c1785bbeafff949aa8b1394342a2cc0073884
|
| 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 logRelease files / litechat_py-0.3.1-py3-none-win_amd64.whl
| Download URL | litechat_py-0.3.1-py3-none-win_amd64.whl |
|---|---|
| Size | 6.8 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1bde1ce7aff2b3b82863d055413c8953ab687fccefa5931c8b6b0a8f356f70e6
|
|
BLAKE2b-256 checksum How to use checksums |
b1ba7c33fd892ce1a2db55bd8a933ff515fcd4aef797e4526b2eb92ee2105147
|
| 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 logRelease files / litechat_py-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl
| Download URL | litechat_py-0.3.1-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 |
9e8e2b9580095428ccbd123f1769cd4ace83cf63c0824ce55e0e8d9b923292f3
|
|
BLAKE2b-256 checksum How to use checksums |
12de4f41eae4caedf57c5567986e6b84f46133ae0875eab6c0b89909100f71ac
|
| 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 logRelease files / litechat_py-0.3.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl
| Download URL | litechat_py-0.3.1-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 |
ddedc5ef0991768ba60a5a0df807f074d11659995994b2d268961944cc1ef766
|
|
BLAKE2b-256 checksum How to use checksums |
87665ac927c6695b0c396c1466690294ae330e4a0ffdb01f7a732b90012a0758
|
| 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 logRelease files / litechat_py-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
| Download URL | litechat_py-0.3.1-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 |
eff2c27af5ffbe550f408e5baff0f99b19b3547edde2fe346d7b1f27f8c67c2d
|
|
BLAKE2b-256 checksum How to use checksums |
29b546544a71dc118f17dc2042687dd403f32da20b3c52a6ae932dc5a9d38c20
|
| 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 logRelease files / litechat_py-0.3.1-py3-none-macosx_12_0_x86_64.whl
| Download URL | litechat_py-0.3.1-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 |
b4c2ed7df61ba39cf470fbdce13d54ff8696000200dd9e85fce65574cb5e1420
|
|
BLAKE2b-256 checksum How to use checksums |
af1368731b8d08a290845614279b2ae5432a80b7baab068c6dc01c522d15eefe
|
| 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 logRelease files / litechat_py-0.3.1-py3-none-macosx_12_0_arm64.whl
| Download URL | litechat_py-0.3.1-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 |
84463bed0528bc68e0b94e4a78abad65ac2da76caa4ab396d7e0dffa074e68ce
|
|
BLAKE2b-256 checksum How to use checksums |
131160e17afffe3444f56fa44826e9e3b55dad04f43eca18c9f07c7fbb835057
|
| 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 logSecurity for litechat-py 0.3.1
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.
Attestation for litechat_py-0.3.1-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 logA 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.