QIA is a high-performance, local AI assistant designed for the terminal. It provides instant technical support, generates executable Bash commands, and writes source code—all running 100% locally on your machine using llama.cpp.
- Total Privacy: Your data never leaves your machine. Inference is performed locally.
- Extreme Speed: Optimized for small, powerful models (like Qwen2.5-Coder) for near-instant responses.
- Context-Aware Profiles: Specialized behaviors for SysAdmins, Developers, and NOC Engineers.
- Interactive UI: Colorful terminal interface with custom palettes and animated feedback.
QIA is designed to be invoked through three main aliases:
q "your question": General technical queries. Brief and direct responses.qdo "task description": Generates executable Bash commands. Includes options to Execute, Refine, or Explain the command.qcode "logic description": Generates pure source code. Allows you to save the output directly to a file.
| Profile | Focus | Best for... |
|---|---|---|
terminal (Default) |
General Linux/Bash/Python | Daily terminal tasks and quick troubleshooting. |
noc |
Networking & Infrastructure | Network diagnostics, security, and infra management. |
python |
Senior Python Development | Clean code, efficient algorithms, and debugging. |
Switch profiles using: qia profile <name>
QIA features a dynamic color system to match your terminal aesthetics:
- Interactive Mode: Run
qia colorto open the visual tester. Use+and-to cycle through 21 palettes (0-20). - Direct Selection:
qia color 12orqia color random. - Minimalist:
qia color 0for a clean grayscale look.
qia status: Check backend health, active model, and profile.qia doctor: Run a full diagnostic of dependencies and environment.qia install: Reinstall or verify the local setup.qia model: List or switch between downloaded GGUF models.qia stop: Terminate the local inference server.qia update: Pull the latest version directly from the repository.
- Clone and Install:
git clone https://github.com/0Luchin/qia.git cd qia make install - Verify:
qia doctor
- Ask something:
q "How do I check open ports in Linux?"
If QIA makes your life easier, consider supporting its development: