CLILLM: a lightweight Go terminal assistant for local LLMs via Ollama
CLILLM is a terminal-based AI assistant written in Go. It runs LLM[1] models entirely on the user's machine through the local Ollama HTTP API at localhost:11434. At startup it detects all installed Ollama models and lets the user pick one.
The /upload command parses local .pdf, .docx, .txt and .md files and lets the user ask questions about them. The session keeps a sliding conversation history window, so the model remembers earlier questions and uploaded documents. Pressing Ctrl+C triggers a clean exit through SIGINT[2] signal handling.
The project requires Go 1.20 or higher, Python 3 with pypdf and python-docx, and Ollama with at least one pulled model, such as llama3.2 or qwen2.5:0.5b. A setup.sh script installs the Python parsers, checks Go and Ollama, and pulls a default model if needed. The project is run with go run . and is distributed under the MIT License.
Read the original github.comDiscussion
Sources
-
GitHub
A lightweight terminal-based AI assistant built with Go, powered by locally running LLMs through the Ollama API.


