Instructions to use shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF", filename="qwen3-agentic-terminal-q4_k_m.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF:Q4_K_M
Use Docker
docker model run hf.co/shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF with Ollama:
ollama run hf.co/shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF:Q4_K_M
- Unsloth Studio
How to use shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF to start chatting
- Pi
How to use shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF with Docker Model Runner:
docker model run hf.co/shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF:Q4_K_M
- Lemonade
How to use shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen3-0.6B-Agentic-Terminal-GGUF-Q4_K_M
List all available models
lemonade list
🚀 Qwen3-0.6B Agentic Terminal (GGUF)
A highly optimized, ultra-lightweight (0.6B parameter) AI agent designed specifically for terminal automation and structured function calling.
This model was fine-tuned to bridge the gap between natural language and command-line execution, making it perfect for local homelabs, edge devices, and lightweight local assistants. It has been mathematically fused and quantized to Q4_K_M via llama.cpp for blazing-fast CPU inference.
🧠 Model Details
- Base Model: Qwen/Qwen3-0.6B
- Architecture: Qwen3 (Transformer)
- Parameter Count: 0.6 Billion
- Quantization Format: GGUF (
Q4_K_M) - Ultra-fast, optimized for standard CPUs/RAM. - Context Length: 40,960 tokens
- Author: @shr3y
🛠️ Training & Methodology
This model was trained using a custom Multi-GPU Distributed Data Parallel (DDP) pipeline via Hugging Face Accelerate.
- Fine-tuning method: LoRA (Rank 16, Alpha 32) targeting
q_projandv_proj. - Datasets Mixed: 1.
NousResearch/hermes-function-calling-v1(For structured tool use/JSON outputs)nvidia/Nemotron-Terminal-Corpus(For multi-turn terminal CLI trajectories)
- Prompt Format: ChatML
💻 How to Use
Because this model is in the GGUF format, it can be run seamlessly using llama.cpp, LM Studio, Ollama, or GPT4All.
Option 1: CLI (llama.cpp)
# Download the model
wget [https://huggingface.co/shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF/resolve/main/qwen3-agentic-terminal-q4_k_m.gguf](https://huggingface.co/shr3y/Qwen3-0.6B-Agentic-Terminal-GGUF/resolve/main/qwen3-agentic-terminal-q4_k_m.gguf)
# Run interactive chat with the ChatML template
./llama-cli -m qwen3-agentic-terminal-q4_k_m.gguf -p "<|im_start|>system\nYou are a helpful terminal agent.<|im_end|>\n<|im_start|>user\nList all files in the current directory.<|im_end|>\n<|im_start|>assistant\n" -n 512
Option 2: Python (llama-cpp-python)
from llama_cpp import Llama
# Load the model
llm = Llama(
model_path="./qwen3-agentic-terminal-q4_k_m.gguf",
n_ctx=4096,
n_threads=4,
)
# Generate a response
response = llm.create_chat_completion(
messages = [
{"role": "system", "content": "You are a specialized terminal automation agent. Provide exact CLI commands."},
{"role": "user", "content": "How do I find all python files modified in the last 7 days?"}
]
)
print(response['choices'][0]['message']['content'])
📝 Prompt Template (ChatML)
This model natively uses the ChatML format. If you are writing custom integration code, ensure your prompts are wrapped accordingly:
<|im_start|>system
You are a helpful terminal agent.<|im_end|>
<|im_start|>user
Write a bash script to backup my documents.<|im_end|>
<|im_start|>assistant
⚠️ Limitations
While highly capable for its size, this is a 0.6B parameter model. It excels at targeted, specific terminal commands and function calling formats, but may struggle with highly abstract reasoning or complex, multi-stage logic puzzles compared to 7B+ models. Keep system prompts strict and focused for best results.
- Downloads last month
- 193
4-bit