2026 · Local AI · In progress

frobou-local-ai

A coding LLM running on my own GPU, in a container, served to a terminal agent, to depend less on paid models.

Role
Design and development
Period
Sep 2026 — present
Stack
llama.cpp · LLM · Podman · Python
Team
Solo, with AI agents

The problem

Commercial models are expensive for anyone who uses coding agents all day. The alternative is running an open model on your own machine, but getting video memory, context and stability right takes work and breaks easily.

What it does

  • Runs llama.cpp in a container with GPU access, as a user service listening only on the local machine.
  • Calibrates on its own how much of the model stays in RAM to fit the measured video memory budget.
  • Switches models through profiles: a switch only sticks if the smoke test passes; if it fails, everything goes back as it was.
  • Remote profiles, for Anthropic and OpenAI, for when the local model is not enough, without storing the API key.
  • Sets up OpenCode with locked-down permissions: editing files and running commands always ask for approval.
  • Audits each session to prove the answers came from the expected model.

How it is built

Python scripts, using only the standard library and covered by tests, on rootless Podman, Quadlet and systemd. The model is Qwen3-Coder-30B-A3B quantized to Q4, on a 12 GB RTX 4070 with 64 GB of RAM.

53 t/s

generation speed with an empty context, on a 12 GB RTX 4070

64k

context tokens

Next project frobou-accounts