Home / use case

A Baroque music events calendar fed by a local Qwen agent on a home llama.cpp server

At a glance
Hardware
Linux server with 64 GB RAM, a 20-core Intel i7 and an Nvidia RTX 4060 Ti with 16 GB VRAM
Models & engines
llama.cpp installed from its official install script (CUDA support included), run as `llama serve`
Models pulled straight from Hugging Face with -hf, such as nvidia/NVIDIA-Nemotron-3.5-Bolt-E4B-4GB, or local GGUFs such as Qwen3.5-9B-Q4_K_M
Key gotcha
It is hard to tell VRAM use from the parameter count or quantization in a model's name, so check with nvidia-smi after loading.

What they built

Andreas Kaempf's wife runs a popular events calendar for Baroque music in Bavaria, and the couple use AI to find and post events. He found a local small model is fine for this, because the workflow is broken into narrow tasks.

He runs the models on a separate Linux server and calls them from a laptop or development workstation over the local network, so one GPU box serves every machine in the house.

The working example is a LangChain agent that reads a list of venue websites, follows links, and returns upcoming events as JSON with date, venue and description.

Setup

  • Linux server with 64 GB RAM, a 20-core Intel i7 and an Nvidia RTX 4060 Ti with 16 GB VRAM
  • llama.cpp installed from its official install script (CUDA support included), run as `llama serve`
  • Models pulled straight from Hugging Face with -hf, such as nvidia/NVIDIA-Nemotron-3.5-Bolt-E4B-4GB, or local GGUFs such as Qwen3.5-9B-Q4_K_M
  • LangChain's ChatOpenAI client with base_url pointed at the server (http://gpu:9931/v1) and a placeholder API key

How it works

  1. llama.cpp's serve command exposes an OpenAI-compatible endpoint on port 9931 by default; adding --host 0.0.0.0 makes it reachable from other machines on the network.
  2. A LangChain agent is created with that client plus tools for web search, reading a file and downloading web pages.
  3. The prompt tells Qwen to read the URLs in sites.txt, open each page and any linked pages, and output events on or after today as JSON with yyyy-mm-dd dates.

Results & numbers

  • The NVIDIA Nemotron 3.5 Bolt E4B model runs in about 4430 MB of VRAM, which the author called remarkably slim.
  • The author says small models give adequate and rapidly improving results for narrow tasks while keeping data private.

Gotchas

  • It is hard to tell VRAM use from the parameter count or quantization in a model's name, so check with nvidia-smi after loading.
  • Local tokens are cheaper, but hardware and upkeep cost money too, so running locally is not always a clear saving.
  • Models downloaded with -hf land in ~/.cache/huggingface and are reused rather than downloaded again.
“A local LLM is fine for this purpose, since we define the workflow in terms of narrow tasks.”— Andreas Kaempf

Do it yourself

  1. Install llama.cpp with `curl -LsSf https://llama.app/install.sh | sh` on a machine with a GPU.
  2. Start a model with `llama serve -hf <huggingface-id>` or `llama serve -m model.gguf`, adding `--host 0.0.0.0` to reach it from your network.
  3. Run nvidia-smi to confirm the model fits in VRAM.
  4. In Python, create `ChatOpenAI(base_url="http://<server>:9931/v1", api_key="no-key")` and pass it to a LangChain agent with the tools you need.
  5. Give the agent a narrow, structured job, such as extracting events from a list of sites as JSON.
llama serve --host 0.0.0.0 -m mymodels/Qwen3.5-9B-Q4_K_M.gguf
Source: Andreas Kaempf (FastDataScience.eu) · Published 2026-10-25 · Added 2026-11-04. This write-up summarizes the original source; see it for full details.

Similar setups

A private OpenAI-compatible LLM API on an AMD GPU with llama.cpp

A Vietnamese developer's notes on building llama.cpp for AMD cards, choosing between Vulkan and ROCm, and running llama-server as a locked-down systemd service that existing OpenAI SDK code can call.

DEV Community (EME GUG) · 2026-11-27

Running 80 GB MoE models on two 16 GB GPUs with llama.cpp 1.0

Gancho Stoychev measured five llama.cpp 1.0 settings one at a time on his homelab box with two RTX 5060 Ti 16 GB cards, running Qwen3.8-Flash-Next and DeepSeek V4 Flash, each about 80 GiB.

DEV Community (Gancho Stoychev) · 2026-11-25

A local eve agent on a 4B model that keeps its pending approval through kill -9

@VarunChopr17597 ran Vercel's open-source eve 1.1 agent framework against Qwen3.5-4B on llama.cpp on a CPU-only Linux box, with no Vercel account, and tested whether a tool waiting for human approval survives the server being killed.

X (@VarunChopr17597) · 2026-11-20

Local AI Starter: a one-click Mac wizard that installs llama.cpp, Qwen3, and OpenCode in one folder

Kirill Lukyanov built an MIT-licensed double-click wizard that sizes a Mac’s RAM, downloads a pinned llama.cpp build plus a Qwen model and OpenCode, proves the model answers, then opens a sandboxed coding agent and browser chat.

Kirill Lukyanov (DEV.to / klukyanov.ru) · 2026-11-05