
Security News
Cloudflare Introduces a Faster TypeScript Compiler Written in Rust
Cloudflare introduces tsrs, a Rust port of TypeScript’s compiler promising faster checks and lower memory use, with the TypeScript team’s help.
local-coding-agent
Advanced tools
Harness-agnostic controller delegating atomic coding tasks to local Ollama & llama.cpp models via MCP, Agent Skills, and direct CLI.
Local execution and safety layer for delegating coding tasks from cloud agents to models on your own machine.
Local Coding Agent lets a cloud coding agent delegate a narrow task to a local model without giving that model unrestricted access to your repository. Connect Codex, Claude Code, Cursor, Windsurf, Cline, OpenCode, Antigravity, or another compatible harness through MCP, the reusable Agent Skill, or the local-agent CLI. The cloud agent stays in charge of the larger task; Local Coding Agent supplies the controlled local execution path.
The calling agent sends a focused goal, a workspace, an allowlist of files, and checks. Your local model returns a proposal for review. The local model proposes; the controller verifies. A change is only reported as applied after the declared file scope held, the patch passed static analysis, and a real external test runner confirmed the configured checks. If a post-apply check fails, the change is rolled back and the rollback is itself verified against recorded file digests. The local model does not receive unrestricted shell or write access to your workspace.
Use the Desktop Harness when you want a Windows interface for local chat, model selection, sessions, task status, and change review. Use the CLI for terminals, scripts, CI, or direct integration with a coding harness. Both use the same controller and safety rules.
You keep control of Git and delivery. Local Coding Agent does not create commits, push branches, publish releases, or download a model on its own.
The same gate backs apply_proposal, local-agent apply, and the desktop apply action:
error.kind: patch_outside_scope).error.kind: apply_requires_checks)."rejected" with error.kind: post_apply_check_failed.workspace_modified: true with workspace_state: "unknown" and risk kind rollback_failed — never as a clean restore.Choose the CLI release for terminal workflows, scripts, CI, or integration with another AI coding environment. It provides the local-agent command, MCP server, Agent Skill, diagnostics, sessions, model tools, and task delegation.
Download the CLI wheel or CLI source archive. Windows users can download the Desktop Harness installer and verify the published files with SHA256SUMS.txt.
The v1.1.0 release contains the CLI archives and the Windows Desktop Harness installer. Local inference remains local; install Ollama or run a compatible local model server before requesting live model responses.
Open the Harness, choose a workspace, select a local model, and start working. The desktop application brings the complete local coding workflow into one focused interface:
The screenshots below show the application loading qwen2.5-coder:7b and returning a real response about the selected workspace.
Requirements:
PATH for workspace operations.Install the CLI package:
pipx install local-coding-agent
Or install from a checkout:
git clone https://github.com/pvnc228/local-coding-agent.git
cd local-coding-agent
python -m pip install -e .
Check the installation:
local-agent doctor
local-agent test-run --mock
Add --json where supported when the output will be consumed by another tool.
Local Coding Agent can provide its capabilities to other AI coding environments through MCP or an Agent Skill:
local-agent init-mcp --auto --write
local-agent init-skill --write
Start the MCP server manually when a client needs an explicit command:
local-agent serve-mcp --workspace . --enable-tasks
See docs/MCP_INTEGRATION.md for client configuration examples and skills/local-coding-agent/SKILL.md for the reusable Agent Skill.
The application keeps the workflow understandable: you can see what is being changed, which checks are being run, and whether the local backend is available. Commits, tags, pushes, and publishing remain under your control.
| Command | Purpose |
|---|---|
local-agent delegate | Give a focused coding task to a local model. |
local-agent decompose | Break a larger request into smaller coding tasks. |
local-agent apply | Apply a reviewed change and run its checks. |
local-agent chat | Run a prompt or a persistent chat session. |
local-agent sessions | List or inspect saved sessions. |
local-agent profiles | Inspect configured model profiles. |
local-agent memory | Inspect model memory and VRAM settings. |
local-agent calibrate | Calculate safe worker bounds for a VRAM budget. |
local-agent benchmark | Run the local coding benchmark. |
local-agent doctor | Diagnose Python, Git, Ollama, RAM, VRAM, and models. |
local-agent monitor | Serve the local metrics dashboard. |
local-agent test-run --mock | Run deterministic local workflow checks. |
Examples:
local-agent chat "Explain what context_manager.py does"
local-agent chat --repl --session-id refactor-session
local-agent delegate --task task.json --model qwen2.5-coder:7b --json
local-agent apply --patch-file patch.diff --workspace . --file src/foo.py --check "pytest tests/"
local-agent monitor --port 8765
Open http://127.0.0.1:8765/dashboard to view queue load, latency, tokens per second, and change records.
The CLI also exposes preview surfaces that are not part of the stable contract and may change without notice: ui/app, lsp, serve-acp, skeletonize, lint-patch, scan-models, spill-read, and grep. The stable, tested set is the table above plus desktop, chat, serve-mcp, init-mcp, and init-skill.
The published numbers come from a 20-task suite, so treat them as directional rather than settled:
qwen3.8-27b-q4 scored 100.0% correctness with a 95% Wilson interval of [83.9%, 100.0%], and qwen3-8b-q6k scored 90.0% [69.9%, 97.2%]. The wide intervals are the small sample size, not a rounding artifact.local-agent benchmark before relying on any figure.See docs/BENCHMARK.md for the methodology and the full table.
Model profiles describe the provider, model, context window, generation limits, and keep-alive behavior. The Harness can discover installed Ollama models and local GGUF files, while the CLI exposes the same information for scripts and integrations.
local-agent profiles list --json
local-agent memory status --json
Local Coding Agent is distributed under the MIT License.
FAQs
Harness-agnostic controller delegating atomic coding tasks to local Ollama & llama.cpp models via MCP, Agent Skills, and direct CLI.
We found that local-coding-agent demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare introduces tsrs, a Rust port of TypeScript’s compiler promising faster checks and lower memory use, with the TypeScript team’s help.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.