NEKKO AGENT Docs

Using Nekko Agent

Engines

View as Markdown llms.txt

An engine (Nekko Agent also calls it a runtime) is the program that actually runs a local model. Nekko Agent manages four engines for text models. You install each from Models › Local model server › Engines: an engine you do not have shows a download mark beside its size. Select it and Nekko Agent asks first, showing how much disk space it takes and what it downloads with it (AirLLM brings Python and PyTorch, for example). Nothing is downloaded until you press Install.

A drafter is a small companion model that works alongside the main one to speed up replies. The model's Ways to run section shows which drafters Nekko has tested and measured. See Drafters for the full explanation.

The engine follows the file. A GGUF file runs in llama.cpp (or in flyx, once you choose it on an NVIDIA card), an MLX folder in MLX-LM, and an original Hugging Face checkpoint (safetensors) in AirLLM. A model's Load settings start with an Engine row that shows which engine will run it. The other engines are listed there with the kind of file each one needs. The info icon beside each engine opens the comparison below.

Servers you already run (Ollama, LM Studio, vLLM) are not managed engines. Nekko Agent connects to them instead. See Running models locally.

At a glance

llama.cpp MLX-LM AirLLM
Runs GGUF files (quantized) MLX folders Hugging Face safetensors folders (original weights)
Where Windows, macOS, Linux; CPU, NVIDIA (CUDA), any GPU (Vulkan), Apple (Metal), AMD (HIP) Apple Silicon Macs NVIDIA GPU on Windows and Linux (the CPU otherwise); Apple Silicon Macs for Llama and Mistral-style models
Speed Fast; the default Fast on a Mac Very slow: seconds to minutes per token
Memory The model, plus its cache, must fit; layers that don't fit spill to the CPU The model must fit in the Mac's shared memory About one layer at a time: a 70B model in about 4 GB of graphics memory
Disk The file The folder The folder, plus a one-time split of about the same size (less when compressed)
Install Tens of MB (several hundred for CUDA) About 420 MB About 2.6 GB with PyTorch (about 600 MB on a Mac)
Best for Almost everything Macs, when an MLX build of the model exists A model far bigger than your graphics card, for background or batch work

llama.cpp

How it works in Nekko Agent. The default engine. Nekko Agent downloads a build from llama.cpp's own releases, chosen from the GPU it actually finds, and starts one llama-server per loaded model. GGUF files are quantized (4-bit Q4_K_M is the usual choice), so a model takes a fraction of its original size.

Tradeoffs. It's the fastest general choice and runs everywhere. When a model doesn't fit in graphics memory, the layers that don't fit run on the CPU, which is slower but still works. The fit bar and verdicts on the Models page come from this engine's planner. More in Running models locally.

MLX-LM

How it works in Nekko Agent. Apple's MLX framework for Apple Silicon. Nekko Agent installs mlx-lm with a pinned uv into a Python of its own under the engine folder, and runs mlx_lm.server for each loaded model. It reads MLX folders, most often from mlx-community on Hugging Face.

Tradeoffs. It's fast on a Mac and uses the shared memory directly. It runs on Apple Silicon only. Its cache stays at full precision (f16), and LoRA adapters and llama.cpp's tuning settings don't apply. DFlash2 for stock Qwen3.8-27B uses mlx-vlm instead (details).

flyx

How it works in Nekko Agent. flyx (Apache-2.0, enwove/flyx v0.2.3) is a single-binary inference server for NVIDIA cards. Nekko Agent downloads the one pinned release file for your system (about 60 MB on Windows and Linux, x64), checks its SHA-256 and starts one flyx serve per loaded model. It needs an RTX 30 series card or newer (compute capability 8.0 or higher) and NVIDIA driver 580 or newer. A machine that falls short sees the reason on the engine's row ("NVIDIA RTX 30 series or newer" or "Requires NVIDIA driver 580 or newer").

What it runs. GGUF files of the architectures flyx reads: Qwen3.5 and Qwen3.8 (qwen35), Qwen3 (qwen3), Qwen4Exp (qwen4exp) and Inkling 2 (inkling2_loop). A GGUF of any other architecture, such as a Llama or Gemma, loads on llama.cpp even while flyx is in use, and the log says so. Vision files, LoRA adapters and llama.cpp's tuning settings are not wired to flyx yet.

When a model loads on it. Install it under Models › Local model server › Engines, then press Use. If you never choose, the fastest installed engine is in use, and flyx is faster than llama.cpp on a card that can run it. A load that carries a run option naming flyx (for example qwen3.8-27b/flyx/dspine) goes to flyx whichever engine is in use.

Drafting. With nothing asked for, flyx runs its own default: the GGUF's built-in multi-token-prediction layer plus prompt lookup. Nekko attaches a separate drafter only when the load asks for one, either through a run option or by choosing a draft model, and only when it was made for that model. See Use DSpine with Qwen3.8-27B. A drafter made for a different model is refused with the reason, and nothing is loaded.

Tradeoffs. It is newer and far less tested than llama.cpp. It runs NVIDIA cards on Windows and Linux only.

AirLLM

How it works in Nekko Agent. AirLLM (Apache-2.0) runs a model one layer at a time. Only the layer in use sits in graphics memory, and the rest stays on disk. Nekko Agent installs airllm 4.0.1 with a pinned uv into a Python of its own, with the PyTorch build that matches your NVIDIA driver. AirLLM has no server of its own, so Nekko Agent runs a small script that serves the model over the same OpenAI-compatible API as the other engines. It reads original Hugging Face checkpoints: a folder with config.json and .safetensors files, from the Hugging Face cache, a folder you add, or Find new models › Safetensors (AirLLM).

The first load. AirLLM splits the model into one file per layer, once. This needs about the model's size in free disk (about 55% of it with 8-bit compression, about 30% with 4-bit) and can take a long time for a big model. Nekko Agent checks the space first and won't start a split that can't fit. The split is kept under the engine folder, never in the model's own folder, and later loads reuse it. Deleting the model or uninstalling AirLLM removes it.

Compression. 4-bit and 8-bit shrink the weights for a faster and smaller split, with a small cost in quality. They need an NVIDIA card. On a Mac, AirLLM runs uncompressed.

Tradeoffs. Every new token reads the whole model from disk again, so replies take seconds to minutes per token. A fast NVMe drive helps most. That suits background automations and batch jobs, not live chat. It generates one reply at a time. On a Mac it runs Llama and Mistral-style models only and doesn't stream. Pictures in a message are dropped. On a machine without an NVIDIA card it falls back to the CPU, which is slower still. Nekko Agent hasn't measured its speed yet.

Basalt

Basalt is NVIDIA's custom NVFP4 inference engine for Blackwell (RTX 50 series) GPUs. It runs .basalt packs: single-file bundles that bake weights, tokenizer, and a speculative-decoding drafter into one binary. Nekko Agent downloads Basalt v0.6.2 and installs it under its engine folder.

When it runs. Basalt requires an NVIDIA Blackwell GPU (RTX 5050 through 5090, RTX PRO Blackwell, or the DGX Spark's GB10). On other hardware, the engine shows "NVIDIA RTX 50 series only" and is not installed or used.

How Nekko Agent runs a pack. Basalt takes a JSON config file (not CLI flags) that names the pack, the listening address, and the alias it advertises under /v1/models. Nekko Agent generates that config at load time, writes it to a temporary file, and passes it to basalt serve --config <path>. The CUDA 13 runtime Basalt needs is downloaded with it (a pinned, checksummed copy of llama.cpp's CUDA runtime, about 430 MB) into Basalt's own folder, so it works without llama.cpp installed and is put first on PATH when the pack starts. The Install button shows the whole download size first.

When it is used. A .basalt pack always loads on Basalt, by its format, the way a Hugging Face safetensors folder loads on AirLLM. Basalt is never picked for speed or stability and never takes a GGUF: press Use on its row if you want it shown as the engine in use.

Tradeoffs. Only .basalt packs run; GGUF, MLX and safetensors files are not supported. Packs currently exist only for selected models. NVFP4 quantisation gives high speed at a small quality cost versus full precision.