
Local Coding Agent
io.github.pvnc228由 GitHub 帳號 pvnc228 發布v1.2.0更新於 Nov 3, 2026
Delegate small coding tasks to local Ollama/llama.cpp models; patches gated by real test runs.
概覽
Local Coding Agent 的本機 MCP 服務;無需登入;STDIO。
暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Local Coding Agent,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Local Coding Agent
Local execution and safety layer for delegating coding tasks from cloud agents to models on your own machine.
[CI] [Version] [Python] [License]
What is Local Coding Agent?
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.
What the gate refuses
The same gate backs apply_proposal, local-agent apply, and the desktop apply action:
- A patch that touches a file outside the declared scope is rejected before the workspace is touched (
error.kind: patch_outside_scope). - An apply with no targeted check is refused — no external evidence, no apply (
error.kind: apply_requires_checks). - A patch that fails the post-apply checks is rolled back; the result is
"rejected"witherror.kind: post_apply_check_failed. - A rollback that cannot be confirmed against the recorded baseline is reported as
workspace_modified: truewithworkspace_state: "unknown"and risk kindrollback_failed— never as a clean restore.
Choose your download
Current public release: v1.2.0
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.2.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.
Desktop Harness
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:
- Interactive Chat for questions, explanations, and everyday coding work.
- Chat, Build, Plan, and Auto modes for different kinds of requests.
- Delegated Tasks for handing a focused coding change to a local model.
- Workspace sessions so you can return to previous conversations and tasks.
- Model discovery, model profiles, context settings, hardware telemetry, and diagnostics.
- Clear status messages when the local backend is ready, unavailable, or needs attention.
- Reviewable code changes and checks before changes are applied.
The 30-second tour below follows one delegated change: the local model proposes, the controller checks scope, a real test runner decides, and a failed check rolls the change back. Click it for the video with sound.
CLI installation
Requirements:
- Python 3.10 or newer.
- Git on
PATHfor workspace operations. - Ollama or an OpenAI-compatible local model server for live inference.
Install the CLI package:
Or install from a checkout:
Check the installation:
Add --json where supported when the output will be consumed by another tool.
Connect another AI coding agent
Local Coding Agent can provide its capabilities to other AI coding environments through MCP or an Agent Skill:
Start the MCP server manually when a client needs an explicit command:
See local_coding_agent/docs/MCP_INTEGRATION.md for client configuration examples and skills/local-coding-agent/SKILL.md for the reusable Agent Skill.
A typical coding request
- Choose a workspace and a local model.
- Ask a question or describe the change you want.
- Inspect the suggested code change in the application.
- Run the relevant checks and apply the change when it looks right.
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.
CLI commands
Examples:
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.
Field results & limitations
The published numbers come from a 20-task suite, so treat them as directional rather than settled:
- On that suite,
qwen3.8-27b-q4scored 100.0% correctness with a 95% Wilson interval of [83.9%, 100.0%], andqwen3-8b-q6kscored 90.0% [69.9%, 97.2%]. The wide intervals are the small sample size, not a rounding artifact. - Small models handle single-file work in this harness; cross-file coordination (Tier 3 in the capability ladder) needs the host agent to decompose the task into atomic envelopes first.
- Results are model and hardware specific. Reproduce them with
local-agent benchmarkbefore relying on any figure.
See local_coding_agent/docs/BENCHMARK.md for the methodology and the full table.
Local models
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.
Documentation
- Quickstart
- FAQ
- MCP integration
- Security policy
- Changelog
- Architecture reference
- Protocol reference
- Benchmark methodology
- Roadmap
- Runtime setup tips: context, KV cache, thinking and CPU limits
The same pages open inside the Desktop Harness under Help, and local-agent help-docs prints them in a terminal.
License
Local Coding Agent is distributed under the MIT License.
來源:README.md,提交 46690e3
工具
0版本歷史
2- v1.2.0最新Nov 3, 2026
- v1.1.1Oct 21, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分