GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Delegate small coding tasks to local Ollama/llama.cpp models; patches gated by real test runs.
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月13日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude 安装 MCP server Local Coding Agent,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "local-coding-agent": { "command": "uvx", "args": [ "local-coding-agent", "serve-mcp", "--workspace", "your-value" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Local Coding Agent 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
SettingsDeveloperEdit Config
{
"mcpServers": {
"local-coding-agent": {
"command": "uvx",
"args": [
"local-coding-agent",
"serve-mcp",
"--workspace",
"your-value"
]
}
}
}用 Local Coding Agent 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Local Coding Agent,或回答中出现 Local Coding Agent 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Local Coding Agent
Local Coding Agent 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 Local Coding Agent 的应用
B · 开发者工具 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude Code 安装 MCP server Local Coding Agent,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user local-coding-agent -- uvx local-coding-agent serve-mcp --workspace your-value 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Local Coding Agent 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user local-coding-agent -- uvx local-coding-agent serve-mcp --workspace your-value应能看到 Local Coding Agent 在列表中并显示已连接
用 Local Coding Agent 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Local Coding Agent,或回答中出现 Local Coding Agent 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次) · 没有一键按钮,需要粘贴设置并自行填写
把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Cursor 安装 MCP server Local Coding Agent,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "local-coding-agent": { "command": "uvx", "args": [ "local-coding-agent", "serve-mcp", "--workspace", "your-value" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Local Coding Agent 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
~/.cursor/mcp.json
粘贴这些设置,填写空着的值并保存
{
"mcpServers": {
"local-coding-agent": {
"command": "uvx",
"args": [
"local-coding-agent",
"serve-mcp",
"--workspace",
"your-value"
]
}
}
}用 Local Coding Agent 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Local Coding Agent,或回答中出现 Local Coding Agent 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次) · 没有一键按钮,需要粘贴设置并自行填写
把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 VS Code 安装 MCP server Local Coding Agent,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "local-coding-agent": { "type": "stdio", "command": "uvx", "args": [ "local-coding-agent", "serve-mcp", "--workspace", "your-value" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Local Coding Agent 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
MCP: Open User Configuration
粘贴这些设置,填写空着的值并保存
{
"servers": {
"local-coding-agent": {
"type": "stdio",
"command": "uvx",
"args": [
"local-coding-agent",
"serve-mcp",
"--workspace",
"your-value"
]
}
}
}用 Local Coding Agent 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Local Coding Agent,或回答中出现 Local Coding Agent 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user local-coding-agent -- uvx local-coding-agent serve-mcp --workspace your-valueClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"local-coding-agent": {
"command": "uvx",
"args": [
"local-coding-agent",
"serve-mcp",
"--workspace",
"your-value"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"local-coding-agent": {
"command": "uvx",
"args": [
"local-coding-agent",
"serve-mcp",
"--workspace",
"your-value"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"local-coding-agent": {
"type": "stdio",
"command": "uvx",
"args": [
"local-coding-agent",
"serve-mcp",
"--workspace",
"your-value"
]
}
}
}这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月16日
注册名称已通过 GitHub 账户 pvnc228 验证,该账户拥有此仓库
代码最后更新于13天前
使用 MIT
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
OSV.dev 中没有 local-coding-agent@1.2.0 的记录
只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于13天前,最新版本(1.2.0)于13天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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.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.
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 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.
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 local_coding_agent/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 local_coding_agent/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
The same pages open inside the Desktop Harness under Help, and local-agent help-docs prints them in a terminal.
Local Coding Agent is distributed under the MIT License.