Directory Structure
Environment Variables
User home directory (macOS standard).RCLI uses
$HOME to locate default directories:- Models:
$HOME/Library/RCLI/models - Index:
$HOME/Library/RCLI/index - Config:
$HOME/Library/RCLI/config
Override RCLI installation root (for development builds).Used by
rcli setup to locate the scripts/download_models.sh script in development environments.Terminal color scheme detection.RCLI reads
$COLORFGBG to detect dark/light terminal backgrounds and adjusts TUI theme automatically.Set by most modern terminals (iTerm2, Terminal.app, etc.).Configuration File
Plain text config file storing active model selections.Format:Managed by:
rcli models- Interactive model pickerrcli upgrade-llm- LLM upgrade wizardrcli upgrade-stt- STT upgrade wizardrcli voices- TTS voice picker
Model Storage
AI models directory.Default location for all models. Override with Total size: ~1-5 GB depending on installed models.
--models flag:Model Files
Model Files
lfm2-1.2b-tool-q4_k_m.gguf(731 MB, default)lfm2-350m-q4_k_m.gguf(219 MB)lfm2.5-1.2b-instruct-q4_k_m.gguf(731 MB)lfm2-2.6b-q4_k_m.gguf(1.5 GB)qwen3-0.6b-q4_k_m.gguf(456 MB)qwen3.5-0.8b-q4_k_m.gguf(600 MB)qwen3.5-2b-q4_k_m.gguf(1.2 GB)qwen3-4b-q4_k_m.gguf(2.5 GB)qwen3.5-4b-q4_k_m.gguf(2.7 GB)
Zipformer (streaming):
sherpa-onnx-streaming-zipformer-en-2023-06-26/*.onnx(50 MB total)
whisper-base.en-encoder.onnx(140 MB)whisper-base.en-decoder.onnx
parakeet-tdt-0.6b-v3/*.onnx(640 MB)
piper-en_US-lessac-medium.onnx(60 MB, default)piper-en_US-amy-medium.onnx(60 MB)kitten-tts-nano-0.8.onnx(90 MB, 8 speakers)matcha-ljspeech.onnx(100 MB)kokoro-en-v0.19.onnx(310 MB, 11 speakers)kokoro-multi-v1.1.onnx(500 MB, 103 speakers)
silero_vad.onnx(0.6 MB)
snowflake-arctic-embed-s-q8_0.gguf(34 MB)
RAG Index
RAG vector index and metadata.Created by:Loaded by:Contents:
vector.usearch- HNSW vector index (USearch)bm25.bin- BM25 full-text indexchunks.json- Document chunks and metadatamanifest.json- Index configuration
Action Preferences
Action enable/disable preferences.Format:Managed by:
- TUI Actions panel (press
A) rcli_set_action_enabled()API
Permissions
Required for
rcli listen and interactive push-to-talk.Location: System Settings → Privacy & Security → MicrophoneEnable for your terminal app (Terminal.app, iTerm2, or Cursor).RCLI automatically requests permission on first voice command.Required for some actions (window management, app control).Location: System Settings → Privacy & Security → AccessibilityEnable if actions like
fullscreen_window or close_window fail.Temporary Files
TTS audio output files.RCLI synthesizes TTS to temp WAV files, plays via
afplay, then deletes after playback.Files are cleaned up automatically unless RCLI is force-killed.Cleanup
Migration
To move RCLI to a different models directory:Disk Space
Minimal Install (~1 GB)
Minimal Install (~1 GB)
Default
rcli setup downloads:- LFM2 1.2B LLM (731 MB)
- Whisper base.en (140 MB)
- Zipformer streaming STT (50 MB)
- Piper Lessac TTS (60 MB)
- Silero VAD (0.6 MB)
- Snowflake embeddings (34 MB)
Full Install (~5 GB)
Full Install (~5 GB)
All models downloaded:
- 9 LLM models (456 MB - 2.7 GB each)
- 3 STT models (50 MB - 640 MB)
- 6 TTS voices (60 MB - 500 MB)
- VAD + embeddings (35 MB)
RAG Index (~10-100 MB per 1000 docs)
RAG Index (~10-100 MB per 1000 docs)
Index size depends on:
- Number of documents
- Document size
- Chunk size (default 512 tokens)
Troubleshooting
Models Not Found
Models Not Found
RAG Index Corrupt
RAG Index Corrupt
Config Reset
Config Reset
Related
Commands
Complete command reference
Options
Command-line flags and parameters