Local model hosting · vision sidecar · sandboxed agents

lmcoder — Local model and coding agent hosting

The primary control hub for local LLMs and multimodal vision sidecars, debloating complex runtimes and routing seamlessly between laptops and dedicated RTX inference servers.

Install
go install ubunatic.com/lmcoder/cmd/lmcoder@latest

View source

Related skills

Browse 46 registered skills

Why lmcoder

Model hosting tuned to developer hardware

Running coding agents against a local LLM sounds simple until the agent needs shell access, the model blows past GPU memory budgets on shared hardware, or a dependency bump silently breaks streaming. Most setups settle for pointing an agent at an unmonitored endpoint with zero sandboxing.

lmcoder turns personal setup customizations into robust software features: debloating the runtime stack, managing memory limits, accelerating inference with MTP draft heads, and isolating agent execution in rootless sandboxes.

Architecture & Capabilities

Built for dedicated GPUs, laptops & remote servers

Seamless Proxy Routing

Routes agent requests transparently between local laptop inference and an upstream RTX server (such as x600), injecting sampling profiles (fast, default, deep) dynamically.

Self-Installing via goself

Deploys, cross-compiles, and updates itself seamlessly across machines using goself, eliminating remote toolchain dependencies.

Multimodal & Vision Sidecar

Runs Florence-2 and vision embedding sidecars with idle timeouts, candidate preview streaming, and degenerate bounding-box filtering.

Hardened Podman Sandboxes

Executes coding agents inside rootless Podman containers with single-writable workspace mounts and automated zombie reaping.

MTP & Memory Budgets

Manages llama-server instances with automated Multi-Token Prediction draft acceleration and strict VRAM/RAM threshold guards.

CLI Workflow

Unified model management

# Serve a model with memory overload guards and MTP acceleration
$ lmcoder serve Qwen3.8-27B-UD-Q4_K_M.gguf

# Route client traffic upstream to an RTX host with dynamic profile injection
$ lmcoder proxy --backend-host <rtx-host> --profile fast

# Run sandboxed agent canary against an isolated workspace
$ go run ./scripts/agent-canaries --agent pi --task coding-hello