cecedabro

Local AI Agent — AI skill for Claude Code

AI community

Local LLM coding agent: llama.cpp on the PC, devbox + harness on the k3s homelab.

How to install Local AI Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open cecedabro/local-ai-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Local AI Agent does

Local LLM coding agent: llama.cpp on the PC, devbox + harness on the k3s homelab.

Alternatives in AI

  • Repomix — 📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file 22.7k ★
  • Inference Serving — ai-research-skills vLLM, SGLang, TensorRT-LLM, llama.cpp 5.4k ★
  • Loushang — AI-native agent harness for coding workflows by python: multi-model LLM orchestration, stateful sessions, tool 1.3k ★

README

local-ai-agent

Infrastructure and harness for running a local LLM as an autonomous coding agent: the model runs on a Windows PC (WSL2 + llama.cpp), the agent runs in an always-on devbox pod on the k3s homelab, wakes the PC over Wake-on-LAN when there is work, and lets it sleep again afterwards.

**Status (2026-11-01): running.** The model serves at ~43 tok/s (generation) and ~790 tok/s (prompt reading), the devbox runs the loop, and the loop has already built a real project (the weather station website: 13 of 15 tasks passed unattended in 4.9 h). Open items are at the end of this file.

How all the parts tie together (and where to look when something breaks): [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md). Every design round of the status page and the chat: [docs/design/](docs/design/README.md).

Full plan with rationale and sources: [docs/PLAN.md](docs/PLAN.md) and the [plan doc](https://claude.ai/artifact/VtJfAgPfNyxZrbmQnLrLMp).

![Architecture: the devbox pod on k3s sends prompts to llama-server on the PC, controls power over SSH and wakes the PC through the waker pod](docs/architecture.svg)

A 20-slide explainer of the setup and the theory behind it (MoE, bandwidth, quantisation, KV cache, the loop) is in [docs/local-ai-setup-talk.html](docs/local-ai-setup-talk.html): download it and open it in a browser (arrow keys to move, F for fullscreen, P to print to PDF).

Layout

Path What Runs on
pc/wsl/ .wslconfig, wsl.conf PC
pc/llama/ build, bench, systemd unit, server flags PC (WSL)
pc/power/ keep-awake, pause/resume, SSH forced command, setup PC (Windows + WSL)
devbox/ Container image for the agent pod (toolchains, QA tools, Chromium, fetch-docs) k3s
mac/ ai pause|resume|status: control the model from the Mac over ssh pc Mac
(homelab repo) apps/ai-agent/ Cluster side: namespaces, devbox StatefulSet, waker, NetworkPolicy, ExternalSecrets k3s (via Flux)
`harness