sai
Simple AI interface to chat with your Ollama models from the terminal
Features
- Pretty print real time responses in Markdown, using
richlibrary. - Keep conversation context.
- Autodetect and option to select models.
- Add support for custom prompts.
- Add custom roles (reusable prompts).
- Improve performance by preloading models.
- Add conversation persistency (sessions).
Requirements
An Ollama instance is required to get access to local models.
By default, the URL is set to http://localhost:11434.
Install
You can install it using any package manager of your preference like pip,
but the recommended way is uv tool.
Recommended
Using uv:
uv tool install sai-chat
Usage
Start using it in your terminal just by running sai command:
luis@laptop:~ $ sai
╭───────────────────────────────────────────────────────╮
│ Welcome to Sai. Chat with your local LLM models. │
│ │
│ Available commands: │
│ │
│ • /setup : Setup Ollama URL and preferences │
│ • /model : Select a model │
│ • /roles : List and select a role │
│ • /role add : Create a new custom role │
│ • /role delete : Delete a custom role │
│ • /help : Show this help message │
│ • /quit : Exit the application │
╰───────────────────────────────────────────────────────╯
> hi
╭───────────────────────────────── Virtual Assistant ✔ ─╮
│ Hi there! How can I help you today? 😊 │
╰────────────────────── gemma3:1b ──────────────────────╯
>
Status
This project is under development. Feel free to contribute or provide feedback!
Metadata
Release files for sai-chat 0.1.5
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 |
|---|---|---|---|---|
| sai_chat-0.1.5.tar.gz | 7.4 kB | Without provenance | Details for sai_chat-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sai_chat-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for sai_chat-0.1.5-py3-none-any.whl |
Total release size: 17.4 kB
Release files / sai_chat-0.1.5.tar.gz
| Download URL | sai_chat-0.1.5.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f77a71820272c0543de7076edcab4f3ef549ec9eeb2707fed62e3f813ee8cd2
|
|
BLAKE2b-256 checksum How to use checksums |
d77264d670f0bcf084bc761412751f558db20516b942e2eac85b5c6da0678844
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.13
|
Release files / sai_chat-0.1.5-py3-none-any.whl
| Download URL | sai_chat-0.1.5-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cdc97575870d6c4091209d1c7f781749dd8c7191e9956c0a053619816eb53353
|
|
BLAKE2b-256 checksum How to use checksums |
237633cb36d40de35ba7815751cc5b8373fd9133ea95901ea85f366af2af8a2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.13
|
Security for sai-chat 0.1.5
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.