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.
Local model hosting · vision sidecar · sandboxed agents
The primary control hub for local LLMs and multimodal vision sidecars, debloating complex runtimes and routing seamlessly between laptops and dedicated RTX inference servers.
go install ubunatic.com/lmcoder/cmd/lmcoder@latestWhy lmcoder
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
Routes agent requests transparently between local laptop inference and an upstream RTX server (such as x600), injecting sampling profiles (fast, default, deep) dynamically.
Deploys, cross-compiles, and updates itself seamlessly across machines using goself, eliminating remote toolchain dependencies.
Runs Florence-2 and vision embedding sidecars with idle timeouts, candidate preview streaming, and degenerate bounding-box filtering.
Executes coding agents inside rootless Podman containers with single-writable workspace mounts and automated zombie reaping.
Manages llama-server instances with automated Multi-Token Prediction draft acceleration and strict VRAM/RAM threshold guards.
CLI Workflow
# 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