NL-OS-Agent — Fine-Tuned NVIDIA Nemotron-3-Nano-4B (Dense GGUF)
This repository hosts the official quantized GGUF model for NL-OS-Agent, a safety-verified, AI-native operating system shell assistant that translates natural language requests into deterministic, AST-verified system commands.
- Primary Project Repository: github.com/Siva-0317/nl-os-agent
- Base Model: NVIDIA Nemotron-3-Nano-4B (Hybrid Mamba-2 & Transformer)
- Quantization:
Q4_K_M(4-bit Medium K-quant, ~2.85 GB) - Runtime:
llama.cpp/llama-server(supports CUDA, Vulkan, and CPU AVX2/AVX-512)
🎯 Model Overview
The model is fine-tuned to act as a grounded local operating system assistant across Windows PowerShell, Command Prompt, and Bash:
- Safety-Aligned Planning: Evaluates command intent and distinguishes between non-destructive read operations and state-altering mutations.
- Ambiguity Resolution: Proactively asks for clarification when natural language queries lack precise paths or scopes.
- Restored Hybrid Metadata: Architecture metadata (
nemotron_h) has been restored to ensure flawless execution inllama.cppandllama-serverwithout missing tensor warnings.
🚀 Running with llama-server / llama.cpp
You can run this model directly via llama-server:
llama-server \
-m NVIDIA-Nemotron-3-Nano-4B-Dense-Q4_K_M.gguf \
--port 8080 \
-c 4096 \
-ngl 99
For pure CPU inference (no GPU required):
llama-server \
-m NVIDIA-Nemotron-3-Nano-4B-Dense-Q4_K_M.gguf \
--port 8080 \
-c 4096 \
-ngl 0 \
-t 8
🛡️ Integration with NL-OS-Agent
When used inside NL-OS-Agent, the output of this model is continuously intercepted and validated by:
- Deterministic AST Effect Simulation: Prevents hallucinated or destructive wildcard commands.
- Reversible Quarantine Vault: Backs up affected files prior to command commit, providing one-click byte-exact rollback (
nlctl undo). - 100% Offline Air-Gapped Execution: No user prompts or filesystem metadata ever leave the local machine.