Llama-UI 0.4.4
A Python package providing a Rich-powered terminal frontend for llama.cpp, designed with Termux on Android in mind.
Install in Termux
PyPI
You can now install it via Python
pipRun:pip install llama-ui-termux
Building from source
First make sure Python and pip are available:
pkg install python
Extract this project ZIP, enter the extracted Llama-UI-Python directory, then install it:
python -m pip install .
Run the application:
llama-ui
You can also launch it as a Python module:
python -m llama_ui
No Bash launcher or shell installer is included. The llama-ui command is created by Python packaging.
Requirements
- Python 3.9 or newer
rich(installed automatically by pip frompyproject.toml)- A working
llama.cppbuild that providesllama-server
Llama-UI does not include or compile llama.cpp itself.
First launch
The setup wizard asks which llama.cpp build you use:
- Termux repository package — uses
llama-serverfrom yourPATH. - Compiled from source — asks for the directory containing
llama-serverand the directories containing its shared libraries.
It then asks for your GGUF model folder and startup flags. After selecting a model, you can set its system prompt and generation parameters. Both are saved separately for each GGUF model and loaded automatically when you switch models; models without custom values use the defaults.
Features
- Rich menus, tables, panels and Markdown rendering.
- Import/copy a local
.gguffile. - Download a public Hugging Face GGUF using its repository ID and exact filename.
- Configure llama-server startup flags, per-model system prompts, and per-model generation parameters (temperature, top_p, top_k and repeat_penalty).
- Chat commands:
/edit— edit the last user message and submit it again./regen— regenerate the answer to the last user message./new— start a fresh conversation./save— save the current conversation./exit— return to the main menu.
- Ctrl+C interrupts a response while it is streaming.
- History: view, load and delete saved conversations.
- System prompt: view, edit and delete the selected model’s prompt.
- Server controls: start, stop and inspect logs.
Startup flags
Enter llama-server flags only, for example:
-c 4096 -t 4 -ngl 0
Llama-UI adds the selected model (-m), host and port itself. Do not include those options in the flags field.
Source build library paths
For source builds, enter the directory containing the llama-server binary and the directories containing its shared libraries. The app sets LD_LIBRARY_PATH for the server process. Exact paths vary by build configuration.
Configuration files
- Configuration, per-model generation parameters, and per-model system prompts:
~/.config/llama-ui/config.json - Chat history:
~/.config/llama-ui/chats/ - Server log:
~/.config/llama-ui/server.log - Default model folder:
~/models
Important notes
- Check GGUF file size before downloading; models may be several GB and use substantial mobile data.
- Public Hugging Face files are supported; private/gated repositories are not.
- Generation speed is approximate words/second, not tokenizer-accurate tokens/second.
- GPU offload depends on your particular llama.cpp build and Android device.
- The app starts/stops servers it launches itself. It does not automatically stop a server that was already running.
Metadata
Release files for llama-ui-termux 0.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_ui_termux-0.4.4.tar.gz | 14.9 kB | With provenance | Details for llama_ui_termux-0.4.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_ui_termux-0.4.4-py3-none-any.whl | Python 3 | none | any | Details for llama_ui_termux-0.4.4-py3-none-any.whl |
Total release size: 28.9 kB
Release files / llama_ui_termux-0.4.4.tar.gz
| Download URL | llama_ui_termux-0.4.4.tar.gz |
|---|---|
| Size | 14.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57b481fbeea494d1542376e276e7304b2ed1bf7752d33ce41446b3b3764875b3
|
|
BLAKE2b-256 checksum How to use checksums |
0f58457af0d7533ef5dd33feaf1e8c2b36cbda4b50c026f72c396e63e9a4f6de
|
| 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 29, 2026.
Transparency logRelease files / llama_ui_termux-0.4.4-py3-none-any.whl
| Download URL | llama_ui_termux-0.4.4-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f71c1b5b423fb4041c8fab413afe6cea6a69dccb8f483f09400a2110d322dd08
|
|
BLAKE2b-256 checksum How to use checksums |
1fb2cf97c67b9101cb90096775c2a3e4b5b12e13d0d9fe597dc29a4992ae0015
|
| 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 29, 2026.
Transparency logSecurity for llama-ui-termux 0.4.4
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
Both files in this release have been uploaded with provenance metadata.
Attestation for llama_ui_termux-0.4.4.tar.gz
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 29, 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.