AI in your terminal.

Chat with local and cloud AI models. Query your own documents with RAG. All from the terminal.

user@litemind ~ $
$ litemind-cli
 
_ _ _ __ __ _ _ ____ _ ___
| | (_) |_ ___| \/ (_)_ __ __| | / ___| | |_ _|
| | | | __/ _ \ |\/| | | '_ \ / _` | | | | | | |
| |___| | || __/ | | | | | | | | (_| | | |___| |___ | |
|_____|_|\__\___|_| |_|_|_|_|\__,_| \____|_____|___|
 
Terminal interface for LiteMindUI · Chat · RAG
 
$ litemind-cli status
Backend: Healthy at localhost:8000
Models: openai/gpt-5.6-luna-pro, ~anthropic/claude-fable-latest, deepseek/deepseek-v4-pro-0813
 
$ Ready. Type a message or press Q to quit.

Features

Streaming Chat

Full conversation history with real-time streaming. Works with Ollama, OpenRouter, and NVIDIA NIM.

$ litemind-cli> What is RAG?RAG retrieves docs before answering, so you always see your latest data. No retraining needed.

Document RAG

Upload PDFs, Word docs, spreadsheets. Query with natural language.

$ litemind-cli rag Query: Security risks?[From 12 uploaded docs] Injection attacks — top risk Access control needs review

Multi-Provider

Switch between Ollama, OpenRouter, and NIM inline. No restart.

Providers: [Ollama] OpenRouter  NIMModels:   openai/gpt-5.6-luna-pro | ~anthropic/claude-fable-latest | deepseek/deepseek-v4-pro-0813Switch with Ctrl+1/2/3

Quick Start

Get up and running in under a minute.

user@litemind ~ $
$ pip install litemind-cli
# Start the backend (Docker)
$ curl -fsSL https://raw.githubusercontent.com/debabratamishra/litemind-ui/main/install.sh | bash
# Launch the TUI
$ litemind-cli
# Check connectivity
$ litemind-cli status

How It Works

LiteMind CLI is a terminal frontend for the LiteMindUI backend. It streams responses over SSE and supports RAG with multiple document formats.

01

Start Backend

Run the LiteMindUI backend via Docker or from source. It serves the REST API at localhost:8000.

02

Install CLI

Install from PyPI or build from source. The TUI launches with litemind-cli.

03

Chat & Query

Chat with AI models, upload documents for RAG, and switch providers inline - all without leaving your terminal.

Part of the LiteMind ecosystem

LiteMind CLI is the terminal frontend for the LiteMindUI backend - a fullstack AI platform with REST API, Web UI, and Docker deployment.